0

NetBeans 7.3 から Eclipse Kepler に Maven プロジェクトをインポートしました。しかし、NetBeans Maven アクションをインポートする方法がわかりません! ありがとう。

<?xml version="1.0" encoding="UTF-8"?>
<actions>
<action>
    <actionName>run</actionName>
    <goals>
        <goal>process-classes</goal>
        <goal>org.codehaus.mojo:exec-maven-plugin:1.2:exec</goal>
    </goals>
    <properties>
        <exec.args>-Xmx120m -classpath %classpath foo.bar.Main ...</exec.args>
        <exec.executable>java</exec.executable>
        <exec.classpathScope>runtime</exec.classpathScope>
        <exec.workingdir>/Users/....</exec.workingdir>
    </properties>
</action>
4

1 に答える 1

1

これは netbeans 固有のファイルです。Eclipse (m2e) 開発者がフォーマットを認識しない限り、Eclipse がユーザーの Maven 実行を格納するために使用しているフォーマットに手動で変換するしかありません。

于 2013-10-15T18:37:54.173 に答える