[
http://jira.nuxeo.org/browse/NXP-1678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on NXP-1678 started by Julien Carsique.
> writing pom / dependencies
> --------------------------
>
> Key: NXP-1678
> URL: http://jira.nuxeo.org/browse/NXP-1678
> Project: Nuxeo Enterprise Platform 5
> Issue Type: Sub-task
> Reporter: Julien Carsique
> Assignee: Julien Carsique
>
> Need a new dependency in your project ?
> 1. If the dependency is defined in the project parent pom.xml, use the
> same declaration (in a dependencies tag instead of dependencyManagement)
> without the version tag (do not forget type tag if exists).
> 2. If the dependency isn't defined in the parent, search for it in other
> projects :
> * you find it, move the definition to the parent
> dependencyManagement, remove version tags from actual definition(s) and
> declare the dependency in your project
> * you don't find it
> o if the dependency is a nuxeo artifact, add it in the
> parent's dependencyManagement and in your dependencies.
> o else, add it in your project
> The aim is having the versions defined in our parent pom.xml : common, core,
> runtime, theme, platform; this rule applying to most dependencies; except
> those that are very specific to your project.
> Idem for customer projects : the artifacts' versions must be defined in the
> parent pom.xml, in the dependencyManagement section.
> Test dependencies
> If the dependency is needed only by unit test code (nuxeo-runtime-test i.e.),
> and the whole module is not a unit test suite (the code is in src/test/),
> then add <scope>test</scope> to the dependency in your project.
> Speaking about nuxeo-runtime-osgi-test, you shouldn't need adding it as it's
> already indirectly included when depending on nuxeo-runtime-test (which is
> more often used).
> Validating
> Run "mvn validate" to check the pom.xml files configuration.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets