Archiva09Alpha2Release

HomePage | RecentChanges | Preferences

Difference (from prior major revision) (no other diffs)

Changed: 140c140
cd /www/people.apache.org/builds/archiva/0.9-alpha-2
cd /www/people.apache.org/builds/maven/archiva/0.9-alpha-2

Archiva 0.9-alpha-2 Release Diary

Known Issues

Prepare Release

mvn release:prepare
...
    [INFO] ----------------------------------------------------------------------------
    [INFO] Building Archiva Web Application
    [INFO]    task-segment: [clean, integration-test]
    [INFO] ----------------------------------------------------------------------------
    [INFO] [clean:clean]
    [INFO] Deleting directory e:\svn\archiva-0.9\archiva-webapp\target
    [INFO] Deleting directory e:\svn\archiva-0.9\archiva-webapp\target\classes
    [INFO] Deleting directory e:\svn\archiva-0.9\archiva-webapp\target\test-classes
    [INFO] Deleting directory e:\svn\archiva-0.9\archiva-webapp\target\site
    [INFO] Deleting file-set: e:\svn\archiva-0.9\archiva-webapp/src/main/webapp
(included: [META-INF, images/pss, template/pss, WEB-INF/classes, WEB-INF/lib, WE
B-INF/database, WEB-INF/logs, pss, css/pss, WEB-INF/jsp/pss, WEB-INF/template/ps
s, WEB-INF/logs, WEB-INF/temp], excluded: [])
    [INFO] [plexus:descriptor {execution: generate}]
    [WARNING]
        Artifact javax.servlet:servlet-api:jar:2.4:provided retains local scope
'provided' overriding broader scope 'compile'
        given by a dependency. If this is not intended, modify or remove the loc
al scope.

    [WARNING]
        Artifact commons-logging:commons-logging:jar:1.0.4:runtime retains local
 scope 'runtime' overriding broader scope 'compile'
        given by a dependency. If this is not intended, modify or remove the loc
al scope.

    [WARNING]
        Artifact javax.mail:mail:jar:1.4:provided retains local scope 'provided'
 overriding broader scope 'compile'
        given by a dependency. If this is not intended, modify or remove the loc
al scope.

    [INFO] [remote-resources:process {execution: default}]
    [INFO] [antrun:run {execution: default}]
    [INFO] Executing tasks
         [copy] Copying 2 files to E:\svn\archiva-0.9\archiva-webapp\target\appserver-base
    [INFO] Executed tasks
    [INFO] [resources:resources]
    [INFO] Using default encoding to copy filtered resources.
    [INFO] [dependency:copy {execution: copy}]
    [INFO] Configured Artifact: org.apache.maven.archiva:archiva-applet:null:0.9-alpha-2:jar
    Downloading: http://localhost:8080/archiva/repository/myrepo/org/apache/maven/archiva/archiva-applet/0.9-alpha-2/archiva-applet-0.9-alpha-2.jar
    [WARNING] Unable to get resource 'org.apache.maven.archiva:archiva-applet:jar:0.9-alpha-2' from repository central (http://localhost:8080/archiva/repository
/myrepo)
    Downloading: http://localhost:8080/archiva/repository/myrepo/org/apache/maven/archiva/archiva-applet/0.9-alpha-2/archiva-applet-0.9-alpha-2.jar
    [WARNING] Unable to get resource 'org.apache.maven.archiva:archiva-applet:jar:0.9-alpha-2' from repository codehaus.org (http://repository.codehaus.org)
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] Failed to resolve artifact.

    GroupId: org.apache.maven.archiva
    ArtifactId: archiva-applet
    Version: 0.9-alpha-2

    Reason: Unable to download the artifact from any repository

    Try downloading the file manually from the project website.

    Then, install it using the command:
        mvn install:install-file -DgroupId=org.apache.maven.archiva -DartifactId
=archiva-applet              -Dversion=0.9-alpha-2 -Dpackaging=jar -Dfile=/path/to/file


      org.apache.maven.archiva:archiva-applet:jar:0.9-alpha-2

    from the specified remote repositories:
      codehaus.org (http://repository.codehaus.org),
      central (http://localhost:8080/archiva/repository/myrepo),
      apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
      snapshots.codehaus.org (http://snapshots.repository.codehaus.org)


    [INFO] ------------------------------------------------------------------------
    [INFO] For more information, run Maven with the -e switch
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 3 minutes 25 seconds
    [INFO] Finished at: Sun May 13 15:49:32 MST 2007
    [INFO] Final Memory: 35M/63M
    [INFO] ---------------------------------------------------------------------
---
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Maven execution failed, exit code: '1'

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 minutes 30 seconds
[INFO] Finished at: Sun May 13 15:49:32 MST 2007
[INFO] Final Memory: 16M/29M
[INFO] ------------------------------------------------------------------------

to fix...

cd archiva-applet
  [note that pom.xml has version=0.9-alpha-2 at this point]
mvn install
cd ..
mvn release:clean
svn revert -R *
   [then try again...]
mvn release:prepare

Perform Release

$ mvn release:perform
...
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 82 minutes 2 seconds
[INFO] Finished at: Sun May 13 17:27:22 MST 2007
[INFO] Final Memory: 6M/12M
[INFO] ------------------------------------------------------------------------

Release Distribution

Rename distribution with "finalName" from build:

ssh people.apache.org
cd /www/people.apache.org/builds/maven/archiva/0.9-alpha-2
cp m2-staging-repository/org/apache/maven/archiva/archiva-plexus-runtime/*.tar.gz*   .

mv archiva-plexus-runtime-0.9-alpha-2-bin.tar.gz      archiva-0.9-alpha-2-bin.tar.gz
mv archiva-plexus-runtime-0.9-alpha-2-bin.tar.gz.asc  archiva-0.9-alpha-2-bin.tar.gz.asc
mv archiva-plexus-runtime-0.9-alpha-2-bin.tar.gz.md5  archiva-0.9-alpha-2-bin.tar.gz.md5
mv archiva-plexus-runtime-0.9-alpha-2-bin.tar.gz.sha1 archiva-0.9-alpha-2-bin.tar.gz.sha1

Fix checksums

$ echo " *archiva-0.9-alpha-2-bin.tar.gz" >> archiva-0.9-alpha-2-bin.tar.gz.md5
$ echo " *archiva-0.9-alpha-2-bin.tar.gz" >> archiva-0.9-alpha-2-bin.tar.gz.sha1

Source Distribution

svn export https://svn.apache.org/repos/asf/maven/archiva/tags/archiva-0.9-alpha-2  archiva-0.9-alpha-2-src

Copied the LICENSE and NOTICE files from E:\svn\archiva-0.9\archiva-plexus-runtime\target\maven-shared-archive-resources\META-INF

Edited the module title to 'Archiva Source Distribution in NOTICE

tar cvf - archiva-0.9-alpha-2-src/ | gzip > archiva-0.9-alpha-2-src.tar.gz

Signatures and checksums

gpg --armor --output archiva-0.9-alpha-2-src.tar.gz.asc --detach-sig archiva-0.9-alpha-2-src.tar.gz
md5sum archiva-0.9-alpha-2-src.tar.gz > archiva-0.9-alpha-2-src.tar.gz.md5
sha1sum archiva-0.9-alpha-2-src.tar.gz > archiva-0.9-alpha-2-src.tar.gz.sha1

Upload src distribution

 scp archiva-0.9-alpha-2-* people.apache.org:/www/people.apache.org/builds/maven/archiva/0.9-alpha-2/

HomePage | RecentChanges | Preferences
This page is read-only | View other revisions
Last edited June 23, 2007 6:51 pm by WendySmoak (diff)
Search: