Commit 2bf4e1ca authored by Matija Obreza's avatar Matija Obreza
Browse files

Models: Deploy models artifact

parent ccc8bfe6
......@@ -18,24 +18,32 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.genesys-pgr</groupId>
<artifactId>application-blocks</artifactId>
<artifactId>application-blocks-parent</artifactId>
<version>4.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
<relativePath>../parent/pom.xml</relativePath>
</parent>
<artifactId>application-blocks-model</artifactId>
<packaging>pom</packaging>
<name>Application Blocks models</name>
<description>Build a jar file of app-block models</description>
<packaging>jar</packaging>
<name>Application Blocks data model</name>
<description>Only the Java POJO data models defined by application-blocks</description>
<properties>
<skip.deploy.artifact>false</skip.deploy.artifact>
</properties>
<build>
<plugins>
<plugin>
<!-- NOTE: We don't need a groupId specification because the group is
org.apache.maven.plugins ...which is assumed by default.
-->
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.2</version>
<executions>
<execution>
<id>default-jar</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.3.0</version>
<executions>
......@@ -46,7 +54,7 @@
<goal>single</goal>
</goals>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<appendAssemblyId>true</appendAssemblyId>
<attach>true</attach> <!-- Add to output -->
<descriptors>
<descriptor>src/assembly/model-jar.xml</descriptor>
......@@ -59,11 +67,5 @@
</build>
<dependencies>
<!-- Included here because it is a "provided" dependency -->
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-commons</artifactId>
<version>2.5.3</version>
</dependency>
</dependencies>
</project>
......@@ -32,9 +32,10 @@
</unpackOptions>
<dependencySets>
<dependencySet>
<!-- <useTransitiveDependencies>true</useTransitiveDependencies>
<useTransitiveFiltering>true</useTransitiveFiltering> -->
<useTransitiveDependencies>true</useTransitiveDependencies>
<useTransitiveFiltering>true</useTransitiveFiltering>
<useStrictFiltering>true</useStrictFiltering>
<scope>provided</scope>
<includes>
<include>org.springframework.data:spring-data-commons:jar</include>
</includes>
......
......@@ -161,6 +161,7 @@
<groupId>jakarta.annotation</groupId>
<artifactId>jakarta.annotation-api</artifactId>
<version>1.3.5</version>
<scope>provided</scope>
</dependency>
<!-- Logging dependencies -->
......@@ -168,6 +169,7 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
......
......@@ -80,6 +80,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.5.2</version>
<configuration>
<skip>${skip.deploy.artifact}</skip>
</configuration>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment