Skip to content

Commit

Permalink
OZ-196: Add distributionManagement to demo project
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuisson committed Dec 18, 2023
1 parent 2b421fa commit c1cb4c1
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 24 deletions.
60 changes: 37 additions & 23 deletions demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencies/>
<dependencies />

<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -55,26 +55,40 @@
</execution>
</executions>
</plugin>
<!-- Package as a Zip file -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>Package as a Zip fie</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>assembly.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
<!-- Package as a Zip file -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>Package as a Zip fie</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>assembly.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

<distributionManagement>
<repository>
<name>Mekom Solutions Nexus repo for releases</name>
<id>mks-nexus-public-releases</id>
<url>https://nexus.mekomsolutions.net/repository/maven-releases</url>
</repository>
<snapshotRepository>
<name>Mekom Solutions Nexus repo for snapshots</name>
<id>mks-nexus-public-snapshots</id>
<url>https://nexus.mekomsolutions.net/repository/maven-snapshots</url>
</snapshotRepository>
</distributionManagement>

</project>
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -150,5 +150,5 @@
<url>https://nexus.mekomsolutions.net/repository/maven-snapshots</url>
</snapshotRepository>
</distributionManagement>

</project>

0 comments on commit c1cb4c1

Please sign in to comment.