ICEpdf
  1. ICEpdf
  2. PDF-989

Release ICEpdf release jars to central maven repository

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.1, 6.1.1, 6.4
    • Fix Version/s: 6.1.2, 6.1.3
    • Component/s: Release
    • Labels:
      None
    • Environment:
      maven

      Description

      The ICEfaces and ICEmobile jars are already available on maven central repo. The releases maven repo on our own servers is not. To allow users to use maven in their builds for ICEpdf, previous as well as future releases should be made available in an indexed (maven central) repo.

      steps to follow to get jars into central maven repo:-
      https://maven.apache.org/guides/mini/guide-central-repository-upload.html

        Activity

        Judy Guglielmin created issue -
        Judy Guglielmin made changes -
        Field Original Value New Value
        Assignee Patrick Corless [ patrick.corless ] Ken Fyten [ ken.fyten ]
        Ken Fyten made changes -
        Summary make available ICEpdf jars in central maven repository which is indexed Release ICEpdf release jars to central maven repository
        Assignee Ken Fyten [ ken.fyten ] Judy Guglielmin [ judy.guglielmin ]
        Patrick Corless made changes -
        Assignee Judy Guglielmin [ judy.guglielmin ] Ken Fyten [ ken.fyten ]
        Ken Fyten made changes -
        Assignee Ken Fyten [ ken.fyten ] Judy Guglielmin [ judy.guglielmin ]
        Hide
        Ken Fyten added a comment -

        I've applied on sonatype for the org.icepdf domain under this JIRA: https://issues.sonatype.org/browse/OSSRH-23188.

        Will take up to a couple of days to get approval.

        Show
        Ken Fyten added a comment - I've applied on sonatype for the org.icepdf domain under this JIRA: https://issues.sonatype.org/browse/OSSRH-23188 . Will take up to a couple of days to get approval.
        Hide
        Judy Guglielmin added a comment - - edited

        rev 48965. has the following:-
        The poms in the maven2 repo now get filtered with the version and product id's found in the top level build.properties.
        so..
        BEFORE you start....
        must use /maven2 folder ant script to "get-maven". This puts the correct jar in the /lib folder and on the classpath.

        step 1) modify the version number in build.properties to appropriate version of open source product
        step 2) modify maven2/build.xml to set the "snapshot.repo" to test the top level ant script target of "maven.deploy"...will put this property in other build.properties at some point if this is useful.
        step 3) run the top level ant script icepdf/build.xml with target maven.deploy and this will deploy to local specified "snapshot.repo".
        step 4) need to ensure that settings.xml has gpg key as well as ossrh-server-id specified id (currently used "sonatype-nexus-staging" id in your settings.xml as per http://www.icesoft.org/wiki/display/facesDev/Maven+Release+Procedures
        step 5) run the top level ant script icepdf/build.xml with target stage.nexus.

        Show
        Judy Guglielmin added a comment - - edited rev 48965. has the following:- The poms in the maven2 repo now get filtered with the version and product id's found in the top level build.properties. so.. BEFORE you start.... must use /maven2 folder ant script to "get-maven". This puts the correct jar in the /lib folder and on the classpath. step 1) modify the version number in build.properties to appropriate version of open source product step 2) modify maven2/build.xml to set the "snapshot.repo" to test the top level ant script target of "maven.deploy"...will put this property in other build.properties at some point if this is useful. step 3) run the top level ant script icepdf/build.xml with target maven.deploy and this will deploy to local specified "snapshot.repo". step 4) need to ensure that settings.xml has gpg key as well as ossrh-server-id specified id (currently used "sonatype-nexus-staging" id in your settings.xml as per http://www.icesoft.org/wiki/display/facesDev/Maven+Release+Procedures step 5) run the top level ant script icepdf/build.xml with target stage.nexus.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48965 Tue Jun 21 13:24:59 MDT 2016 judy.guglielmin PDF-989 modified maven deploy to filter the poms with the appropriate build name (creates new poms under folder maven2/releases). the ant script will now download the appropriate plugin and a local property of "snapshot.repo" is used in the target name="maven-deploy" of the top level ant script
        the target from the top level ant script "stage-nexus" uses the gig key and pass phrase located in the local m2 repo in settings.xml to build and deploy to nexus staging repo. (id must be same as your settings.xml) used the id on the wiki for ice faces.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/maven2/build.xml
        Commit graph MODIFY /icepdf/trunk/icepdf/maven2/icepdf-core.pom
        Commit graph MODIFY /icepdf/trunk/icepdf/maven2/icepdf-viewer.pom
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/build.xml
        Commit graph MODIFY /icepdf/trunk/icepdf/build.xml
        Commit graph MODIFY /icepdf/trunk/icepdf/core/build.xml
        Judy Guglielmin made changes -
        Assignee Judy Guglielmin [ judy.guglielmin ] Ken Fyten [ ken.fyten ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48988 Mon Jun 27 14:38:03 MDT 2016 ken.fyten PDF-989 - maven.deploy ant build target now pre-builds core and viewer as well.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/build.xml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48989 Mon Jun 27 14:42:12 MDT 2016 ken.fyten PDF-989 - Support deploying maven artifacts to sonatype public maven repository.
        Files Changed
        Commit graph MODIFY /icepdf/tags/icepdf-6.1.2-maven/icepdf/build.xml
        Commit graph MODIFY /icepdf/tags/icepdf-6.1.2-maven/icepdf/maven2/build.xml
        Commit graph MODIFY /icepdf/tags/icepdf-6.1.2-maven/icepdf/core/src/org/icepdf/core/application/ProductInfo.java
        Commit graph MODIFY /icepdf/tags/icepdf-6.1.2-maven/icepdf/maven2/icepdf-core.pom
        Commit graph MODIFY /icepdf/tags/icepdf-6.1.2-maven/icepdf/viewer/build.xml
        Commit graph MODIFY /icepdf/tags/icepdf-6.1.2-maven/icepdf/maven2/icepdf-viewer.pom
        Commit graph MODIFY /icepdf/tags/icepdf-6.1.2-maven/icepdf/core/build.xml
        Hide
        Ken Fyten added a comment -

        Having issue running the 'ant maven.deploy' and 'ant nexus.deploy' targets on Jenkins because currently in order for them to work you must first run "ant get-maven" from the maven2 dir. This step needs to be integrated into these builds automagically.

        Show
        Ken Fyten added a comment - Having issue running the 'ant maven.deploy' and 'ant nexus.deploy' targets on Jenkins because currently in order for them to work you must first run "ant get-maven" from the maven2 dir. This step needs to be integrated into these builds automagically.
        Hide
        Judy Guglielmin added a comment -

        rev 48990 has sub-ant task now in root level to "get-maven" jar

        Show
        Judy Guglielmin added a comment - rev 48990 has sub-ant task now in root level to "get-maven" jar
        Judy Guglielmin made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48990 Mon Jun 27 16:36:16 MDT 2016 judy.guglielmin PDF-989 added subant for get-maven to ensure ant-maven jar is in class path.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/build.xml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48991 Mon Jun 27 16:43:11 MDT 2016 ken.fyten PDF-989 added subant for get-maven to ensure ant-maven jar is in class path.
        Files Changed
        Commit graph MODIFY /icepdf/tags/icepdf-6.1.2-maven/icepdf/build.xml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48992 Mon Jun 27 16:52:11 MDT 2016 ken.fyten PDF-989 Enabled verbose javadoc for debugging.
        Files Changed
        Commit graph MODIFY /icepdf/tags/icepdf-6.1.2-maven/icepdf/core/build.xml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48993 Mon Jun 27 16:55:51 MDT 2016 ken.fyten PDF-989 Tweak javadoc options
        Files Changed
        Commit graph MODIFY /icepdf/tags/icepdf-6.1.2-maven/icepdf/core/build.xml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48995 Tue Jun 28 11:43:29 MDT 2016 judy.guglielmin PDF-989 javadoc remove optionalparams as ant 1.8.x on macor jenkins finds error in options and does not build jars or compile javadocs with 1.8 java
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/build.xml
        Commit graph MODIFY /icepdf/trunk/icepdf/core/build.xml
        Hide
        Ken Fyten added a comment -

        One more issue is that the viewer-ri.pom doesn't get it's icepdf.jar dependency version string automatically updated:

        <dependency>
        <groupId>org.icepdf.os</groupId>
        <artifactId>icepdf-core</artifactId>
        <version>X.X.X</version>
        </dependency>

        Show
        Ken Fyten added a comment - One more issue is that the viewer-ri.pom doesn't get it's icepdf.jar dependency version string automatically updated: <dependency> <groupId>org.icepdf.os</groupId> <artifactId>icepdf-core</artifactId> <version>X.X.X</version> </dependency>
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48996 Tue Jun 28 13:25:41 MDT 2016 judy.guglielmin PDF-989 remove ${release.type} from maven version
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/maven2/build.xml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48998 Tue Jun 28 13:54:26 MDT 2016 ken.fyten PDF-989:
        - javadoc remove optionalparams as ant 1.8.x on macor jenkins finds error in options and does not build jars or compile javadocs with 1.8 java
        - remove ${release.type} from maven version
        Files Changed
        Commit graph MODIFY /icepdf/tags/icepdf-6.1.2-maven/icepdf/maven2/build.xml
        Commit graph MODIFY /icepdf/tags/icepdf-6.1.2-maven/icepdf/viewer/build.xml
        Commit graph MODIFY /icepdf/tags/icepdf-6.1.2-maven/icepdf/core/build.xml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48999 Tue Jun 28 13:55:02 MDT 2016 ken.fyten PDF-989 - Fixed pom src code repo URLs, tag, and dependency version for 6.1.2 release.
        Files Changed
        Commit graph MODIFY /icepdf/tags/icepdf-6.1.2-maven/icepdf/maven2/icepdf-core.pom
        Commit graph MODIFY /icepdf/tags/icepdf-6.1.2-maven/icepdf/maven2/icepdf-viewer.pom
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49000 Tue Jun 28 14:56:55 MDT 2016 judy.guglielmin PDF-989 fix version in viewer pom for core dependency and ensure stage target has ant-maven library sub-ant call
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/maven2/icepdf-viewer.pom
        Commit graph MODIFY /icepdf/trunk/icepdf/build.xml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49002 Tue Jun 28 16:46:28 MDT 2016 ken.fyten PDF-989 - Fixed pom src code repo URLs and local maven repo name.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/maven2/build.xml
        Commit graph MODIFY /icepdf/trunk/icepdf/maven2/icepdf-core.pom
        Commit graph MODIFY /icepdf/trunk/icepdf/maven2/icepdf-viewer.pom
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49003 Tue Jun 28 16:47:38 MDT 2016 ken.fyten PDF-989 Ensure stage target has ant-maven library sub-ant call
        Files Changed
        Commit graph MODIFY /icepdf/tags/icepdf-6.1.2-maven/icepdf/build.xml
        Commit graph MODIFY /icepdf/tags/icepdf-6.1.2-maven/icepdf/core/src/org/icepdf/core/application/ProductInfo.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49004 Tue Jun 28 16:47:54 MDT 2016 ken.fyten PDF-989 - Fixed pom src code repo URLs.
        Files Changed
        Commit graph MODIFY /icepdf/tags/icepdf-6.1.2-maven/icepdf/maven2/icepdf-core.pom
        Commit graph MODIFY /icepdf/tags/icepdf-6.1.2-maven/icepdf/maven2/icepdf-viewer.pom
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49005 Tue Jun 28 16:51:50 MDT 2016 judy.guglielmin PDF-989 use command line to determine if javadocs usses additionalparam="-Xdoclint:none". default is where additionalparam has a "" empty string for Jenkins, but some java versions will require to have it so run ant -DwithDoclint=true javadoc that will add the additionalparam back in to the javadoc call.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/build.xml
        Commit graph MODIFY /icepdf/trunk/icepdf/core/build.xml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49006 Wed Jun 29 09:59:58 MDT 2016 judy.guglielmin PDF-989 add ant description to javadoc target for new command line parameters to verbose and doclints
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/build.xml
        Commit graph MODIFY /icepdf/trunk/icepdf/core/build.xml
        Hide
        Ken Fyten added a comment -

        Inaugural attempt to release this to sonatype nexus public maven repo has failed due to an invalid pom file:

        Event: Failed: POM Validation
        Wednesday, June 29, 2016 13:34:13 MDT (GMT-0600)
        typeId pom-staging
        failureMessage Invalid POM: /org/icepdf/os/icepdf-core/6.1.2/icepdf-core-6.1.2.pom: Developer information missing
        failureMessage Invalid POM: /org/icepdf/os/icepdf-viewer/6.1.2/icepdf-viewer-6.1.2.pom: Developer information missing

        Show
        Ken Fyten added a comment - Inaugural attempt to release this to sonatype nexus public maven repo has failed due to an invalid pom file: Event: Failed: POM Validation Wednesday, June 29, 2016 13:34:13 MDT (GMT-0600) typeId pom-staging failureMessage Invalid POM: /org/icepdf/os/icepdf-core/6.1.2/icepdf-core-6.1.2.pom: Developer information missing failureMessage Invalid POM: /org/icepdf/os/icepdf-viewer/6.1.2/icepdf-viewer-6.1.2.pom: Developer information missing
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Assignee Ken Fyten [ ken.fyten ] Judy Guglielmin [ judy.guglielmin ]
        Ken Fyten made changes -
        Fix Version/s 6.1.2 [ 13070 ]
        Assignee Priority P1 [ 10010 ]
        Hide
        Ken Fyten added a comment -

        Resolved via adding Developers section to the pom files.

        Show
        Ken Fyten added a comment - Resolved via adding Developers section to the pom files.
        Ken Fyten made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Affects Compatibility/Configuration [ 10002 ]
        Assignee Judy Guglielmin [ judy.guglielmin ] Ken Fyten [ ken.fyten ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49008 Wed Jun 29 13:50:38 MDT 2016 ken.fyten PDF-989 - Added missing Developers elements to pom files.
        Files Changed
        Commit graph MODIFY /icepdf/tags/icepdf-6.1.2-maven/icepdf/maven2/icepdf-core.pom
        Commit graph MODIFY /icepdf/tags/icepdf-6.1.2-maven/icepdf/maven2/icepdf-viewer.pom
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49009 Wed Jun 29 13:51:15 MDT 2016 ken.fyten PDF-989 - Added missing Developers elements to pom files.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/maven2/icepdf-core.pom
        Commit graph MODIFY /icepdf/trunk/icepdf/maven2/icepdf-viewer.pom
        Hide
        Ken Fyten added a comment -
        Show
        Ken Fyten added a comment - ICEpdf 6.1.2 is now available http://search.maven.org/#search%7Cga%7C1%7Corg.icepdf
        Hide
        Judy Guglielmin added a comment -

        need to correct jai_core artifact in maven pom (mistakenly was called jai-core)

        Show
        Judy Guglielmin added a comment - need to correct jai_core artifact in maven pom (mistakenly was called jai-core)
        Judy Guglielmin made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Judy Guglielmin made changes -
        Assignee Ken Fyten [ ken.fyten ] Judy Guglielmin [ judy.guglielmin ]
        Hide
        Judy Guglielmin added a comment -

        rev 49149 has resolved this issue.

        Show
        Judy Guglielmin added a comment - rev 49149 has resolved this issue.
        Judy Guglielmin made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Judy Guglielmin made changes -
        Assignee Judy Guglielmin [ judy.guglielmin ] Ken Fyten [ ken.fyten ]
        Hide
        Judy Guglielmin added a comment -

        up to you Ken to republish this on maven repo.

        Show
        Judy Guglielmin added a comment - up to you Ken to republish this on maven repo.
        Judy Guglielmin made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49149 Thu Sep 01 14:54:38 MDT 2016 judy.guglielmin PDF-989 corrected dependency artifact name for jai_core (was mistakenly jai-core).
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/maven2/icepdf-core.pom
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49157 Fri Sep 02 15:43:32 MDT 2016 ken.fyten PDF-989 - Corrected jai_core artifact in maven pom (mistakenly was called jai-core).
        Files Changed
        Commit graph MODIFY /icepdf/tags/icepdf-6.1.2-maven/icepdf/maven2/icepdf-core.pom
        Hide
        Ken Fyten added a comment -

        I attempted to republish but it hasn't shown up in the staging area on sonatype nexus yet. Possible that we are not allowed to resubmit the same release once it's been published. I've opened a Nexus JIRA for this, will see if they respond or the staged release shows up by Tuesday.

        https://issues.sonatype.org/browse/MVNCENTRAL-1233

        Show
        Ken Fyten added a comment - I attempted to republish but it hasn't shown up in the staging area on sonatype nexus yet. Possible that we are not allowed to resubmit the same release once it's been published. I've opened a Nexus JIRA for this, will see if they respond or the staged release shows up by Tuesday. https://issues.sonatype.org/browse/MVNCENTRAL-1233
        Ken Fyten made changes -
        Fix Version/s 6.1.3 [ 13086 ]
        Hide
        Ken Fyten added a comment -

        Okay, the only way to correct the pom once it's been released is with a subsequent release. So targeting the upcoming ICEpdf 6.1.3 release to include the corrected pom file.

        Show
        Ken Fyten added a comment - Okay, the only way to correct the pom once it's been released is with a subsequent release. So targeting the upcoming ICEpdf 6.1.3 release to include the corrected pom file.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49160 Tue Sep 06 13:27:55 MDT 2016 ken.fyten PDF-989 - Added support for deploying open source ICEpdf release artifacts to the sonatype nexus public maven repository.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/build.xml
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/build.xml
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/maven2/icepdf-viewer.pom
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/maven2/icepdf-core.pom
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/maven2/build.xml
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/build.xml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49161 Tue Sep 06 13:29:54 MDT 2016 ken.fyten PDF-989 - Updated ICEpdf version.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/maven2/icepdf-viewer.pom
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/build.properties
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/maven2/icepdf-core.pom
        Hide
        Patrick Corless added a comment -

        Marking as fixed.

        Show
        Patrick Corless added a comment - Marking as fixed.
        Patrick Corless made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49454 Thu Nov 03 12:37:01 MDT 2016 patrick.corless PDF-989 migration of maven chagnes to pro product and addition for version to tag name.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/maven2/icepdf-viewer.pom
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/maven2/icepdf-core.pom
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49462 Mon Nov 07 13:42:30 MST 2016 patrick.corless PDF-989 addition of additional actions properties panel shell.
        Files Changed
        Commit graph ADD /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/utility/annotation/AdditionalActionsPanel.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49463 Mon Nov 07 13:48:50 MST 2016 patrick.corless Creation of PDF-989 development branch.
        Files Changed
        Commit graph ADD /icepdf/branches/icepdf-6.1.0_989
        Hide
        Ken Fyten added a comment -

        Re-opened.

        Show
        Ken Fyten added a comment - Re-opened.
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49526 Tue Nov 08 13:06:47 MST 2016 patrick.corless PDF-989 migration of maven chagnes to pro product and addition for version to tag name.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/maven2/icepdf-viewer.pom
        Ken Fyten made changes -
        Link This issue depends on PDF-1058 [ PDF-1058 ]
        Hide
        Ken Fyten added a comment -

        Resolved.

        The ICEpdf 6.1.3 release has been approved for distribution on the sonatype maven repository.

        Show
        Ken Fyten added a comment - Resolved. The ICEpdf 6.1.3 release has been approved for distribution on the sonatype maven repository.
        Ken Fyten made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Ken Fyten
            Reporter:
            Judy Guglielmin
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: