0

コマンドプロンプトコマンドを実行しようとしているmavenプロジェクトを作成しています。Exec Maven Plugin を試しましたが、できませんでした。私はこれについて間違った方法をとっていると思います。「Exec Maven Plugin」でファイルを作る作業はこちら。誰かがこれが機能しない理由を説明したり、pom.xml (Ant ではない) で機能している新しいプラグインまたはソリューションについて提案したりできますか。

 `<build>
    <plugins>
        <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>exec-maven-plugin</artifactId>
            <version>1.2.1</version>
            <executions>
                <execution>
                    <goals>
                        <goal>exec</goal>
                    </goals>
                </execution>
            </executions>
            <configuration>
                <executable>mkdir</executable>
                <arguments>
                    <argument>C:\Users\USERNAME\Desktop\FILENAME</argument>
                </arguments>
            </configuration>
        </plugin>
    </plugins>
</build>`

ありがとうございました..

4

1 に答える 1