diff options
author | Evgeniy Tsvigun <[email protected]> | 2010-09-10 17:43:54 +0400 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-11-18 00:33:16 +0100 |
commit | a25e00c6568c934a0b252e7edac3d86d54ff71a8 (patch) | |
tree | 9ac5358c2d83938d1e38b4a227e7c4fce8bfb7d4 | |
parent | 9018a434338b01fb8d23797c4b9cdcd235da708d (diff) |
Added maven deploy target, changed group to "org.jogamp.gluegen"
-rwxr-xr-x | make/build.xml | 47 |
1 files changed, 46 insertions, 1 deletions
diff --git a/make/build.xml b/make/build.xml index 82addd1..eb07466 100755 --- a/make/build.xml +++ b/make/build.xml @@ -809,7 +809,7 @@ <exec executable="mvn"> <arg value="install:install-file"/> <arg value="-DartifactId=${artifactId}"/> - <arg value="-DgroupId=org.jogamp"/> + <arg value="-DgroupId=org.jogamp.gluegen"/> <arg value="-Dfile=../build/${artifactFileName}"/> <arg value="-Dversion=${gluegen_base_version}"/> <arg value="-Dpackaging=jar"/> @@ -848,4 +848,49 @@ </target> + <target name="maven.deploy.artifact"> + <exec executable="mvn"> + <arg value="deploy:deploy-file"/> + <arg value="-DrepositoryId=sonatype-nexus-snapshots"/> + <arg value="-Durl=https://oss.sonatype.org/content/repositories/snapshots/"/> + + <arg value="-DartifactId=${artifactId}"/> + <arg value="-DgroupId=org.jogamp.gluegen"/> + <arg value="-Dfile=../build/${artifactFileName}"/> + <arg value="-Dversion=${gluegen_base_version}-SNAPSHOT"/> + <arg value="-Dpackaging=jar"/> + <arg value="-DgeneratePom=true"/> + <arg value="-DcreateChecksum=true" /> + <arg value="${platformSpecificClassifier}"/> + </exec> + </target> + + <target name="maven.deploy" depends="init, gluegen.build"> + <antcall target="maven.deploy.artifact" inheritall="true"> + <param name="artifactId" value="gluegen"/> + <param name="artifactFileName" value="gluegen.jar"/> + <param name="platformSpecificClassifier" value=""/> + </antcall> + <antcall target="maven.deploy.artifact" inheritall="true"> + <param name="artifactId" value="gluegen-rt"/> + <param name="artifactFileName" value="gluegen-rt.jar"/> + <param name="platformSpecificClassifier" value=""/> + </antcall> + <antcall target="maven.deploy.artifact" inheritall="true"> + <param name="artifactId" value="gluegen-rt-cdc"/> + <param name="artifactFileName" value="gluegen-rt-cdc.jar"/> + <param name="platformSpecificClassifier" value=""/> + </antcall> + <antcall target="maven.deploy.artifact" inheritall="true"> + <param name="artifactId" value="gluegen-rt-natives"/> + <param name="artifactFileName" value="gluegen-rt-natives-${os.and.arch}.jar"/> + <param name="platformSpecificClassifier" value="-Dclassifier=${os.and.arch}"/> + </antcall> + <antcall target="maven.deploy.artifact" inheritall="true"> + <param name="artifactId" value="gluegen-rt-natives-cdc"/> + <param name="artifactFileName" value="gluegen-rt-natives-${os.and.arch}-cdc.jar"/> + <param name="platformSpecificClassifier" value="-Dclassifier=${os.and.arch}"/> + </antcall> + </target> + </project> |