Skip to content

Commit

Permalink
Use maven KleeRepo profile for internal deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
skerdudou committed Jun 17, 2024
1 parent bbae855 commit 8bfb41d
Showing 1 changed file with 23 additions and 26 deletions.
49 changes: 23 additions & 26 deletions vertigo-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,10 @@
<repository>
<id>ossrh</id>
<name>OSSRH Releases</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
<url>https://oss.sonatype.org.nope/service/local/staging/deploy/maven2/</url>
</repository>
<!-- snapshotRepository> <id>ossrh</id> <name>OSSRH Snapshot</name> <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository -->
<snapshotRepository>
<id>klee-nexus</id>
<name>KleeGoup nexus Snapshots</name>
<url>http://kleegroup-nexus:8080/nexus/content/repositories/snapshots/</url>
</snapshotRepository>
</distributionManagement>

<properties>
Expand Down Expand Up @@ -195,26 +190,6 @@

</build>
<profiles>
<profile>
<id>release-snapshot</id>
<build>
<plugins>
<plugin><!--Config pour déployer les sources -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>release</id>
<activation>
Expand Down Expand Up @@ -310,7 +285,29 @@
<name>KleeGoup nexus Releases Candidate</name>
<url>http://kleegroup-nexus:8080/nexus/content/repositories/releases/</url>
</repository>
<snapshotRepository>
<id>klee-nexus</id>
<name>KleeGoup nexus Snapshots</name>
<url>http://kleegroup-nexus:8080/nexus/content/repositories/snapshots/</url>
</snapshotRepository>
</distributionManagement>
<build>
<plugins>
<plugin><!--Config pour déployer les sources -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit 8bfb41d

Please sign in to comment.