0

いくつかのサードパーティのリポジトリが構成されています。それらからアーティファクトをダウンロードしているため、それらが正しく構成されていることはわかっています。しかし、exec-maven-pluginそれらのサードパーティのリポジトリを認識していないようです。Maven Central で依存関係を探し、そこに POM が存在しないことを通知します。もちろんそうではありません。サードパーティのレポにあります!exec-maven-pluginサードパーティのリポジトリを使用するように指示するために何か特別なことをする必要がありますか?

<plugin>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>exec-maven-plugin</artifactId>
    <version>1.2.1</version>
    <executions>
        <execution>
            <id>emulation</id>
            <phase>generate-sources</phase>
            <goals>
                <goal>java</goal>
            </goals>
            <configuration>
                <mainClass>krum.jplex.JPlex</mainClass>
                <arguments>
                    <argument>${basedir}/src/main/jplex/EmulationLexer.jplex</argument>
                    <argument>${project.build.directory}/generated-sources/jplex</argument>
                    <argument>${project.build.directory}/generated-resources/jplex</argument>
                </arguments>
                <sourceRoot>${project.build.directory}/generated-sources/jplex</sourceRoot>
                <includePluginDependencies>true</includePluginDependencies>
                <classpathScope>compile</classpathScope>
            </configuration>
        </execution>
    </executions>
    <dependencies>
        <dependency>
            <groupId>com.chalcodes.jplex</groupId>
            <artifactId>JPlex</artifactId>
            <version>1.2.1</version>
        </dependency>
    </dependencies>
</plugin>
4

1 に答える 1