Added Maven assembly plugin configuration for JAR packaging
This commit is contained in:
		
							
								
								
									
										25
									
								
								pom.xml
									
									
									
									
									
								
							
							
						
						
									
										25
									
								
								pom.xml
									
									
									
									
									
								
							@@ -54,5 +54,30 @@
 | 
				
			|||||||
				<directory>src/main/resources</directory>
 | 
									<directory>src/main/resources</directory>
 | 
				
			||||||
			</resource>
 | 
								</resource>
 | 
				
			||||||
		</resources>
 | 
							</resources>
 | 
				
			||||||
 | 
							<plugins>
 | 
				
			||||||
 | 
								<plugin>
 | 
				
			||||||
 | 
									<groupId>org.apache.maven.plugins</groupId>
 | 
				
			||||||
 | 
									<artifactId>maven-assembly-plugin</artifactId>
 | 
				
			||||||
 | 
									<version>2.4.1</version>
 | 
				
			||||||
 | 
									<executions>
 | 
				
			||||||
 | 
										<execution>
 | 
				
			||||||
 | 
											<phase>package</phase>
 | 
				
			||||||
 | 
											<goals>
 | 
				
			||||||
 | 
												<goal>single</goal>
 | 
				
			||||||
 | 
											</goals>
 | 
				
			||||||
 | 
											<configuration>
 | 
				
			||||||
 | 
												<archive>
 | 
				
			||||||
 | 
													<manifest>
 | 
				
			||||||
 | 
														<mainClass>envoy.server.Startup</mainClass>
 | 
				
			||||||
 | 
													</manifest>
 | 
				
			||||||
 | 
												</archive>
 | 
				
			||||||
 | 
												<descriptorRefs>
 | 
				
			||||||
 | 
													<descriptorRef>jar-with-dependencies</descriptorRef>
 | 
				
			||||||
 | 
												</descriptorRefs>
 | 
				
			||||||
 | 
											</configuration>
 | 
				
			||||||
 | 
										</execution>
 | 
				
			||||||
 | 
									</executions>
 | 
				
			||||||
 | 
								</plugin>
 | 
				
			||||||
 | 
							</plugins>
 | 
				
			||||||
	</build>
 | 
						</build>
 | 
				
			||||||
</project>
 | 
					</project>
 | 
				
			||||||
		Reference in New Issue
	
	Block a user