Commit fa3e8857 authored by dthakore's avatar dthakore

Changing the poms to also generate the uberjar

parent f368be04
......@@ -12,6 +12,32 @@
<name>OCAP RI Stubs Zip</name>
<dependencies>
<dependency>
<groupId>com.cablelabs.ocap</groupId>
<artifactId>ocap_api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.cablelabs.ocap</groupId>
<artifactId>ocap_ds</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.cablelabs.ocap</groupId>
<artifactId>ocap_dvr</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.cablelabs.ocap</groupId>
<artifactId>ocap_fp</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.cablelabs.ocap</groupId>
<artifactId>ocap_hn</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.cablelabs.ocap</groupId>
<artifactId>ocap_api</artifactId>
......@@ -80,6 +106,29 @@
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>1.6</version>
<configuration>
<artifactSet>
<includes>
<include>com.cablelabs.ocap:ocap_api:jar:*</include>
</includes>
</artifactSet>
<finalName>ocap-stub</finalName>
</configuration>
<executions>
<execution>
<id>uberjar</id>
<goals>
<goal>shade</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
......
......@@ -11,7 +11,14 @@
<outputDirectory>/</outputDirectory>
<useProjectArtifact>false</useProjectArtifact>
<scope>runtime</scope>
<useTransitiveDependencies>false</useTransitiveDependencies>
<useTransitiveDependencies>false</useTransitiveDependencies>
<includes>
<include>com.cablelabs.ocap:ocap_api:zip:src</include>
<include>com.cablelabs.ocap:ocap_ds:zip:src</include>
<include>com.cablelabs.ocap:ocap_dvr:zip:src</include>
<include>com.cablelabs.ocap:ocap_fp:zip:src</include>
<include>com.cablelabs.ocap:ocap_hn:zip:src</include>
</includes>
</dependencySet>
</dependencySets>
</assembly>
Markdown is supported
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