summaryrefslogtreecommitdiffstats
path: root/daemon/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/pom.xml')
-rw-r--r--daemon/pom.xml78
1 files changed, 66 insertions, 12 deletions
diff --git a/daemon/pom.xml b/daemon/pom.xml
index 0d75e1a..62ae204 100644
--- a/daemon/pom.xml
+++ b/daemon/pom.xml
@@ -6,24 +6,51 @@
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>taskmanager-daemon</name>
- <url>http://maven.apache.org</url>
-
+ <url>https://git.openslx.org/openslx-ng/taskman-lite.git</url>
+ <scm>
+ <connection>scm:git:git://git.openslx.org/openslx-ng/taskman-lite.git</connection>
+ </scm>
<properties>
+ <main.class>org.openslx.taskmanager.App</main.class>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<plugins>
<plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>buildnumber-maven-plugin</artifactId>
+ <version>3.0.0</version>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>create</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <doCheck>false</doCheck>
+ <doUpdate>false</doUpdate>
+ <timezone>UTC</timezone>
+ <timestampPropertyName>build.time</timestampPropertyName>
+ <scmBranchPropertyName>revision.branch</scmBranchPropertyName>
+ <buildNumberPropertyName>revision.version</buildNumberPropertyName>
+ </configuration>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>3.6.1</version>
+ <version>3.8.1</version>
<configuration>
- <source>1.7</source>
- <target>1.7</target>
+ <source>1.8</source>
+ <target>1.8</target>
+ <release>8</release>
+ <compilerArgument>-Xlint:all</compilerArgument>
</configuration>
</plugin>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
@@ -36,8 +63,15 @@
<configuration>
<archive>
<manifest>
- <mainClass>org.openslx.taskmanager.App</mainClass>
+ <mainClass>${main.class}</mainClass>
+ <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+ <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
+ <manifestEntries>
+ <Build-Timestamp>${build.time}</Build-Timestamp>
+ <Revision-Branch>${revision.branch}</Revision-Branch>
+ <Revision-Version>${revision.version}</Revision-Version>
+ </manifestEntries>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
@@ -45,21 +79,41 @@
</configuration>
</plugin>
</plugins>
+ <resources>
+ <resource>
+ <directory>src/main/properties</directory>
+ <includes>
+ <include>*.properties</include>
+ </includes>
+ </resource>
+ </resources>
</build>
<dependencies>
<dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
- <dependency>
<groupId>org.openslx.taskmanager</groupId>
<artifactId>taskmanager-api</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
+ <dependency>
+ <groupId>org.openslx.bwlp</groupId>
+ <artifactId>master-sync-shared</artifactId>
+ <version>1.1-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-api</artifactId>
+ <version>[2.17,2.9999]</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-core</artifactId>
+ <version>[2.17,2.9999]</version>
+ <scope>compile</scope>
+ </dependency>
</dependencies>