Adding pluginManagement to declare plugin versions where necessary, and added repository definitions to allow download of snapshot plugins everywhere it's needed.

git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@675413 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
John Dennis Casey 2008-07-10 02:09:30 +00:00
parent 8f2a452eb8
commit 210e018f69
8 changed files with 143 additions and 0 deletions

View File

@ -6,6 +6,24 @@
<description>Test @execute with a custom lifecycle, including configuration</description>
<packaging>jar</packaging>
<version>1.0</version>
<repositories>
<repository>
<id>test-plugins</id>
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>test-plugins</id>
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</pluginRepository>
</pluginRepositories>
<build>
<plugins>
<plugin>

View File

@ -6,6 +6,24 @@
<description>Test the use of a packaging from a plugin</description>
<packaging>it-packaging</packaging>
<version>1.0</version>
<repositories>
<repository>
<id>test-plugins</id>
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>test-plugins</id>
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</pluginRepository>
</pluginRepositories>
<build>
<plugins>
<plugin>

View File

@ -5,6 +5,24 @@
<artifactId>maven-it-it0041</artifactId>
<description>Test the use of a new type from a plugin</description>
<version>1.0-SNAPSHOT</version>
<repositories>
<repository>
<id>test-plugins</id>
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>test-plugins</id>
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</pluginRepository>
</pluginRepositories>
<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>

View File

@ -6,6 +6,35 @@
<description>Test non-reactor behavior when plugin declares "@requiresProject false"</description>
<packaging>pom</packaging>
<version>1.0</version>
<repositories>
<repository>
<id>test-plugins</id>
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>test-plugins</id>
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</pluginRepository>
</pluginRepositories>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.its.plugins</groupId>
<artifactId>maven-it-plugin-no-project</artifactId>
<version>2.1-SNAPSHOT</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<modules>
<module>subproject</module>
</modules>

View File

@ -7,6 +7,35 @@
the first module, but checks that the second modules is built.</description>
<packaging>pom</packaging>
<version>1.0</version>
<repositories>
<repository>
<id>test-plugins</id>
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>test-plugins</id>
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</pluginRepository>
</pluginRepositories>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.its.plugins</groupId>
<artifactId>maven-it-plugin-touch</artifactId>
<version>2.1-SNAPSHOT</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<modules>
<module>subproject</module>
<module>subproject2</module>

View File

@ -7,6 +7,24 @@
for the population of configuration values.</description>
<packaging>jar</packaging>
<version>1.0</version>
<repositories>
<repository>
<id>test-plugins</id>
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>test-plugins</id>
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</pluginRepository>
</pluginRepositories>
<dependencies>
<dependency>
<groupId>junit</groupId>

View File

@ -46,6 +46,7 @@
<plugin>
<groupId>org.apache.maven.its.plugins</groupId>
<artifactId>maven-it-plugin-configuration</artifactId>
<version>2.1-SNAPSHOT</version>
<configuration>
<directory>${project.build.directory}</directory>
<dom>

View File

@ -23,6 +23,18 @@
</pluginRepository>
</pluginRepositories>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.its.plugins</groupId>
<artifactId>maven-it-plugin-all</artifactId>
<version>2.1-SNAPSHOT</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<modules>
<module>assembly</module>
<module>test</module>