You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by "David Jencks (JIRA)" <ju...@ws.apache.org> on 2010/02/12 02:56:27 UTC

[jira] Updated: (JUDDI-361) Bundle packaging ignoring the JAR plugin excludes

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

David Jencks updated JUDDI-361:
-------------------------------

    Attachment: JUDDI-361.diff

This patch uses maven-bundle-plugin configuration to leave out the persistence.xml etc. files.  It also leaves out the version template that I expect you didn't want anyway.  It also leaves out some plugin configuration that looks unnecessary to me.

My idea for not copying persistence.xmls was to create
src/main/openjpa-resources/META-INF/persistence.xml
src/main/hibernate-resources/META-INF/persistence.xml

and include these in the openjpa and hibernate profiles as resources.  If they need to be in classes for one or the other provider you can add them to classes, not resources.  This kind of mod isn't really good to provide a diff for but I'll try if you want...

> Bundle packaging ignoring the JAR plugin excludes
> -------------------------------------------------
>
>                 Key: JUDDI-361
>                 URL: https://issues.apache.org/jira/browse/JUDDI-361
>             Project: jUDDI
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.0.2
>            Reporter: Tom Cunningham
>            Assignee: Tom Cunningham
>             Fix For: 3.0.2
>
>         Attachments: JUDDI-361.diff
>
>
> The bundle plugin seems to be causing the JAR excludes not to fire.     Adding a <goal>jar</goal> to the executions seems to fix.

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