Repository: incubator-tamaya-extensions Updated Branches: refs/heads/issues/tamaya-265 99e42e55e -> 8f5ee61ca
[TAMAYA-266] Don't generate source and default jar for the distribution module. Project: http://git-wip-us.apache.org/repos/asf/incubator-tamaya-extensions/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-tamaya-extensions/commit/066c1d3a Tree: http://git-wip-us.apache.org/repos/asf/incubator-tamaya-extensions/tree/066c1d3a Diff: http://git-wip-us.apache.org/repos/asf/incubator-tamaya-extensions/diff/066c1d3a Branch: refs/heads/issues/tamaya-265 Commit: 066c1d3ae4a9865dd73e25422d1888573877402d Parents: 99e42e5 Author: Oliver B. Fischer <ple...@apache.org> Authored: Mon May 1 20:09:17 2017 +0200 Committer: Oliver B. Fischer <ple...@apache.org> Committed: Mon May 1 20:09:17 2017 +0200 ---------------------------------------------------------------------- distribution/pom.xml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-tamaya-extensions/blob/066c1d3a/distribution/pom.xml ---------------------------------------------------------------------- diff --git a/distribution/pom.xml b/distribution/pom.xml index 6212a62..d5d1d34 100644 --- a/distribution/pom.xml +++ b/distribution/pom.xml @@ -33,6 +33,16 @@ under the License. <name>Apache Tamaya Extension 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-01 + !--> + <maven.source.skip>true</maven.source.skip> + </properties> + <dependencies> <!-- The documentation of Tamaya --> @@ -590,6 +600,28 @@ under the License. <plugins> <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-dependency-plugin</artifactId> <executions> <execution>