Repository: incubator-tamaya Updated Branches: refs/heads/master 110b5566b -> 375d3b8c1
[TAMAYA-267] Don't generate source and default jar for the distribution module of the core. Project: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/commit/375d3b8c Tree: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/tree/375d3b8c Diff: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/diff/375d3b8c Branch: refs/heads/master Commit: 375d3b8c1dcb76459a372ca406417fa5b7c74481 Parents: 110b556 Author: Oliver B. Fischer <[email protected]> Authored: Tue May 9 22:00:16 2017 +0200 Committer: Oliver B. Fischer <[email protected]> Committed: Tue May 9 22:00:16 2017 +0200 ---------------------------------------------------------------------- distribution/pom.xml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/375d3b8c/distribution/pom.xml ---------------------------------------------------------------------- diff --git a/distribution/pom.xml b/distribution/pom.xml index cec1b2f..fac195a 100644 --- a/distribution/pom.xml +++ b/distribution/pom.xml @@ -30,6 +30,16 @@ under the License. <name>Apache Tamaya Distribution</name> <inceptionYear>2015</inceptionYear> + <properties> + <!-- + ! Do not generate a jar archive for sources as + ! we don't have an sources here. And we don't want + ! to upload an useless jar archive. + ! Oliver B. Fischer, 2017-05-09 + !--> + <maven.source.skip>true</maven.source.skip> + </properties> + <dependencies> <!-- The documentation of Tamaya --> @@ -118,6 +128,29 @@ under the License. <plugin> <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <executions> + <execution> + <id>default-jar</id> + <!-- + ! We also disable the generation of the default jar + ! as it will be empty. We do not have any distributable + ! sources in this module. + ! Oliver B. Fischer, 2017-05-01 + !--> + <phase>none</phase> + <configuration> + <skipIfEmpty>true</skipIfEmpty> + <archive> + <addMavenDescriptor>false</addMavenDescriptor> + </archive> + </configuration> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <executions> <execution>
