Laitofai

One jar maven

May 16th, 2019
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.02 KB | None | 0 0
  1.     <build>
  2.         <plugins>
  3.             <plugin>
  4.                 <artifactId>maven-assembly-plugin</artifactId>
  5.                 <configuration>
  6.                     <finalName>ServiceCreate</finalName>
  7.                     <appendAssemblyId>false</appendAssemblyId>
  8.                     <archive>
  9.                         <manifest>
  10.                             <mainClass>com.svt.optimoo.App</mainClass>
  11.                         </manifest>
  12.                     </archive>
  13.                     <descriptorRefs>
  14.                         <descriptorRef>jar-with-dependencies</descriptorRef>
  15.                     </descriptorRefs>
  16.                 </configuration>
  17.             </plugin>
  18.             <plugin>
  19.                 <groupId>org.apache.maven.plugins</groupId>
  20.                 <artifactId>maven-compiler-plugin</artifactId>
  21.                 <configuration>
  22.                     <source>1.8</source>
  23.                     <target>1.8</target>
  24.                 </configuration>
  25.             </plugin>
  26.         </plugins>
  27.     </build>
Advertisement
Add Comment
Please, Sign In to add comment