Hi, I really appreciate the work spent in this stuff - but how many different ways do we now have to configure the bundle list? And none of them is really satisfying I think. Still the best approach we have right now from a configuration point of view is imho the separate xml file. The best way would be to annotate dependencies in the pom directly with their start level - which is - according to the maven guys - not possible atm. But we really want to go this way, I think this is possible, e.g. we could define an xml namespace we use in the pom and then just do: <dependency sling:startLevel="1"> so we annotate the dependency element with our own attribute in our namespace. Maven does not complain about this. We could then just read the pom file ourselves to parse the annotations or use xslt to convert it to a bundle list or any other clever way.
If others think that this way would be much better than the other ways we now have, I'm happy to implement it. WDYT? Regards Carsten 2011/11/4 Justin Edelson (Resolved) (JIRA) <[email protected]>: > > [ > https://issues.apache.org/jira/browse/SLING-2265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > ] > > Justin Edelson resolved SLING-2265. > ----------------------------------- > > Resolution: Fixed > > done in r1197759 with a demo addition to the test-bundles project in r1197760 > >> maven-launchpad-plugin should support a syntax similar to the >> maven-dependency-plugin >> ------------------------------------------------------------------------------------- >> >> Key: SLING-2265 >> URL: https://issues.apache.org/jira/browse/SLING-2265 >> Project: Sling >> Issue Type: Improvement >> Components: Maven Plugins and Archetypes >> Reporter: Justin Edelson >> Assignee: Justin Edelson >> Fix For: Maven Launchpad Plugin 2.1.2 >> >> >> Something like: >> <configuration> >> <includeDependencies> >> <startLevel> >> <level>1</level> >> <includeArtifactIds> >> org.apache.sling.servlets.compat >> </includeArtifactIds> >> </startLevel> >> </includeDependencies> >> </configuration> >> This should take precendence over the mechanism created in SLING-2194 > > -- > This message is automatically generated by JIRA. > If you think it was sent incorrectly, please contact your JIRA > administrators: > https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa > For more information on JIRA, see: http://www.atlassian.com/software/jira > > > -- Carsten Ziegeler [email protected]
