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 2013/08/05 03:00:59 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

New page:
You can help validate a release. A [VOTE] thread (e.g. [[http://www.mail-archive.com/dev@jclouds.incubator.apache.org/msg04168.html|[VOTE] Release Apache jclouds-1.6.2-incubating RC0]]) will begin on the dev list containing all of the relevant info.

<<TableOfContents(2)>>


== Build from source ==

1. In the [VOTE] thread look for the "Source and binary files" section. Follow the link and download the source tarballs (e.g. jclouds-1.6.2-incubating-source-release.tar.gz, jclouds-chef-1.6.2-incubating-source-release.tar.gz, etc.)

2. Untar these with {{{tar zxvf <filename>}}} into their own directories.

3. Go into these dirs and run the command {{{mvn clean install}}}

Wait for a BUILD SUCCESS message at the end. If something goes wrong, notify the dev list.


== Validate the Maven staging repos ==

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"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <properties>
    <jclouds.version>1.6.2-incubating</jclouds.version>
  </properties>
  <groupId>org.apache.jclouds.examples</groupId>
  <artifactId>jclouds-examples</artifactId>
  <version>1.0</version>
  <dependencies>
    <dependency>
      <groupId>org.apache.jclouds</groupId>
      <artifactId>jclouds-all</artifactId>
      <version>${jclouds.version}</version>
    </dependency>
  </dependencies>
</project>
}}}

3. Run the command {{{mvn -Pjclouds-staging dependency:copy-dependencies "-DoutputDirectory=./lib"}}} 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
lib	pom.xml
}}}

With the lib directory full of jclouds JARs. You can now use these JARs to do things like run the [[https://github.com/jclouds/jclouds-examples/|jclouds-examples]]. If something goes wrong, notify the dev list.