OpenJPA
  1. OpenJPA
  2. OPENJPA-839

change pom.xml to publish sources as well.

    Details

      Description

      just adding the following plugin to the pom.xml, it will push out sources to the Maven Repository as well. IDEs can use these sources to help users visualize what is going on, if they need to..

      1. OPENJPA-839-13x.diff
        20 kB
        Donald Woods
      2. OPENJPA-839-trunk.diff
        19 kB
        Donald Woods
      3. pom-source.diff
        0.6 kB
        Fernando Padilla

        Activity

        Hide
        Fernando Padilla added a comment -

        minimal edit to pom file to have it push out sources to maven repository as well.

        Show
        Fernando Padilla added a comment - minimal edit to pom file to have it push out sources to maven repository as well.
        Hide
        Simone Gianni added a comment -

        Currently there are sources for 1.2.0 and 1.2.1 on maven repo, but the sources jars are empty.

        Show
        Simone Gianni added a comment - Currently there are sources for 1.2.0 and 1.2.1 on maven repo, but the sources jars are empty.
        Hide
        Donald Woods added a comment -

        So, if I understand this, you're using the openjpa-1.2.1.jar, which is an aggregate of the other jars (openjpa-lib, openjpa-kernel, openjpa-persistence, openjpa-persistence-jdbc, ....) and the produced sources.jar isn't an aggregate sources jar, right?

        Show
        Donald Woods added a comment - So, if I understand this, you're using the openjpa-1.2.1.jar, which is an aggregate of the other jars (openjpa-lib, openjpa-kernel, openjpa-persistence, openjpa-persistence-jdbc, ....) and the produced sources.jar isn't an aggregate sources jar, right?
        Hide
        Donald Woods added a comment -

        Looks like the maven-shade-plugin can do this for us....

        Show
        Donald Woods added a comment - Looks like the maven-shade-plugin can do this for us....
        Hide
        Donald Woods added a comment -

        Changes committed to trunk, which creates source jars for all artifacts by using maven-shade-plugin for the aggregate jars. Also, removed OSGi metadata from openjpa.jar, as this will be handled by a new openjpa-osgi.jar instead.

        Show
        Donald Woods added a comment - Changes committed to trunk, which creates source jars for all artifacts by using maven-shade-plugin for the aggregate jars. Also, removed OSGi metadata from openjpa.jar, as this will be handled by a new openjpa-osgi.jar instead.
        Hide
        Donald Woods added a comment -

        Changes committed to the 1.3.x branch.

        Show
        Donald Woods added a comment - Changes committed to the 1.3.x branch.
        Hide
        Donald Woods added a comment -

        Source jars were being created for the individual jars, when the -Prelease profile was used, but none were being created for the aggregate openjpa and openjpa-all jars, which is now fixed by using the maven-shade-plugin.

        Show
        Donald Woods added a comment - Source jars were being created for the individual jars, when the -Prelease profile was used, but none were being created for the aggregate openjpa and openjpa-all jars, which is now fixed by using the maven-shade-plugin.

          People

          • Assignee:
            Donald Woods
            Reporter:
            Fernando Padilla
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development