convert to maven build
This commit is contained in:
parent
fa4a392b8d
commit
f7ecda2251
@ -1,42 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<classpath>
|
|
||||||
<classpathentry kind="src" path="src"/>
|
|
||||||
<classpathentry kind="src" path="test"/>
|
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
|
|
||||||
<attributes>
|
|
||||||
<attribute name="module" value="true"/>
|
|
||||||
</attributes>
|
|
||||||
</classpathentry>
|
|
||||||
<classpathentry kind="lib" path="lib/activemq-core-5.4.2.jar"/>
|
|
||||||
<classpathentry kind="lib" path="lib/commons-codec-1.3.jar"/>
|
|
||||||
<classpathentry kind="lib" path="lib/commons-dbcp-1.4.jar"/>
|
|
||||||
<classpathentry kind="lib" path="lib/commons-httpclient-3.1.jar"/>
|
|
||||||
<classpathentry kind="lib" path="lib/commons-net2-2.0.jar"/>
|
|
||||||
<classpathentry kind="lib" path="lib/geronimo-j2ee-management_1.1_spec-1.0.1.jar"/>
|
|
||||||
<classpathentry kind="lib" path="lib/geronimo-jms_1.1_spec-1.1.1.jar"/>
|
|
||||||
<classpathentry kind="lib" path="lib/geronimo-jpa_2.0_spec-1.1.jar"/>
|
|
||||||
<classpathentry kind="lib" path="lib/geronimo-jta_1.1_spec-1.1.1.jar"/>
|
|
||||||
<classpathentry kind="lib" path="lib/geronimo-validation_1.0_spec-1.1.jar"/>
|
|
||||||
<classpathentry kind="lib" path="lib/mail.jar"/>
|
|
||||||
<classpathentry kind="lib" path="lib/org.apache.bval.bundle-0.2-incubating.jar"/>
|
|
||||||
<classpathentry kind="lib" path="lib/servlet-api-2.4.jar"/>
|
|
||||||
<classpathentry kind="lib" path="lib/ws-commons-util-1.0.2.jar"/>
|
|
||||||
<classpathentry kind="lib" path="lib/xmlrpc-client-3.1.3.jar"/>
|
|
||||||
<classpathentry kind="lib" path="lib/xmlrpc-common-3.1.3.jar"/>
|
|
||||||
<classpathentry kind="lib" path="lib/xmlrpc-server-3.1.3.jar"/>
|
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
|
|
||||||
<classpathentry kind="lib" path="lib/velocity-1.7.jar"/>
|
|
||||||
<classpathentry kind="lib" path="lib/commons-logging-api-1.1.1.jar"/>
|
|
||||||
<classpathentry kind="lib" path="lib/commons-beanutils-1.9.2.jar"/>
|
|
||||||
<classpathentry kind="lib" path="lib/commons-collections-3.2.2.jar"/>
|
|
||||||
<classpathentry kind="lib" path="lib/commons-lang-2.6.jar"/>
|
|
||||||
<classpathentry kind="lib" path="lib/commons-lang3-3.9.jar"/>
|
|
||||||
<classpathentry kind="lib" path="lib/commons-logging-1.2.jar"/>
|
|
||||||
<classpathentry kind="lib" path="lib/commons-pool-1.6.jar"/>
|
|
||||||
<classpathentry kind="lib" path="lib/openjpa-2.4.3.jar"/>
|
|
||||||
<classpathentry kind="lib" path="lib/org.apache.bval.bundle-0.5.jar"/>
|
|
||||||
<classpathentry kind="lib" path="lib/serp-1.15.1.jar"/>
|
|
||||||
<classpathentry kind="lib" path="lib/xbean-asm6-shaded-4.8.jar"/>
|
|
||||||
<classpathentry kind="lib" path="lib/hsadmin-util-4.0.5.jar"/>
|
|
||||||
<classpathentry kind="output" path="bin"/>
|
|
||||||
</classpath>
|
|
5
hsarback/.gitignore
vendored
5
hsarback/.gitignore
vendored
@ -1,3 +1,6 @@
|
|||||||
/build
|
/build
|
||||||
/bin
|
/bin
|
||||||
/.settings
|
/.classpath
|
||||||
|
/.project
|
||||||
|
/.settings/
|
||||||
|
/target/
|
||||||
|
@ -1,17 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<projectDescription>
|
|
||||||
<name>hsarback</name>
|
|
||||||
<comment></comment>
|
|
||||||
<projects>
|
|
||||||
</projects>
|
|
||||||
<buildSpec>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
</buildSpec>
|
|
||||||
<natures>
|
|
||||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
|
||||||
</natures>
|
|
||||||
</projectDescription>
|
|
@ -1,2 +0,0 @@
|
|||||||
eclipse.preferences.version=1
|
|
||||||
encoding//doc/overview-for-translatewiki-net=UTF-8
|
|
@ -1,32 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
|
|
||||||
<persistence-unit name="hsadmin" transaction-type="RESOURCE_LOCAL">
|
|
||||||
<provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>
|
|
||||||
<non-jta-data-source>java:/comp/env/jdbc/HSAdminDB</non-jta-data-source>
|
|
||||||
<class>de.hsadmin.core.qserv.QueueTask</class>
|
|
||||||
<class>de.hsadmin.mods.cust.Customer</class>
|
|
||||||
<class>de.hsadmin.mods.cust.Contact</class>
|
|
||||||
<class>de.hsadmin.mods.pac.Pac</class>
|
|
||||||
<class>de.hsadmin.mods.pac.BasePac</class>
|
|
||||||
<class>de.hsadmin.mods.pac.BaseComponent</class>
|
|
||||||
<class>de.hsadmin.mods.pac.Component</class>
|
|
||||||
<class>de.hsadmin.mods.pac.PacComponent</class>
|
|
||||||
<class>de.hsadmin.mods.pac.Hive</class>
|
|
||||||
<class>de.hsadmin.mods.pac.INetAddress</class>
|
|
||||||
<class>de.hsadmin.mods.user.UnixUser</class>
|
|
||||||
<class>de.hsadmin.mods.dom.Domain</class>
|
|
||||||
<class>de.hsadmin.mods.dom.DomainOption</class>
|
|
||||||
<class>de.hsadmin.mods.email.EMailAddress</class>
|
|
||||||
<class>de.hsadmin.mods.email.EMailAlias</class>
|
|
||||||
<class>de.hsadmin.mods.db.DatabaseUser</class>
|
|
||||||
<class>de.hsadmin.mods.db.MySqlUser</class>
|
|
||||||
<class>de.hsadmin.mods.db.PgSqlUser</class>
|
|
||||||
<class>de.hsadmin.mods.db.Database</class>
|
|
||||||
<class>de.hsadmin.mods.db.MySqlDatabase</class>
|
|
||||||
<class>de.hsadmin.mods.db.PgSqlDatabase</class>
|
|
||||||
<properties>
|
|
||||||
<property name="openjpa.ConnectionDriverName" value="org.postgresql.Driver"/>
|
|
||||||
<property name="openjpa.Compatibility" value="QuotedNumbersInQueries=true"/>
|
|
||||||
</properties>
|
|
||||||
</persistence-unit>
|
|
||||||
</persistence>
|
|
118
hsarback/pom.xml
Normal file
118
hsarback/pom.xml
Normal file
@ -0,0 +1,118 @@
|
|||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<groupId>de.hsadmin</groupId>
|
||||||
|
<artifactId>hsar</artifactId>
|
||||||
|
<packaging>war</packaging>
|
||||||
|
<version>4.0.6</version>
|
||||||
|
<name>HSAdmin Stable Backend Webapp</name>
|
||||||
|
<url>http://maven.apache.org</url>
|
||||||
|
<properties>
|
||||||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
|
<maven.compiler.source>11</maven.compiler.source>
|
||||||
|
<maven.compiler.target>11</maven.compiler.target>
|
||||||
|
</properties>
|
||||||
|
<profiles>
|
||||||
|
<profile>
|
||||||
|
<id>local</id>
|
||||||
|
<activation>
|
||||||
|
<activeByDefault>true</activeByDefault>
|
||||||
|
</activation>
|
||||||
|
<build>
|
||||||
|
<resources>
|
||||||
|
<resource>
|
||||||
|
<directory>src/main/resources</directory>
|
||||||
|
</resource>
|
||||||
|
<resource>
|
||||||
|
<directory>src/main/local-resources</directory>
|
||||||
|
</resource>
|
||||||
|
</resources>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>de.hsadmin.core</groupId>
|
||||||
|
<artifactId>hsadmin-util</artifactId>
|
||||||
|
<version>4.0.6</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>commons-httpclient</groupId>
|
||||||
|
<artifactId>commons-httpclient</artifactId>
|
||||||
|
<version>3.1</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>commons-lang</groupId>
|
||||||
|
<artifactId>commons-lang</artifactId>
|
||||||
|
<version>2.6</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.xmlrpc</groupId>
|
||||||
|
<artifactId>xmlrpc-server</artifactId>
|
||||||
|
<version>3.1.3</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.xmlrpc</groupId>
|
||||||
|
<artifactId>xmlrpc-client</artifactId>
|
||||||
|
<version>3.1.3</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.velocity</groupId>
|
||||||
|
<artifactId>velocity-engine-core</artifactId>
|
||||||
|
<version>2.3</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.activemq</groupId>
|
||||||
|
<artifactId>activemq-core</artifactId>
|
||||||
|
<version>5.7.0</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.openjpa</groupId>
|
||||||
|
<artifactId>openjpa</artifactId>
|
||||||
|
<version>3.2.2</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>junit</groupId>
|
||||||
|
<artifactId>junit</artifactId>
|
||||||
|
<version>4.13.2</version>
|
||||||
|
<scope>test</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>javax.servlet</groupId>
|
||||||
|
<artifactId>javax.servlet-api</artifactId>
|
||||||
|
<version>4.0.1</version>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
<build>
|
||||||
|
<finalName>hsar</finalName>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-war-plugin</artifactId>
|
||||||
|
<version>3.4.0</version>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.openjpa</groupId>
|
||||||
|
<artifactId>openjpa-maven-plugin</artifactId>
|
||||||
|
<version>3.2.2</version>
|
||||||
|
<configuration>
|
||||||
|
<includes>**/QueueTask.class,**/Domain.class,**/DomainOption.class,**/EMailAddress.class,**/EMailAlias.class,**/Customer.class,**/Contact.class,**/UnixUser.class,**/Pac.class,**/BasePac.class,**/BaseComponent.class,**/PacComponent.class,**/Component.class,**/Hive.class,**/INetAddress.class,**/Database.class,**/DatabaseUser.class,**/PgSqlDatabase.class,**/MySqlDatabase.class,**/PgSqlUser.class,**/MySqlUser.class</includes>
|
||||||
|
<addDefaultConstructor>true</addDefaultConstructor>
|
||||||
|
<enforcePropertyRestrictions>true</enforcePropertyRestrictions>
|
||||||
|
</configuration>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>enhancer</id>
|
||||||
|
<phase>process-classes</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>enhance</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</project>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user