Skip to content

Commit

Permalink
fix #1023: add possibility to reference staging artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaferraro committed Nov 4, 2019
1 parent b12edfc commit 0478f5c
Show file tree
Hide file tree
Showing 10 changed files with 4,557 additions and 19 deletions.
36 changes: 36 additions & 0 deletions build/maven/pom-catalog.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,43 @@
</pluginRepositories>


<profiles>
<profile>
<id>staging</id>
<activation>
<property>
<name>staging.repo</name>
</property>
</activation>

<repositories>
<repository>
<id>staging</id>
<url>${staging.repo}</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>

<pluginRepositories>
<pluginRepository>
<id>staging</id>
<url>${staging.repo}</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>

</profile>
</profiles>


</project>
38 changes: 38 additions & 0 deletions build/maven/pom-runtime.xml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,44 @@
</pluginRepository>
</pluginRepositories>

<profiles>
<profile>
<id>staging</id>
<activation>
<property>
<name>staging.repo</name>
</property>
</activation>

<repositories>
<repository>
<id>staging</id>
<url>${staging.repo}</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>

<pluginRepositories>
<pluginRepository>
<id>staging</id>
<url>${staging.repo}</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>

</profile>
</profiles>

<build>
<plugins>
<plugin>
Expand Down
Loading

0 comments on commit 0478f5c

Please sign in to comment.