我在路径"C:\ ptc\Windchill_10.1\Windchill"中有一个zip文件.请任何人都可以告诉我如何使用maven解压缩此文件
我想知道如何将$ {project.build.outputDirectory}的默认值从目标/类更改为maven中的codebase.
谢谢
我想使用单个pom.xml在maven中运行多个命令提示符命令.我怎样才能做到这一点?
例如:我有2个命令要执行.我正在使用执行第一个命令exec-maven-plugin.下面是我的pom.xml执行第一个命令的部分:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2.1</version>
<executions>
<execution>
<id>load files</id>
<phase>install</phase>
<goals>
<goal>exec</goal>
</goals>
</execution>
</executions>
<configuration>
<executable>windchill</executable>
<arguments>
<argument>wt.load.LoadFileSet</argument>
<argument>-file</argument>
<argument>${basedir}/fileSet.xml</argument>
<argument>-UNATTENDED</argument>
<argument>-NOSERVERSTOP</argument>
<argument>-u</argument>
<argument>wcadmin</argument>
<argument>-p</argument>
<argument>wcadmin</argument>
</arguments>
</configuration>
</plugin>
Run Code Online (Sandbox Code Playgroud)
为此,构建是成功的.是否可以在同一个pom.xml中执行另外一个命令?我无法做到这一点.所以有人请帮助如何在pom.xml中添加它