On this page we want to collect all essential information that is necessary to release a MyFaces project.
MyFaces releases are done by means of the Maven release plugin. For being able to use it you have to install several external tools first.
If you do not already have a private key for your apache mail address you should now either
/x1/www/www.apache.org/dist/myfaces
on the people.apache.org
host.
<settings 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/settings-1.0.0.xsd"> ... <servers> <server> <id>myfaces-staging</id> <username>....</username> <privateKey>C:\....\myapachekey.ppk</privateKey> <filePermissions>664</filePermissions> <directoryPermissions>775</directoryPermissions> <configuration> <sshExecutable>C:\....\putty-0.60\plink</sshExecutable> <scpExecutable>C:\....\putty-0.60\pscp</scpExecutable> </configuration> </server> </servers> ... </settings> |
ssh people.apache.org
(*nix users) or plink.exe people.apache.org
(Windows putty users) on the command line.Obviously the simplest MyFaces project is the MyFaces Master POM. It consists of nothing more than a single pom.xml file. So it is perfect for showing the basic procedure of releasing.
mvn release:prepare -Dusername=YOURUSERNAME -Dpassword=YOURPASSWORD
mvn release:perform -Dusername=YOURUSERNAME -Dpassword=YOURPASSWORD
From: "Manfred Geiler" <manolito@apache.org> To: "MyFaces Development" <dev@myfaces.apache.org> Subject: [vote] MyFaces Master pom v4 This is the formal vote for the new myfaces master POM version 4. You can find the signed release candidate at [1]. Please vote +1 if you reviewed the new master pom version 4 and think we can use it -1 if you found a flaw or potential problem with the new master pom Thanks, --Manfred [1] http://people.apache.org/builds/myfaces/m2-staging-repository/org/apache/myfaces/myfaces/4/ |
cp -r /www/people.apache.org/builds/myfaces/m2-staging-repository/org/apache/myfaces/myfaces/* /www/people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/myfaces/myfaces/
2. It can take up to 24 hours for a newly published release to be sync'd to all mirrors. You should at least verify that the new release is already available at the Maven main repo before adding a dependency to it within another project.