Author: tchemit Date: 2012-11-11 11:21:23 +0100 (Sun, 11 Nov 2012) New Revision: 885 Url: http://nuiton.org/repositories/revision/maven-helper-plugin/885 Log: fixes #2407: Split project in multi-module (re-add its profile) Modified: trunk/helper-maven-plugin/pom.xml Modified: trunk/helper-maven-plugin/pom.xml =================================================================== --- trunk/helper-maven-plugin/pom.xml 2012-11-11 10:02:41 UTC (rev 884) +++ trunk/helper-maven-plugin/pom.xml 2012-11-11 10:21:23 UTC (rev 885) @@ -127,7 +127,6 @@ <!-- tests dependencies --> - <dependency> <groupId>${project.groupId}</groupId> <artifactId>helper-maven-plugin-api</artifactId> @@ -156,18 +155,6 @@ <build> - <testResources> - <testResource> - <directory>${maven.src.dir}/test/resources</directory> - <includes> - <include>**/*</include> - </includes> - <excludes> - <exclude>**/*~</exclude> - </excludes> - </testResource> - </testResources> - <plugins> <plugin> @@ -190,6 +177,52 @@ </build> <profiles> + + <!-- run the IT at release time --> + <profile> + <id>run-its</id> + <activation> + <property> + <name>performRelease</name> + <value>true</value> + </property> + </activation> + <build> + <defaultGoal>integration-test</defaultGoal> + <plugins> + <plugin> + <artifactId>maven-invoker-plugin</artifactId> + <configuration> + <pomIncludes> + <!--<pomInclude>**/pom.xml</pomInclude>--> + <pomInclude>check-auto-container/unsafe-central/pom.xml</pomInclude> + <pomInclude>check-auto-container/central/pom.xml</pomInclude> + <pomInclude>check-auto-container/nuiton-other-releases/pom.xml</pomInclude> + <pomInclude>collect-files/multi/pom.xml</pomInclude> + <pomInclude>collect-files/single/pom.xml</pomInclude> + <pomInclude>send-email/single/pom.xml</pomInclude> + <pomInclude>share-server-secret/single/pom.xml</pomInclude> + </pomIncludes> + <postBuildHookScript>verify</postBuildHookScript> + <localRepositoryPath>${basedir}/target/local-repo</localRepositoryPath> + <settingsFile>src/it/settings.xml</settingsFile> + <cloneProjectsTo>${project.build.directory}/its</cloneProjectsTo> + <!--<debug>true</debug>--> + </configuration> + <executions> + <execution> + <id>integration-test</id> + <goals> + <goal>install</goal> + <goal>run</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + <!-- reporting at release time --> <profile> <id>reporting</id> @@ -251,7 +284,7 @@ <tagletArtifact> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-component-javadoc</artifactId> - <version>1.5.5</version> + <version>${plexusComponentJavadocVersion}</version> </tagletArtifact> </tagletArtifacts> </configuration>