downstream parent pom: include test-jar
Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/b3ac1f82 Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/b3ac1f82 Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/b3ac1f82 Branch: refs/heads/master Commit: b3ac1f82721786223c02441bb4dcb6d9e3dfcbf0 Parents: 51560b9 Author: Aled Sage <[email protected]> Authored: Mon Mar 16 15:45:31 2015 +0000 Committer: Aled Sage <[email protected]> Committed: Thu Mar 26 10:09:41 2015 +0000 ---------------------------------------------------------------------- usage/downstream-parent/pom.xml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/b3ac1f82/usage/downstream-parent/pom.xml ---------------------------------------------------------------------- diff --git a/usage/downstream-parent/pom.xml b/usage/downstream-parent/pom.xml index fcc1bcf..b499cd8 100644 --- a/usage/downstream-parent/pom.xml +++ b/usage/downstream-parent/pom.xml @@ -378,6 +378,34 @@ </build> <profiles> + + <profile> + <id>Tests</id> + <activation> + <file> <exists>${basedir}/src/test</exists> </file> + </activation> + <build> + <plugins> + <plugin> + <artifactId>maven-jar-plugin</artifactId> + <inherited>true</inherited> + <executions> + <execution> + <id>test-jar-creation</id> + <goals> + <goal>test-jar</goal> + </goals> + <configuration> + <forceCreation>true</forceCreation> + <archive combine.self="override" /> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + <!-- run Integration tests with -PIntegration --> <profile> <id>Integration</id>
