提交 41ee4ea9 编写于 作者: K kohsuke

experimentally deploying Nexus for Hudson. Or to be more precise, using Hudson...

experimentally deploying Nexus for Hudson. Or to be more precise, using Hudson as a guinea pig for GlassFish Nexus deployment.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11919 71c3de6d-444a-0410-be80-ed276b4c234a
上级 b51ae8c0
......@@ -146,97 +146,6 @@
</plugins>
</reporting>
</profile>
<profile>
<id>hudson-libs-local</id>
<!-- if we have the libs checked out of CVS, use them directly -->
<activation>
<file>
<exists>main/lib</exists>
<!-- this is relative to the current directory where you start
maven. Most likely if building for the first time
you will be in ../.. relative to this pom.xml. So we
use that path in order to speed you up.
-->
</file>
</activation>
<repositories>
<!-- checking the file system is fastest of all -->
<repository>
<id>hudson-libs</id>
<url>file:main/lib</url>
<layout>legacy</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<!-- put central second to speed majority artifact resolution -->
<repository>
<id>central</id>
<url>http://repo1.maven.org/maven2</url>
<releases>
<enabled>true</enabled>
<!-- only look for jars here when they are not present locally -->
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<!-- last, but not least -->
<repository>
<id>java.net2</id>
<url>http://download.java.net/maven/2/</url>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
</profile>
<profile>
<id>hudson-libs-remote</id>
<!-- otherwise, we'll have to use the slower route -->
<activation>
<file>
<missing>main/lib</missing>
</file>
</activation>
<repositories>
<!-- put central first to speed majority artifact resolution -->
<repository>
<id>central</id>
<url>http://repo1.maven.org/maven2</url>
<releases>
<enabled>true</enabled>
<!-- only look for jars here when they are not present locally -->
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<!-- put hudson-libs last as it is the slowest to access -->
<repository>
<id>hudson-libs</id>
<url>https://hudson.dev.java.net/source/browse/*checkout*/hudson/hudson/main/lib</url>
<layout>legacy</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
</profile>
</profiles>
<dependencies>
......
......@@ -104,11 +104,10 @@
<repositories>
<repository>
<id>java.net2</id>
<url>http://download.java.net/maven/2</url>
<id>m.g.o-public</id>
<url>http://maven.glassfish.org/content/groups/public/</url>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
......@@ -116,6 +115,19 @@
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>m.g.o-public</id>
<url>http://maven.glassfish.org/content/groups/public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<licenses>
<license>
<name>The MIT license</name>
......
......@@ -265,104 +265,6 @@
</pluginRepositories>
<profiles>
<profile>
<id>hudson-libs-local</id>
<!-- if we have the libs checked out of CVS, use them directly -->
<activation>
<file>
<exists>main/lib</exists>
</file>
</activation>
<repositories>
<!-- checking the file system is fastest of all -->
<repository>
<id>hudson-libs</id>
<url>file:main/lib</url>
<layout>legacy</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<!-- put central second to speed majority artifact resolution -->
<repository>
<id>central</id>
<url>http://repo1.maven.org/maven2</url>
<releases>
<enabled>true</enabled>
<!-- only look for jars here when they are not present locally -->
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<!-- last, but not least -->
<repository>
<id>java.net2</id>
<url>http://download.java.net/maven/2</url>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
</profile>
<profile>
<id>hudson-libs-remote</id>
<!-- otherwise, we'll have to use the slower route -->
<activation>
<file>
<missing>main/lib</missing>
</file>
</activation>
<repositories>
<!-- put central first to speed majority artifact resolution -->
<repository>
<id>central</id>
<url>http://repo1.maven.org/maven2</url>
<releases>
<enabled>true</enabled>
<!-- only look for jars here when they are not present locally -->
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<!-- put java.net2 second, as it's faster than the https CVS access -->
<repository>
<id>java.net2</id>
<url>http://download.java.net/maven/2/</url>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<!-- put hudson-libs last as it is the slowest to access -->
<repository>
<id>hudson-libs</id>
<url>https://hudson.dev.java.net/source/browse/*checkout*/hudson/hudson/main/lib</url>
<layout>legacy</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
</profile>
<profile>
<!-- profile for creating Hudson IPS package -->
<id>ips</id>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册