You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by Apache Wiki <wi...@apache.org> on 2014/04/08 04:45:11 UTC
[Jclouds Wiki] Update of "Validate a Release" by EverettToews
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Jclouds Wiki" for change notification.
The "Validate a Release" page has been changed by EverettToews:
https://wiki.apache.org/jclouds/Validate%20a%20Release?action=diff&rev1=10&rev2=11
Comment:
Improved Validate the Maven staging repos
== Validate the Maven staging repos ==
+ 1. On your local machine create a directory and a pom.xml file to download the release candidate JARs from the staging repo. In the [VOTE] thread look for the "Maven staging repos" section and replace the xxxx below with the value from the "Maven staging repos" section.
- 1. In the [VOTE] thread look for the "Maven staging repos" section. On your local machine you can include these repos in your own ~/.m2/settings.xml file. A bare minimum of such a file is below.
-
- {{{
- <settings xmlns="http://maven.apache.org/SETTINGS/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd">
- <profiles>
- <profile>
- <id>jclouds-staging</id>
- <repositories>
- <repository>
- <id>jclouds-staging</id>
- <url>https://repository.apache.org/content/repositories/orgapachejclouds-052/</url>
- </repository>
- </repositories>
- </profile>
- </profiles>
- </settings>
- }}}
-
- 2. Create a directory and a pom.xml file to download the release candidate JARs from the staging repo.
{{{
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -75, +56 @@
<version>${jclouds.version}</version>
</dependency>
</dependencies>
+ <profiles>
+ <profile>
+ <id>jclouds-staging</id>
+ <repositories>
+ <repository>
+ <id>jclouds-staging</id>
+ <url>https://repository.apache.org/content/repositories/orgapachejclouds-xxxx/</url>
+ </repository>
+ </repositories>
+ </profile>
+ </profiles>
</project>
}}}
- 3. Run the command {{{mvn clean -Pjclouds-staging dependency:copy-dependencies "-DoutputDirectory=./lib" -U}}} to download the JARs to a lib directory.
+ 2. Run the command {{{mvn clean -Pjclouds-staging dependency:copy-dependencies "-DoutputDirectory=./lib" -U}}} to download the JARs to a lib directory.
At the end of it you should have a simple directory structure like so.
{{{
- jclouds-1.6.2$ ls
+ jclouds-1.6.3$ ls
lib pom.xml
}}}