Automatically update resources with correct location of bnd files
-----------------------------------------------------------------

                 Key: PAXCONSTRUCT-9
                 URL: http://issues.ops4j.org/jira/browse/PAXCONSTRUCT-9
             Project: Pax Construct
          Issue Type: Improvement
          Components: maven-archetype-osgi-project, maven-pax-plugin
    Affects Versions: 0.1.4
            Reporter: Stuart McCulloch
         Assigned To: Stuart McCulloch
             Fix For: 0.1.5


Pax Construct 0.1.4 uses resource definitions in the parent poms which direct 
Maven to filter and copy the relevant bnd files into the build directory.

However, this means that when the bundle is moved to another location, the user 
has to update the resource definitions in the bundle pom, as the path has 
changed. It also means that if you want to add your own specific resource 
locations, you also need to copy the resource definitions from the parent, 
because Maven doesn't let you inherit and extend them.

Given that the maven-pax-plugin already participates in the packaging build 
phase (to create project files) it could be extended to also take part in the 
generate-resources phase, automatically filtering and copying the correct bnd 
files from the right location (also allowing users to override this with a 
local pom setting).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to