github.com/emc-advanced-dev/unik@v0.0.0-20190717152701-a58d3e8e33b7/test/test_apps/test_java_app/pom.xml (about)

     1  <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     2    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     3    <modelVersion>4.0.0</modelVersion>
     4  
     5    <groupId>com.emc.testapp</groupId>
     6    <artifactId>testapp</artifactId>
     7    <version>1.0-SNAPSHOT</version>
     8    <packaging>jar</packaging>
     9  
    10    <name>testapp</name>
    11    <url>http://maven.apache.org</url>
    12  
    13    <properties>
    14      <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    15    </properties>
    16  
    17    <dependencies>
    18      <dependency>
    19        <groupId>junit</groupId>
    20        <artifactId>junit</artifactId>
    21        <version>3.8.1</version>
    22        <scope>test</scope>
    23      </dependency>
    24    </dependencies>
    25  
    26  
    27    <build>
    28      <plugins>
    29      	<plugin>
    30      		<artifactId>maven-compiler-plugin</artifactId>
    31      		<version>2.3.2</version>
    32      		<configuration>
    33      			<source>1.7</source>
    34      			<target>1.7</target>
    35      		</configuration>
    36      	</plugin>
    37        <plugin>
    38          <groupId>org.apache.maven.plugins</groupId>
    39          <artifactId>maven-assembly-plugin</artifactId>
    40          <version>2.2-beta-4</version>
    41          <configuration>
    42            <descriptorRefs>
    43              <descriptorRef>jar-with-dependencies</descriptorRef>
    44            </descriptorRefs>
    45            <archive>
    46              <manifest>
    47                <mainClass>com.emc.testapp.App</mainClass>
    48              </manifest>
    49            </archive>
    50          </configuration>
    51          <executions>
    52            <execution>
    53              <phase>package</phase>
    54              <goals>
    55                <goal>single</goal>
    56              </goals>
    57            </execution>
    58          </executions>
    59        </plugin>
    60      </plugins>
    61    </build>
    62  </project>