瀏覽代碼

add execution phase

Sebastian Stenzel 9 年之前
父節點
當前提交
0e523599a3
共有 1 個文件被更改,包括 10 次插入3 次删除
  1. 10 3
      main/ant-kit/pom.xml

+ 10 - 3
main/ant-kit/pom.xml

@@ -22,9 +22,7 @@
 		</dependency>
 	</dependencies>
 
-	<build>
-		<defaultGoal>clean assembly:assembly</defaultGoal>
-		
+	<build>	
 		<plugins>
 			<!-- copy libraries to target/libs/: -->
 			<plugin>
@@ -73,6 +71,15 @@
 			<plugin>
 				<groupId>org.apache.maven.plugins</groupId>
 				<artifactId>maven-assembly-plugin</artifactId>
+				<executions>
+					<execution>
+						<id>make-assembly</id>
+						<phase>package</phase>
+						<goals>
+							<goal>single</goal>
+						</goals>
+					</execution>
+				</executions>
 				<configuration>
 					<descriptor>assembly.xml</descriptor>
 					<finalName>cryptomator_${project.version}</finalName>