Commit 6888a65f authored by Paff's avatar Paff
Browse files

pom with plug in for fat jar

pom without sonar plugin for jenkins update
constant for pre analysis parameter checking
parent 76b9c629
...@@ -81,6 +81,11 @@ public final class MontiSecArcConstants extends Interfaces2Constants { ...@@ -81,6 +81,11 @@ public final class MontiSecArcConstants extends Interfaces2Constants {
*/ */
public static final String CPE_NAME = "version"; public static final String CPE_NAME = "version";
/**
* Checks, if the parameter exist
*/
public static final String PREPARE_PARAMETER = "secPreParameter";
/** /**
* Workflow name for analysis as beginner * Workflow name for analysis as beginner
*/ */
......
...@@ -40,11 +40,11 @@ ...@@ -40,11 +40,11 @@
<build> <build>
<plugins> <plugins>
<plugin> <!-- <plugin>
<groupId>org.codehaus.sonar</groupId> <groupId>org.codehaus.sonar</groupId>
<artifactId>sonar-maven-plugin</artifactId> <artifactId>sonar-maven-plugin</artifactId>
<version>${sonar.version}</version> <version>${sonar.version}</version>
</plugin> </plugin> -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
...@@ -54,6 +54,85 @@ ...@@ -54,6 +54,85 @@
<tagNameFormat>montiSecArc-@{project.version}</tagNameFormat> <tagNameFormat>montiSecArc-@{project.version}</tagNameFormat>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.4</version>
<executions>
<execution>
<id>assemble-machine</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>de.sensorcloud.demo.m6.Deployment.MachineNode</mainClass>
</manifest>
</archive>
<finalName>machine</finalName>
<attach>false</attach>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
</execution>
<execution>
<id>assemble-gateway</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>de.sensorcloud.demo.m6.Deployment.GatewayNode</mainClass>
</manifest>
</archive>
<finalName>gateway</finalName>
<attach>false</attach>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
</execution>
<execution>
<id>assemble-server</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>de.sensorcloud.demo.m6.Deployment.ServerNode</mainClass>
</manifest>
</archive>
<finalName>server</finalName>
<attach>false</attach>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
</execution>
</executions>
</plugin>
</plugins> </plugins>
<extensions> <extensions>
<extension> <extension>
......
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