部署 Web 应用程序时出现 oracle-maven-sync 插件 (v14.1.1) 错误:'deploy' 找不到目标

oracle-maven-sync plugin (v14.1.1) error while deploying web application: 'deploy' goal not found

我正在使用以下插件通过 maven (3.6.3) 将我的 Web 应用程序部署到 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 出现以下错误:

[ERROR] Could not find goal 'deploy' in plugin com.oracle.maven:oracle-maven-sync:14.1.1-0-0 among available goals help, push -> [Help 1]

Eclipse 还针对具有插件配置的 pom 文件发出以下警告:

Invalid goal for this plugin: deploy

有线索吗?

也许您应该改用 weblogic-maven-plugin。参见 https://docs.oracle.com/en/middleware/standalone/weblogic-server/14.1.1.0/wlprg/maven.html#GUID-1E101A83-0099-4089-A9EE-3999F2C8D84C