Ok ... so I got further than I expected today ... Actually I'm finished :-)



What I changed:

- Updated the metadata in the pom.template to match the requirements of Apache 
releases.

- Updated the ant scripts to perform the releases to the Apache instead of the 
Sonatype repos.

- Updated the Sample Maven application to use Flexmojos 7.1.0-SNAPSHOT and 
Apache Flex 4.12.

- Tested a release to my private Artifactory instance (Worked great).



!!! IMPORTANT NOTE !!!!

In parallel I updated Flexmojos 7.1.0-SNAPSHOT to be able to work with FlexUnit 
artifacts having a groupId of "org.apache.flex.flexunit".



What actually needs to be done in order to deploy the artifacts in the next 
release is:

- The person doing the release has to have PGP correctly setup

- Add a settings.xml file to your user home (~/.m2/settings.xml) and provide 
the credentials for deploying artifacts to Apaches Staging repo

<?xml version="1.0" encoding="UTF-8"?>

<settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 
http://maven.apache.org/xsd/settings-1.1.0.xsd"; 
xmlns="http://maven.apache.org/SETTINGS/1.1.0";

          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

    <servers>

                               <!-- Apache Maven Servers -->

                               <server>

                                               <id>apache.snapshots.https</id>

                                               
<username>{myapacheuserid}</username>

                                               
<password>{myapachepassword}</password>

                               </server>

                               <server>

                                               <id>apache.releases.https</id>

                                               
<username>{myapacheuserid}</username>

                                               
<password>{myapachepassword}</password>

                               </server>

    </servers>

</settings>

- Start the FlexUnit build:

ant apache-maven -Dmaven-pgp-passphrase={pgp-passphrase}



As soon as we have gotten this far we probably have to verify the staged 
artifacts and then release the stage to make them officially released and 
available. But we'll continue here as soon as Infra have setup everything 
correctly.



All changes have been committed to the development branch.



Chris

Reply via email to