Nexus configuration [message #1732554] |
Wed, 18 May 2016 08:41 |
|
Dear all,
I am working in the Eclipse papyrus project and I have a difficulty with additional artifacts deployment on the eclipse official nexus.
We have configured our project with tycho and activated the nexus deploy from our hudson with the advice writtent here [1].
The resulting job is here [2].
Here an extract of the distributionManagement section:
<distributionManagement>
<repository>
<id>repo.eclipse.org</id>
<name>Papyrus
Repository - Releases
</name>
<url>https://repo.eclipse.org/content/repositories/papyrus-releases/
</url>
</repository>
<snapshotRepository>
<id>repo.eclipse.org</id>
<name>Papyrus
Repository - Snapshots
</name>
<url>https://repo.eclipse.org/content/repositories/papyrus-snapshots/
</url>
<uniqueVersion>true</uniqueVersion>
</snapshotRepository>
We have included in one of our pom a deploy-file for our uml model.
Baddly it seems that the deploy-file is lost and deploy the artifact to the release repository and not the snapshot repository.
[INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ org.eclipse.papyrus.sysml14 ---
[INFO] Deploying org.eclipse.papyrus.sysml:org.eclipse.papyrus.sysml14:0.9.0-SNAPSHOT at end
[INFO]
[INFO] --- maven-deploy-plugin:2.8.2:deploy-file (QUDV.di) @ org.eclipse.papyrus.sysml14 ---
Downloading: https://repo.eclipse.org/content/repositories/papyrus-releases/org/eclipse/papyrus/sysml/org.eclipse.papyrus.sysml14/0.9.0-SNAPSHOT/maven-metadata.xml
Uploading: https://repo.eclipse.org/content/repositories/papyrus-releases/org/eclipse/papyrus/sysml/org.eclipse.papyrus.sysml14/0.9.0-SNAPSHOT/org.eclipse.papyrus.sysml14-0.9.0-20160517.152854-1.di
Uploading: https://repo.eclipse.org/content/repositories/papyrus-releases/org/eclipse/papyrus/sysml/org.eclipse.papyrus.sysml14/0.9.0-SNAPSHOT/org.eclipse.papyrus.sysml14-0.9.0-20160517.152854-1.pom
Why do we have aconfiguration with two repositories with the same id, which raises a warning with Maven?
How to solve the deploy-file into the right repository?
Thanks
[1]: https://wiki.eclipse.org/Services/Nexus
[2]: https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-nexus-deploy/configure
|
|
|
|
Powered by
FUDForum. Page generated in 0.02776 seconds