Skip to content

Commit

Permalink
chore: update pom.xml to meet the global config
Browse files Browse the repository at this point in the history
  • Loading branch information
ariwk authored Oct 13, 2023
1 parent 6069a45 commit 590e1ec
Showing 1 changed file with 47 additions and 30 deletions.
77 changes: 47 additions & 30 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,36 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<project>
<modelVersion>4.0.0</modelVersion>

<groupId>ch.sbb.polarion.extensions</groupId>
<artifactId>ch.sbb.polarion.extension.template</artifactId>
<version>0.0.0</version>
<packaging>pom</packaging>

<distributionManagement>
<repository>
<id>s3</id>
<url>s3://sbb-polarion-maven-repo/polarion.mvn</url>
</repository>
<snapshotRepository>
<id>s3</id>
<url>s3://sbb-polarion-maven-repo/polarion.mvn</url>
</snapshotRepository>
</distributionManagement>

<parent>
<groupId>ch.sbb.polarion.extensions</groupId>
<artifactId>ch.sbb.polarion.extension.generic.parent-pom</artifactId>
<version>2.0.0</version>
</parent>

<artifactId>ch.sbb.polarion.extension.extension-name</artifactId>
<version>0.0.0-SNAPSHOT</version>
<packaging>jar</packaging>

<properties>
<maven-jar-plugin.Extension-Context>extension-name</maven-jar-plugin.Extension-Context>
<maven-jar-plugin.Automatic-Module-Name>ch.sbb.polarion.extension.extension_name</maven-jar-plugin.Automatic-Module-Name>

<web.app.name>${maven-jar-plugin.Extension-Context}</web.app.name>
</properties>

<dependencies>
<dependency>
<groupId>ch.sbb.polarion.extensions</groupId>
<artifactId>ch.sbb.polarion.extension.generic.app</artifactId>
<version>${project.parent.version}</version>
</dependency>
</dependencies>

<build>
<extensions>
<extension>
<groupId>com.github.seahen</groupId>
<artifactId>maven-s3-wagon</artifactId>
<version>1.3.3</version>
</extension>
</extensions>
</build>

<modules>
<module>pom</module>
<module>app</module>
</modules>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
</plugin>

<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 590e1ec

Please sign in to comment.