Put the thresh jar in a place where it will get uploaded
Create a symlink so the target directory is in the place the upload expects Shrink the jar to only what is needed Change-Id: Idb71dae90db4f6e749cc55ffbb106794a89651e1
This commit is contained in:
parent
d1debf628b
commit
6e4fb0720a
22
pom.xml
22
pom.xml
|
@ -58,6 +58,28 @@
|
||||||
<tag>${project.version}</tag>
|
<tag>${project.version}</tag>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>exec-maven-plugin</artifactId>
|
||||||
|
<version>1.1.1</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>some-execution</id>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>exec</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
<configuration>
|
||||||
|
<executable>ln</executable>
|
||||||
|
<arguments>
|
||||||
|
<argument>-sf</argument>
|
||||||
|
<argument>thresh/target</argument>
|
||||||
|
<argument>target</argument>
|
||||||
|
</arguments>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
|
|
@ -79,6 +79,8 @@
|
||||||
<groupId>org.apache.storm</groupId>
|
<groupId>org.apache.storm</groupId>
|
||||||
<artifactId>storm-core</artifactId>
|
<artifactId>storm-core</artifactId>
|
||||||
<version>${storm.version}</version>
|
<version>${storm.version}</version>
|
||||||
|
<!-- The real deployment has all the Storm jars -->
|
||||||
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>monasca-common</groupId>
|
<groupId>monasca-common</groupId>
|
||||||
|
@ -219,7 +221,7 @@
|
||||||
<excludes>
|
<excludes>
|
||||||
<exclude>junit:junit</exclude>
|
<exclude>junit:junit</exclude>
|
||||||
<exclude>org.apache.storm:storm-core</exclude>
|
<exclude>org.apache.storm:storm-core</exclude>
|
||||||
<exclude>org.hamcrest:*</exclude>
|
<exclude>org.hamcrest:hamcrest-core</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
</artifactSet>
|
</artifactSet>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
Loading…
Reference in New Issue