Skip to content

Commit

Permalink
Deploy GEMOC artefacts to maven repository (repo.eclipse.org) (#204)
Browse files Browse the repository at this point in the history
* deploy a selection of artefact to nexus

Signed-off-by: Didier Vojtisek <didier.vojtisek@inria.fr>
  • Loading branch information
dvojtise authored Feb 21, 2020
1 parent 8948881 commit bae56c2
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 9 deletions.
16 changes: 15 additions & 1 deletion dev_support/full_compilation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
<version>3.0.0-SNAPSHOT</version>
<name>Complete GEMOC Studio compilation</name>

<properties>
<maven.deploy.skip>true</maven.deploy.skip>
</properties>
<modules>
<module>../../../gemoc-studio/official_samples/sample.deployers</module>
<module>../../../gemoc-studio/docs/org.eclipse.gemoc.studio.doc</module>
Expand All @@ -19,5 +22,16 @@
<module>../../../gemoc-studio-moccml</module>
<module>../../../gemoc-studio-execution-moccml</module>
</modules>

<distributionManagement>
<repository>
<id>repo.eclipse.org</id>
<name>GEMOC Project Repository - Releases</name>
<url>https://repo.eclipse.org/content/repositories/gemoc-releases/</url>
</repository>
<snapshotRepository>
<id>repo.eclipse.org</id>
<name>GEMOC Project Repository - Snapshots</name>
<url>https://repo.eclipse.org/content/repositories/gemoc-snapshots/</url>
</snapshotRepository>
</distributionManagement>
</project>
18 changes: 10 additions & 8 deletions docs/org.eclipse.gemoc.studio.doc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@

<properties>
<!-- Distribution URLs -->
<jboss.releases.repo.url>https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/</jboss.releases.repo.url>
<jboss.snapshots.repo.url>https://repository.jboss.org/nexus/content/repositories/snapshots/</jboss.snapshots.repo.url>
<gemoc.releases.repo.url>https://repo.eclipse.org/content/repositories/gemoc-releases/</gemoc.releases.repo.url>
<gemoc.snapshots.repo.url>https://repo.eclipse.org/content/repositories/gemoc-snapshots/</gemoc.snapshots.repo.url>

<maven.deploy.skip>true</maven.deploy.skip>
</properties>

<scm>
Expand All @@ -38,14 +40,14 @@

<distributionManagement>
<repository>
<id>jboss-releases-repository</id>
<name>JBoss Releases Repository</name>
<url>${jboss.releases.repo.url}</url>
<id>repo.eclipse.org</id>
<name>GEMOC Releases Repository</name>
<url>${gemoc.releases.repo.url}</url>
</repository>
<snapshotRepository>
<id>jboss-snapshots-repository</id>
<name>JBoss Snapshots Repository</name>
<url>${jboss.snapshots.repo.url}</url>
<id>repo.eclipse.org</id>
<name>GEMOC Snapshots Repository</name>
<url>${gemoc.snapshots.repo.url}</url>
</snapshotRepository>
</distributionManagement>

Expand Down
13 changes: 13 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
<timesquare.p2.url>http://timesquare.inria.fr/update_site/photon</timesquare.p2.url>
<diverse-commons.p2.url>http://www.kermeta.org/diverse-commons/updates/latest</diverse-commons.p2.url>
<sirius.p2.url>http://download.eclipse.org/sirius/updates/releases/6.1.3/photon</sirius.p2.url>
<maven.deploy.skip>true</maven.deploy.skip>
</properties>

<build>
Expand Down Expand Up @@ -211,4 +212,16 @@
</plugins>
</pluginManagement>
</build>
<distributionManagement>
<repository>
<id>repo.eclipse.org</id>
<name>GEMOC Project Repository - Releases</name>
<url>https://repo.eclipse.org/content/repositories/gemoc-releases/</url>
</repository>
<snapshotRepository>
<id>repo.eclipse.org</id>
<name>GEMOC Project Repository - Snapshots</name>
<url>https://repo.eclipse.org/content/repositories/gemoc-snapshots/</url>
</snapshotRepository>
</distributionManagement>
</project>

0 comments on commit bae56c2

Please sign in to comment.