o Fixed ITs for Maven 3.x to use proper Site Plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1067721 13f79535-47bb-0310-9956-ffa450edef68master
parent
cc3dde3174
commit
d9f85927fd
|
|
@ -280,6 +280,9 @@
|
|||
<postBuildHookScript>verify</postBuildHookScript>
|
||||
<localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
|
||||
<settingsFile>src/it/settings.xml</settingsFile>
|
||||
<filterProperties>
|
||||
<sitePluginVersion>2.0.1</sitePluginVersion>
|
||||
</filterProperties>
|
||||
<goals>
|
||||
<goal>verify</goal>
|
||||
</goals>
|
||||
|
|
@ -297,5 +300,26 @@
|
|||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>maven-3</id>
|
||||
<activation>
|
||||
<file>
|
||||
<!-- This employs that the basedir expression is only recognized by Maven 3.x (see MNG-2363) -->
|
||||
<exists>${basedir}</exists>
|
||||
</file>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-invoker-plugin</artifactId>
|
||||
<configuration>
|
||||
<filterProperties>
|
||||
<sitePluginVersion>3.0-beta-3</sitePluginVersion>
|
||||
</filterProperties>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
</project>
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ under the License.
|
|||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-site-plugin</artifactId>
|
||||
<version>2.0-beta-7</version>
|
||||
<version>@sitePluginVersion@</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
|
|
|||
Loading…
Reference in New Issue