Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- <plugin> -->
- <!-- <groupId>org.apache.maven.plugins</groupId> -->
- <!-- <artifactId>maven-dependency-plugin</artifactId> -->
- <!-- <executions> -->
- <!-- <execution> -->
- <!-- <id>copy</id> -->
- <!-- <phase>prepare-package</phase> -->
- <!-- <goals> -->
- <!-- <goal>copy</goal> -->
- <!-- </goals> -->
- <!-- <configuration> -->
- <!-- <artifactItems> -->
- <!-- <artifactItem> -->
- <!-- <groupId>org.ema.server</groupId> -->
- <!-- <artifactId>web</artifactId> -->
- <!-- <version>0.0.1-SNAPSHOT</version> -->
- <!-- <type>war</type> -->
- <!-- <outputDirectory>${project.build.directory}/${project.artifactId}</outputDirectory> -->
- <!-- </artifactItem> -->
- <!-- </artifactItems> -->
- <!-- </configuration> -->
- <!-- </execution> -->
- <!-- </executions> -->
- <!-- </plugin> -->
- <!-- <plugin> -->
- <!-- <groupId>org.springframework.boot</groupId> -->
- <!-- <artifactId>spring-boot-maven-plugin</artifactId> -->
- <!-- <configuration> -->
- <!-- <fork>true</fork> -->
- <!-- <mainClass>org.ema.server.EasyModelAccessServer</mainClass> -->
- <!-- </configuration> -->
- <!-- <executions> -->
- <!-- <execution> -->
- <!-- <goals> -->
- <!-- <goal>repackage</goal> -->
- <!-- </goals> -->
- <!-- </execution> -->
- <!-- </executions> -->
- <!-- </plugin> -->
- <!-- <plugin> -->
- <!-- <groupId>org.apache.maven.plugins</groupId> -->
- <!-- <artifactId>maven-assembly-plugin</artifactId> -->
- <!-- <version>2.4.1</version> -->
- <!-- <configuration> -->
- <!-- <descriptorRefs> -->
- <!-- <descriptorRef>jar-with-dependencies</descriptorRef> -->
- <!-- </descriptorRefs> -->
- <!-- <archive> -->
- <!-- <manifest> -->
- <!-- <mainClass>org.ema.server.Server</mainClass> -->
- <!-- </manifest> -->
- <!-- </archive> -->
- <!-- </configuration> -->
- <!-- <executions> -->
- <!-- <execution> -->
- <!-- <id>make-assembly</id> -->
- <!-- <phase>package</phase> -->
- <!-- <goals> -->
- <!-- <goal>single</goal> -->
- <!-- </goals> -->
- <!-- </execution> -->
- <!-- </executions> -->
- <!-- </plugin> -->
- <!-- <plugin> -->
- <!-- <groupId>org.apache.maven.plugins</groupId> -->
- <!-- <artifactId>maven-war-plugin</artifactId> -->
- <!-- <configuration> -->
- <!-- <webResources> -->
- <!-- <resource> -->
- <!-- <directory>${project.build.directory}</directory> -->
- <!-- <targetPath>WEB-INF</targetPath> introduced in plugin v 2.1 -->
- <!-- <includes> -->
- <!-- <include>release.txt</include> -->
- <!-- </includes> -->
- <!-- </resource> -->
- <!-- </webResources> -->
- <!-- </configuration> -->
- <!-- </plugin> -->
- <!-- <plugin> -->
- <!-- <groupId>org.apache.maven.plugins</groupId> -->
- <!-- <artifactId>maven-shade-plugin</artifactId> -->
- <!-- <version>3.0.0</version> -->
- <!-- <configuration> -->
- <!-- <transformers> -->
- <!-- <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> -->
- <!-- <mainClass>org.ema.server.Server</mainClass> -->
- <!-- </transformer> -->
- <!-- </transformers> -->
- <!-- </configuration> -->
- <!-- <executions> -->
- <!-- <execution> -->
- <!-- <phase>package</phase> -->
- <!-- <goals> -->
- <!-- <goal>shade</goal> -->
- <!-- </goals> -->
- <!-- </execution> -->
- <!-- </executions> -->
- <!-- </plugin> -->
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <configuration>
- <fork>true</fork>
- <mainClass>org.ema.server.Server</mainClass>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>repackage</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>2.2-beta-5</version>
- <configuration>
- <archive>
- <manifest>
- <addClasspath>true</addClasspath>
- <mainClass>org.ema.server.Server</mainClass>
- </manifest>
- </archive>
- <descriptorRefs>
- <descriptorRef>jar-with-dependencies</descriptorRef>
- </descriptorRefs>
- </configuration>
- <executions>
- <execution>
- <id>assemble-all</id>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement