diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2020-12-28 16:59:25 +0100 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2020-12-28 16:59:25 +0100 |
commit | 930c0e26fc1fe8bb9b457571d7df92904d1e7616 (patch) | |
tree | 8d5e3c2374ade24ba0ed7e8806b0703e2267d2eb /pom.xml | |
parent | 1aafdf3bbae55b09e6d28e97281797ba9e53aad0 (diff) | |
download | EAAF-Components-930c0e26fc1fe8bb9b457571d7df92904d1e7616.tar.gz EAAF-Components-930c0e26fc1fe8bb9b457571d7df92904d1e7616.tar.bz2 EAAF-Components-930c0e26fc1fe8bb9b457571d7df92904d1e7616.zip |
optimize maven build process to build source-jar files
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 44 |
1 files changed, 44 insertions, 0 deletions
@@ -649,6 +649,50 @@ </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.7.0</version> + <configuration> + <source>1.8</source> + <target>1.8</target> + </configuration> + <executions> + <execution> + <goals> + <goal>compile</goal> + <goal>testCompile</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <goals> + <goal>test-jar</goal> + </goals> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <version>3.2.1</version> + <executions> + <execution> + <id>attach-sources</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + + <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>${surefire.version}</version> <configuration> |