[
https://jira.nuxeo.com/browse/NXS-885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=109093#comment-109093
]
Julien Carsique commented on NXS-885:
-------------------------------------
Maybe the following changes would solve that issue:
- Naming the artifacts: ${project}-0.0-${timestamp}-${buildnumber}.extension
instead of ${project}-0.0-SNAPSHOT.extension with timestamp of the form
"20120106.144525" and buildnumber an incremented number
- Create a maven-metadata.xml beside the artifacts which would contain
something like:
{code}
<metadata>
<groupId>nuxeo-studio</groupId>
<artifactId>${project}</artifactId>
<version>0.0-SNAPSHOT</version>
<versioning>
<snapshot>
<timestamp>${timestamp}</timestamp>
<buildNumber>${buildnumber}</buildNumber>
</snapshot>
<lastUpdated>${concatenated timestamp without dot between date and
time}</lastUpdated>
</versioning>
</metadata>
{code}
Note:
- 0.0-SNAPSHOT and 0.0-${timestamp}-${buildnumber} are both valid schema
depending on Maven options, so maybe 0.0-SNAPSHOT is acceptable.
- buildnumber is deprecated since Maven 3.x ... (no comment!)
- there are also metadata files in the parent directories but I don't think
they are required for that feature.
> Nuxeo Studio Maven artifact seems not to be updated
> ---------------------------------------------------
>
> Key: NXS-885
> URL: https://jira.nuxeo.com/browse/NXS-885
> Project: Nuxeo Studio
> Issue Type: Bug
> Affects Versions: 2.5
> Reporter: Sun Tan
> Priority: Critical
> Fix For: 2.5.1, Short term backlog
>
>
> When trying to retrieve Nuxeo studio artifact from Maven and using the
> "trunk" version (0.0.0-SNAPSHOT), Maven only retrieve the remote version the
> first time but nothing happens once the artifact is already in the local
> repository even if the project has changed in Nuxeo Studio and the jar is
> updated in the maven repository.
> In our maven repository for studio, we need to add indexes indicating the
> last version available to maven clients.
--
This message is automatically generated by JIRA.
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