Module Name |
Check-out |
Build |
Publish to Local Maven Repo |
JDK version |
Dependencies |
Note |
hk2 |
svn checkout https://hk2.java.net/svn/hk2/tags/hk2-parent-0.3.49 |
1. mvn -Dmaven.repo.local=maven.repo -Prelease-phase1 install 2. mvn -Dmaven.repo.local=maven.repo install |
|
1.5 |
bean-validator |
jsp |
svn checkout https://jsp.java.net/svn/jsp/tags/jsp-2.1.3-b08 |
mvn -Dmaven.repo.local=maven.repo install |
|
1.6 |
uel javax.servlet:servlet-api:2.5 |
uel |
svn checkout https://uel.java.net/svn/uel/tags/2.1.2-b03 |
mvn -Dmaven.repo.local=maven.repo install |
|
1.6 |
|
grizzly |
svn checkout https://grizzly.java.net/svn/grizzly/tags/1_9_10 |
mvn -Dmaven.repo.local=maven.repo install |
|
|
|
corba |
hg clone http://kenai.com/hg/gf-corba-v3-mirror~staging corba |
1. cd corba/make 2. ant orb-library rename 3. cd corba/build/rename/ee/make 3. ant build |
1. cd corba/build/rename/make 2. ant make-bundles (or ant update-build make-bundles to increment version) 3. ant release-local |
JDK 6 supported |
Depends on Jscheme at build time ONLY (jar is in lib directory in CORBA workspace) 1. download jscheme-7.2.tgz from jscheme.sourceforge.net 2. gzip -d jscheme-7.2.tgz 3. tar xvf jscheme-7.2.tar 4. cd jscheme-7.2 5. sh bin/make (note: JDK 5 must be in path) 6. copy lib/jscheme.jar to CORBA lib directory |
Jscheme did not build correctly with JDK 5 for my latest test. The ORB still supports JDK 5, but JDK 6 should be used for GFv3. |
scripting |
svn checkout https://glassfish-scripting.java.net/svn/glassfish-scripting/tags/rails-0.7.10 |
mvn -Dmaven.repo.local=maven.repo install |
|
|
|
eclipse.persistence |
svn checkout http://dev.eclipse.org/svnroot/rt/org.eclipse.persistence/tags/1.1.0M8/ |
1. modify build.xml; comment out lines 185-187 since we don't need moxy, sdo and dbws 2. ant -Dbuild.type=M8 build-core 3. create a directory called mavenant 4. download maven-ant-tasks-2.0.8.jar from http://repo1.maven.org/maven2/org/apache/maven/maven-ant-tasks/2.0.8/ and save it in the "mavenant" directory. |
Modify updateToMaven.xml: a. update line 40 with local maven repo b. modify line 41 c. comment out lines 107 to 123 since moxy and sdo modules are not needed to build v3 d. lines 130-131: i. change $eclipselink.plugins to target ii. change _ to iii. change $version.string to $release.version$build.type iv. modify line 131 |
|
|
Need to simplify the steps for GFv3 build. Commit the source to internal glassfish svn |
felix |
svn co https://glassfish-svn.java.net/svn/glassfish-svn/trunk/external/source-build/ |
1. cd source-build 2. ant -Dmaven.repo.local=maven.repo -f felix-build.xml |
|
|
Since some of the Felix modules we are building are depended on by code in our tool chain (e.g., maven-bundle-plugin), it is not possible to have the local repo completely devoid of all Felix modules. If you delete all Felix modules from the local repo, some will get downloaded again by Maven for the tools. If you are offline, the build won't work. If we include maven-bundle-plugin and maven-obr-plugin by default in our tool chain, we still need org.osgi.service.obr from Felix at a minimum. |
webbeans |
svn checkout http://mercurial.sfbay.sun.com/svn/glassfish/external/webbeans |
mvn install Jar file location: 1.0.0.PREVIEW1/osgi-bundle/target/webbeans-osgi-bundle-1.0.0.PREVIEW1.jar |
|
1.6 |
|
dom4j |
svn checkout http://mercurial.sfbay.sun.com/svn/glassfish/external/dom4j |
1. cd 1.6.1 2. ant package Jar file location: build/dom4j.jar |
|
1.4 |
|
xml-apis |
svn checkout http://mercurial.sfbay.sun.com/svn/glassfish/external/xml-apis |
1. cd 1.0.b2 2. ant external Jar file location: build/xml-commons-1.0.b2/java/external/build/xml-apis.jar |
|
1.4 |
|
log4j |
svn checkout http://mercurial.sfbay.sun.com/svn/glassfish/external/log4j |
1. cd 1.2.14/v1_2_14_maven 2. ant jar Jar file location: dist/lib/log4j-1.2.14.jar |
no |
1.6 |
|
javassist |
svn checkout http://mercurial.sfbay.sun.com/svn/glassfish/external/javassist |
1. cd 3.8.1.GA 2. ant Jar file location: javassist.jar |
|
1.6 |
|
bean-validator |
|
|
|
|
|
asm |
|
|
|
|
|
mq |
|
|
|
|
|
jettison |
|
|
|
|
|
webui-jsf & webui-jsf-suntheme |
cvs -d :pserver:username@cvs.java.net:/cvs checkout -r Woodstock_44_Branch woodstock |
1. cd woodstock/master 2. ant |
cd woodstock/maven && ant maven.upload |
1.5 |
|
Jars will be in woodstock/webui/dist and woodstock/themes/dist A non-branch module name will be provided once pending changes are finished Jane or Terena should be verifying Maven publication steps, as they performed the last release |
json-2 |
1. svn co http://mercurial.sfbay.sun.com/svn/glassfish/external/json-2 |
1. cd json-2 2. javac -d build org/json/*java 3. jar cf json-2.jar -C build org |
mvn install:install-file -Dfile=json-2.jar -DgroupId=org.json -D artifactId=json -Dpackaging=jar -Dversion=2 |
1.5 |
|
ldapbp |
1. ftp http://download.java.net/javaee5/external/shared/ldapbp-src/jars/ldapbp-src-1_1_01.jar 2. jar -xvf ldapbp-src-1_1_01.jar |
1. ant |
mvn install:install-file -Dfile=ldapbp.jar -DgroupId=org.glassfish.external -DartifactId=ldapbp-repackaged -Dpackaging=jar -Dversion=$project.version |
|
|
jhall |
svn checkout https://javahelp.java.net/svn/javahelp/tags/2.0_05 javahelp |
1. cd javahelp/javahelp_nbproject/ 2. ant |
mvn install:install-file -Dfile=jhall.jar -DgroupId=com.sun.java.help -D artifactId=jhall -Dpackaging=jar -Dversion=2.0_05 |
1.5 |
|
Jar will be in dist/lib |
ajax-wrapper-comp |
cvs -d :pserver:username@cvs.java.net:/cvs checkout -D "2008/11/05 16:00:00" ajax |
1. cd ajax/ws/jmaki 2. ant |
mvn install:install-file -Dfile=shared/dist/ajax-wrapper-comp-1.8.1.jar -DgroupId=com.sun.jmaki -D artifactId=ajax-wrapper-comp -Dpackaging=jar -Dversion=1.8.1 |
1.5 |
|
Jars will be shared/dist |
solaris-realm |
1. export CVSROOT=:pserver:username@cvs.java.net:/cvs 2.cvs login 3.cvs checkout -r SJSAS91_FCS_BRANCH glassfish/appserv-native/buildsolrealm.sh 4. sh glassfish/appserv-native/buildsolrealm.sh |
1. cd glassfish/appserv-native 2. ant -Dgfv3.image.home=GLASSFISH-v3-IMAGE-DIR build-solrealm |
cp libsolarisauth.so to GF-V3-WORKSPACE/security/core/src/main/resources/lib/libsol{{ARCH}}auth.so |
|
gmake must be installed and must be available in the PATH. GLASSFISH-v3-IMAGE-DIR should point to an existing GF v3 image until the glassfishv3/glassfish directory {{ARCH}} can be x86 or sparc depending on the architecure.. |
Build required only for solaris sparc and x86 OS. |
jsfcompounds |
svn checkout -r 70 https://jsfcompounds.java.net/svn/jsfcompounds/trunk/jsfcompounds jsfcompounds |
1. cd jsfcompounds/core 2. mvn install |
|
1.5 |
|
jMakiResources.jar |
|
|
mvn install:install-file -Dfile=jMakiResources.jar -DgroupId=org.glassfish.admingui -DartifactId=jMakiResources -Dpackaging=jar -Dversion=1.0.0 |
|
|
This is a static resource file. No files are generated or derived, so this archive is the source. |
jsf-extensions-dynamic-faces |
svn co https://jsf-extensions.java.net/svn/jsf-extensions/branches/JSFTEMPLATING_BRANCH dynafaces |
1. cd dynafaces 2. mvn install |
|
1.5 |
|
The build must use maven 2.0.9 and Java 5. |
mojarra-scales |
hg clone -r MOJARRA_SCALES_1_3_1 http://kenai.com/hg/scales~mercurial scales_1_3_1 |
1. cd scales_1_3_1 2. mvn -Dmaven.test.skip=true install |
|
1.5 |
|
JSF 2.0 |
Subversion / Current Tag -> https://mojarra.java.net/svn/mojarra/tags/2.0.0-b13 |
http://wiki.glassfish.java.net/Wiki.jsp?page=JavaServerFacesRI#section-JavaServerFacesRI-HowDoIBuildTheMojarraSources - Before building add properties build.type=Beta1 build.number=b13 to the build.properties |
From jsf-api and jsf-impl directories run the ant target 'ant mvn.install.promoted.local' |
1.5 |
com.sun.commons.digester (compilation only), com.sun.commons.logging (compilation only), com.sun.commons.beanutils (compilation only), com.sun.commons.collections (compilation only), Tomcat 6.0.13 (necessary for ResourceInjection of Managed Beans in Tomcat), Jetty 6.1.4 (necessary for ResourceInjection of Managed Beans in Tomcat), GFv2.1 (necessary for ResourceInjection of Managed Beans in GlassFish), Groovy 1.6 (necessary for Groovy features) |
Source build of sun-apache-commons code happens in the Mojarra workspace (target "ant build.from.source"). We do not build the source of Jetty, Tomcat, Glassfish or Groovy. |
Shoal |
svn checkout https://svn.java.net/svn/shoal~svn |
1. cd shoal 2. mvn install |
|
1,6 |
|
JAXR-RA |
svn checkout https://svn.kenai.com/svn/jaxr-ra~source-code-repository |
|
|