exec:exec target
This commit is contained in:
		| @@ -18,6 +18,32 @@ | ||||
|           <release>10</release> | ||||
|         </configuration> | ||||
|       </plugin> | ||||
|       <plugin> | ||||
|         <artifactId>exec-maven-plugin</artifactId> | ||||
|         <version>1.6.0</version> | ||||
|         <groupId>org.codehaus.mojo</groupId> | ||||
|         <executions> | ||||
|           <execution> | ||||
|             <phase>deploy</phase> | ||||
|             <goals> | ||||
|               <goal>exec</goal> | ||||
|             </goals> | ||||
|           </execution> | ||||
|         </executions> | ||||
|         <configuration> | ||||
|           <executable>${project.parent.basedir}/deploy_feature.sh</executable> | ||||
|           <arguments> | ||||
|             <argument>${project.build.directory}/${project.build.finalName}.jar</argument> | ||||
|             <argument>${project.artifactId}</argument> | ||||
|           </arguments> | ||||
|         </configuration> | ||||
|       </plugin> | ||||
|       <plugin> | ||||
|         <artifactId>maven-resources-plugin</artifactId> | ||||
|         <configuration> | ||||
|           <outputDirectory>${project.build.outputDirectory}/resources</outputDirectory> | ||||
|         </configuration> | ||||
|       </plugin> | ||||
|     </plugins> | ||||
|   </build> | ||||
|   <dependencies> | ||||
|   | ||||
| @@ -18,6 +18,32 @@ | ||||
|           <release>10</release> | ||||
|         </configuration> | ||||
|       </plugin> | ||||
|       <plugin> | ||||
|         <artifactId>exec-maven-plugin</artifactId> | ||||
|         <version>1.6.0</version> | ||||
|         <groupId>org.codehaus.mojo</groupId> | ||||
|         <executions> | ||||
|           <execution> | ||||
|             <phase>deploy</phase> | ||||
|             <goals> | ||||
|               <goal>exec</goal> | ||||
|             </goals> | ||||
|           </execution> | ||||
|         </executions> | ||||
|         <configuration> | ||||
|           <executable>${project.parent.basedir}/deploy_feature.sh</executable> | ||||
|           <arguments> | ||||
|             <argument>${project.build.directory}/${project.build.finalName}.jar</argument> | ||||
|             <argument>${project.artifactId}</argument> | ||||
|           </arguments> | ||||
|         </configuration> | ||||
|       </plugin> | ||||
|       <plugin> | ||||
|         <artifactId>maven-resources-plugin</artifactId> | ||||
|         <configuration> | ||||
|           <outputDirectory>${project.build.outputDirectory}/resources</outputDirectory> | ||||
|         </configuration> | ||||
|       </plugin> | ||||
|     </plugins> | ||||
|   </build> | ||||
|   <dependencies> | ||||
|   | ||||
| @@ -18,6 +18,32 @@ | ||||
|           <release>10</release> | ||||
|         </configuration> | ||||
|       </plugin> | ||||
|       <plugin> | ||||
|         <artifactId>exec-maven-plugin</artifactId> | ||||
|         <version>1.6.0</version> | ||||
|         <groupId>org.codehaus.mojo</groupId> | ||||
|         <executions> | ||||
|           <execution> | ||||
|             <phase>deploy</phase> | ||||
|             <goals> | ||||
|               <goal>exec</goal> | ||||
|             </goals> | ||||
|           </execution> | ||||
|         </executions> | ||||
|         <configuration> | ||||
|           <executable>${project.parent.basedir}/deploy_feature.sh</executable> | ||||
|           <arguments> | ||||
|             <argument>${project.build.directory}/${project.build.finalName}.jar</argument> | ||||
|             <argument>${project.artifactId}</argument> | ||||
|           </arguments> | ||||
|         </configuration> | ||||
|       </plugin> | ||||
|       <plugin> | ||||
|         <artifactId>maven-resources-plugin</artifactId> | ||||
|         <configuration> | ||||
|           <outputDirectory>${project.build.outputDirectory}/resources</outputDirectory> | ||||
|         </configuration> | ||||
|       </plugin> | ||||
|     </plugins> | ||||
|   </build> | ||||
|   <dependencies> | ||||
|   | ||||
| @@ -18,6 +18,32 @@ | ||||
|           <release>10</release> | ||||
|         </configuration> | ||||
|       </plugin> | ||||
|       <plugin> | ||||
|         <artifactId>exec-maven-plugin</artifactId> | ||||
|         <version>1.6.0</version> | ||||
|         <groupId>org.codehaus.mojo</groupId> | ||||
|         <executions> | ||||
|           <execution> | ||||
|             <phase>deploy</phase> | ||||
|             <goals> | ||||
|               <goal>exec</goal> | ||||
|             </goals> | ||||
|           </execution> | ||||
|         </executions> | ||||
|         <configuration> | ||||
|           <executable>${project.parent.basedir}/deploy_feature.sh</executable> | ||||
|           <arguments> | ||||
|             <argument>${project.build.directory}/${project.build.finalName}.jar</argument> | ||||
|             <argument>${project.artifactId}</argument> | ||||
|           </arguments> | ||||
|         </configuration> | ||||
|       </plugin> | ||||
|       <plugin> | ||||
|         <artifactId>maven-resources-plugin</artifactId> | ||||
|         <configuration> | ||||
|           <outputDirectory>${project.build.outputDirectory}/resources</outputDirectory> | ||||
|         </configuration> | ||||
|       </plugin> | ||||
|     </plugins> | ||||
|   </build> | ||||
|   <dependencies> | ||||
|   | ||||
| @@ -18,6 +18,32 @@ | ||||
|           <release>10</release> | ||||
|         </configuration> | ||||
|       </plugin> | ||||
|       <plugin> | ||||
|         <artifactId>exec-maven-plugin</artifactId> | ||||
|         <version>1.6.0</version> | ||||
|         <groupId>org.codehaus.mojo</groupId> | ||||
|         <executions> | ||||
|           <execution> | ||||
|             <phase>deploy</phase> | ||||
|             <goals> | ||||
|               <goal>exec</goal> | ||||
|             </goals> | ||||
|           </execution> | ||||
|         </executions> | ||||
|         <configuration> | ||||
|           <executable>${project.parent.basedir}/deploy_feature.sh</executable> | ||||
|           <arguments> | ||||
|             <argument>${project.build.directory}/${project.build.finalName}.jar</argument> | ||||
|             <argument>${project.artifactId}</argument> | ||||
|           </arguments> | ||||
|         </configuration> | ||||
|       </plugin> | ||||
|       <plugin> | ||||
|         <artifactId>maven-resources-plugin</artifactId> | ||||
|         <configuration> | ||||
|           <outputDirectory>${project.build.outputDirectory}/resources</outputDirectory> | ||||
|         </configuration> | ||||
|       </plugin> | ||||
|     </plugins> | ||||
|   </build> | ||||
|   <dependencies> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user