summaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2020-12-28 16:59:25 +0100
committerThomas Lenz <thomas.lenz@egiz.gv.at>2020-12-28 16:59:25 +0100
commit930c0e26fc1fe8bb9b457571d7df92904d1e7616 (patch)
tree8d5e3c2374ade24ba0ed7e8806b0703e2267d2eb /pom.xml
parent1aafdf3bbae55b09e6d28e97281797ba9e53aad0 (diff)
downloadEAAF-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.xml44
1 files changed, 44 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 88b17165..9799c843 100644
--- a/pom.xml
+++ b/pom.xml
@@ -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>