Maven插件依赖

时间:2016-10-17 12:47:42

标签: maven

我收到错误:目标org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy-file的参数'file','url'丢失或无效。我之前有一个快照工作,无法弄清楚出了什么问题。有线索吗?

    <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-deploy-plugin</artifactId>
        <version>2.7</version>
        <executions>
            <execution>
                <id>deploy-zip-dll</id>
                <phase>deploy</phase>
                <goals>
                    <goal>deploy-file</goal>
                </goals>
                <configuration>
                    <repositoryId>releases</repositoryId>
                    <url>https://ess.modusoperandi.com/nexus/content/repositories/releases/</url>
                    <groupId>${project.groupId}</groupId>
                    <artifactId>${project.artifactId}</artifactId>
                    <version>${project.version}</version>
                    <file>/target/MATLAB_JNI_DLL-bin.zip</file>
                </configuration>
            </execution>
        </executions>
    </plugin>

0 个答案:

没有答案