【发布时间】:2021-11-29 10:48:31
【问题描述】:
我正在使用以下插件将我的 Web 应用程序部署到带有 maven (3.6.3) 的 weblogic 14c:
<plugin>
<groupId>com.oracle.maven</groupId>
<artifactId>oracle-maven-sync</artifactId>
<version>14.1.1-0-0</version>
<executions>
<execution>
<id>wls-deploy</id>
<phase>pre-integration-test</phase>
<goals>
<goal>deploy</goal>
</goals>
<configuration>
<adminurl>t3://localhost:7001</adminurl>
<user>weblogic</user>
<password>weblogic123</password>
<source>${project.build.directory}/${project.build.finalName}.${project.packaging}</source>
<targets>AdminServer</targets>
<verbose>true</verbose>
<name>${project.build.finalName}</name>
</configuration>
</execution>
</executions>
</plugin>
在执行目标时,maven 出现以下错误:
[错误] 在插件中找不到目标“部署” com.oracle.maven:oracle-maven-sync:14.1.1-0-0 在可用目标中 帮助,推动 -> [帮助 1]
Eclipse 还对具有插件配置的 pom 文件发出以下警告:
此插件的目标无效:部署
有什么线索吗?
【问题讨论】:
标签: java maven web-applications weblogic oracle-maven-sync