snapshots repositories directly in pom not in a profile as doesn't work fine when using other profiles

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1298327 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-03-08 09:35:58 +00:00
parent 2a2b52ec19
commit 1d2a88e138
1 changed files with 50 additions and 53 deletions

71
pom.xml
View File

@ -1759,11 +1759,41 @@
</plugins> </plugins>
</build> </build>
</profile> </profile>
<profile> <profile>
<id>snapshots-build</id> <!-- profile to run struts webapp it test -->
<activation> <id>it</id>
<activeByDefault>true</activeByDefault> <modules>
</activation> <module>archiva-modules/archiva-web/archiva-webapp-test</module>
</modules>
</profile>
<profile>
<!-- profile to run javascript webapp -->
<id>js</id>
<modules>
<module>archiva-modules/archiva-web/archiva-webapp-js</module>
<module>archiva-jetty-js</module>
</modules>
</profile>
<profile>
<!-- profile to run javascript webapp and it tests -->
<id>it-js</id>
<modules>
<module>archiva-modules/archiva-web/archiva-webapp-js</module>
<module>archiva-modules/archiva-web/archiva-webapp-test-js</module>
</modules>
</profile>
<profile>
<!-- olamy profile to test tomcat plugin dev -->
<id>tdev</id>
<modules>
<module>archiva-tomcat</module>
</modules>
</profile>
</profiles>
<repositories> <repositories>
<repository> <repository>
<id>redback.snapshots</id> <id>redback.snapshots</id>
@ -1811,38 +1841,5 @@
</snapshots> </snapshots>
</pluginRepository> </pluginRepository>
</pluginRepositories> </pluginRepositories>
</profile>
<profile>
<!-- profile to run struts webapp it test -->
<id>it</id>
<modules>
<module>archiva-modules/archiva-web/archiva-webapp-test</module>
</modules>
</profile>
<profile>
<!-- profile to run javascript webapp -->
<id>js</id>
<modules>
<module>archiva-modules/archiva-web/archiva-webapp-js</module>
<module>archiva-jetty-js</module>
</modules>
</profile>
<profile>
<!-- profile to run javascript webapp and it tests -->
<id>it-js</id>
<modules>
<module>archiva-modules/archiva-web/archiva-webapp-js</module>
<module>archiva-modules/archiva-web/archiva-webapp-test-js</module>
</modules>
</profile>
<profile>
<!-- olamy profile to test tomcat plugin dev -->
<id>tdev</id>
<modules>
<module>archiva-tomcat</module>
</modules>
</profile>
</profiles>
</project> </project>