Pushing Labkey Java API to Maven Central | lewis j mcgibbney | 2015-10-02 11:16 |
Status: Closed | ||
Hi Folks, Please see updated patch which can be applied against trunk. It can be applied as follows cd $LABKEY_HOME patch -p0 -i LABKEY-JAVA_APIv2.patch Please see above for using the maven-ant-tasks artifact to produce and public your artifact to staging within Sonatype OSSRH. Additionally, this patch augments some functionality within the remoteapi build.xml descriptior by adding description attributes to each target. This means we can execute the following lmcgibbn@LMC-032857 /usr/local/labkey_trunk/remoteapi/java(joshua) $ ant -projecthelp Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=1024m; support was removed in 8.0 Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=2048m; support was removed in 8.0 Buildfile: /usr/local/labkey_trunk/remoteapi/java/build.xml Main targets: build --> build the .jar artifact if it is not up-to-date. build_if_dirty --> build the .jar artifact if source code is dirty. clean --> delete the build artifacts and compiled Java code. compile --> compile and build Java source code. deploy --> deploy to Sonatype OSSRH dist --> build the packaged distribution. jar --> generate the labkey Java .jar artifacts. javadoc --> build the Java API documentation. rebuild --> clean and then rebuild the .jar artifact. release --> generate the release distribution Default target: build |
||