我尝试使用maven weblogic插件部署我的应用程序。我收到以下错误消息,并且不确定'未指定工件位置'的含义。
[ERROR] Failed to execute goal com.oracle.weblogic:weblogic-maven-plugin:12.2.1-1-0:redeploy (default-cli) on project mdm_client: org.apache.maven.plugin.MojoExecutionException: The artifact location was not specified.
[ERROR] at weblogic.tools.maven.plugins.BaseMojo.getArtifactFile(BaseMojo.java:112)
[ERROR] at weblogic.tools.maven.plugins.deploy.RedeployMojo.populateParameters(RedeployMojo.java:297)
[ERROR] at weblogic.tools.maven.plugins.deploy.RedeployMojo.execute(RedeployMojo.java:263)
[ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
我的应用程序POM.xml
<!-- WebLogic Server 12c Maven Plugin -->
<plugin>
<groupId>com.oracle.weblogic</groupId>
<artifactId>weblogic-maven-plugin</artifactId>
<version>12.2.1-1-0</version>
<executions>
<execution>
<id>wls-redeploy</id>
<phase>development build</phase>
<goals>
<goal>redeploy</goal>
</goals>
</execution>
</executions>
<configuration>
<adminurl>t3://localhost:7001</adminurl>
<middlewareHome>C:/Oracle/Middleware</middlewareHome>
<domainHome>project</domainHome>
<user>${user}</user>
<password>${password}</password>
<name>${name}</name>
<remote>${remote}</remote>
<upload>${upload}</upload>
<targets>${targets}</targets>
</configuration>
</plugin>