[jira] Created: (OPENJPA-839) change pom.xml to publish sources as well.

9 messages Options
Embed this post
Permalink
JIRA jira@apache.org

[jira] Created: (OPENJPA-839) change pom.xml to publish sources as well.

Reply Threaded More More options
Print post
Permalink
change pom.xml to publish sources as well.
------------------------------------------

                 Key: OPENJPA-839
                 URL: https://issues.apache.org/jira/browse/OPENJPA-839
             Project: OpenJPA
          Issue Type: Improvement
          Components: build / infrastructure
    Affects Versions: 2.0.0
            Reporter: Fernando


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..

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

JIRA jira@apache.org

[jira] Updated: (OPENJPA-839) change pom.xml to publish sources as well.

Reply Threaded More More options
Print post
Permalink

     [ https://issues.apache.org/jira/browse/OPENJPA-839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fernando updated OPENJPA-839:
-----------------------------

    Attachment: pom-source.diff

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

> change pom.xml to publish sources as well.
> ------------------------------------------
>
>                 Key: OPENJPA-839
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-839
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: build / infrastructure
>    Affects Versions: 2.0.0
>            Reporter: Fernando
>         Attachments: pom-source.diff
>
>
> 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..

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

JIRA jira@apache.org

[jira] Commented: (OPENJPA-839) change pom.xml to publish sources as well.

Reply Threaded More More options
Print post
Permalink
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/OPENJPA-839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768779#action_12768779 ]

Simone Gianni commented on OPENJPA-839:
---------------------------------------

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

> change pom.xml to publish sources as well.
> ------------------------------------------
>
>                 Key: OPENJPA-839
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-839
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: build / infrastructure
>    Affects Versions: 2.0.0-M2
>            Reporter: Fernando
>         Attachments: pom-source.diff
>
>
> 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..

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

JIRA jira@apache.org

[jira] Commented: (OPENJPA-839) change pom.xml to publish sources as well.

Reply Threaded More More options
Print post
Permalink
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/OPENJPA-839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768809#action_12768809 ]

Donald Woods commented on OPENJPA-839:
--------------------------------------

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?


> change pom.xml to publish sources as well.
> ------------------------------------------
>
>                 Key: OPENJPA-839
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-839
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: build / infrastructure
>    Affects Versions: 2.0.0-M2
>            Reporter: Fernando
>         Attachments: pom-source.diff
>
>
> 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..

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

JIRA jira@apache.org

[jira] Updated: (OPENJPA-839) change pom.xml to publish sources as well.

Reply Threaded More More options
Print post
Permalink
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/OPENJPA-839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods updated OPENJPA-839:
---------------------------------

    Fix Version/s: 2.0.0-M4
                   1.3.0
         Assignee: Donald Woods

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

> change pom.xml to publish sources as well.
> ------------------------------------------
>
>                 Key: OPENJPA-839
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-839
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: build / infrastructure
>    Affects Versions: 2.0.0-M2
>            Reporter: Fernando
>            Assignee: Donald Woods
>             Fix For: 1.3.0, 2.0.0-M4
>
>         Attachments: pom-source.diff
>
>
> 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..

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

JIRA jira@apache.org

[jira] Work started: (OPENJPA-839) change pom.xml to publish sources as well.

Reply Threaded More More options
Print post
Permalink
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/OPENJPA-839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on OPENJPA-839 started by Donald Woods.

> change pom.xml to publish sources as well.
> ------------------------------------------
>
>                 Key: OPENJPA-839
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-839
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: build / infrastructure
>    Affects Versions: 2.0.0-M2
>            Reporter: Fernando
>            Assignee: Donald Woods
>             Fix For: 1.3.0, 2.0.0-M4
>
>         Attachments: pom-source.diff
>
>
> 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..

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

JIRA jira@apache.org

[jira] Updated: (OPENJPA-839) change pom.xml to publish sources as well.

Reply Threaded More More options
Print post
Permalink
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/OPENJPA-839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods updated OPENJPA-839:
---------------------------------

    Attachment: OPENJPA-839-trunk.diff

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.

> change pom.xml to publish sources as well.
> ------------------------------------------
>
>                 Key: OPENJPA-839
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-839
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: build / infrastructure
>    Affects Versions: 2.0.0-M2
>            Reporter: Fernando
>            Assignee: Donald Woods
>             Fix For: 1.3.0, 2.0.0-M4
>
>         Attachments: OPENJPA-839-trunk.diff, pom-source.diff
>
>
> 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..

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

JIRA jira@apache.org

[jira] Resolved: (OPENJPA-839) change pom.xml to publish sources as well.

Reply Threaded More More options
Print post
Permalink
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/OPENJPA-839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods resolved OPENJPA-839.
----------------------------------

    Resolution: Fixed

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.

> change pom.xml to publish sources as well.
> ------------------------------------------
>
>                 Key: OPENJPA-839
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-839
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: build / infrastructure
>    Affects Versions: 2.0.0-M2
>            Reporter: Fernando
>            Assignee: Donald Woods
>             Fix For: 1.3.0, 2.0.0-M4
>
>         Attachments: OPENJPA-839-13x.diff, OPENJPA-839-trunk.diff, pom-source.diff
>
>
> 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..

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

JIRA jira@apache.org

[jira] Updated: (OPENJPA-839) change pom.xml to publish sources as well.

Reply Threaded More More options
Print post
Permalink
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/OPENJPA-839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods updated OPENJPA-839:
---------------------------------

    Attachment: OPENJPA-839-13x.diff

Changes committed to the 1.3.x branch.

> change pom.xml to publish sources as well.
> ------------------------------------------
>
>                 Key: OPENJPA-839
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-839
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: build / infrastructure
>    Affects Versions: 2.0.0-M2
>            Reporter: Fernando
>            Assignee: Donald Woods
>             Fix For: 1.3.0, 2.0.0-M4
>
>         Attachments: OPENJPA-839-13x.diff, OPENJPA-839-trunk.diff, pom-source.diff
>
>
> 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..

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.