Team, I am facing the below issue. I am attaching the pom file here for your reference….
I am facing the same issue even when I change the version. To 1.7 and change target to tasks ====== [*ERROR*] Unknown lifecycle phase " ". You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> *[Help 1]* *org.apache.maven.lifecycle.LifecyclePhaseNotFoundException*: *Unknown lifecycle phase " ". You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<g**oal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy.* ====== Thanks in advance for your help.
<?xml version="1.0" encoding="UTF-8"?> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.oracle.servicebus</groupId> <artifactId>sbar-project-common</artifactId> <version>12.2.1-3-0</version> <relativePath></relativePath> </parent> <groupId>IBPEnterpriseServiceBusApplication</groupId> <artifactId>SiebelCustomerSE</artifactId> <version>1.0-SNAPSHOT</version> <packaging>sbar</packaging> <description/> <build> <plugins> <plugin> <artifactId>maven-antrun-plugin</artifactId> <version>1.8</version> <executions> <execution> <id>customization</id> <configuration> <target> <echo message="plugin classpath: *****************************Creating customization plan of ${project.artifactId} for ${server} environmentd ********************************************** "/> <property name="build.home" value="C:\Oracle\12c\MavenDeployment"/> <condition property="build.number" value="${env.BUILD_NUMBER}"> <isset property="env.BUILD_NUMBER"/> </condition> <buildnumber file="${build.home}/build/build.num"/> <property name="deployment.environment" value="${server}"/> <property name="application.home" value="C:\Oracle\12c\MYWORK\OSB"/> <property name="artifactId" value="${project.artifactId}"/> <ant antfile="${build.home}\build\build.xml" target="IEEE"/> <echo message="plugin classpath: **************************************************************************** "/> </target> <exportAntProperties>true</exportAntProperties> </configuration> <goals> <goal>run</goal> </goals> </execution> <execution> <id>property</id> <configuration> <target> <echo message="******** Renaming property file of ${project.artifactId} for ${deployment.environment} environment ********"/> <property name="build.home" value="/Users/sbeeram/Documents/Sireesha/SOA-Upgrade/OSB"/> <property name="build.number" value="${env.BUILD_NUMBER}"/> <property name="deployment.environment" value="${server}"/> <property name="artifactId" value="${project.artifactId}"/> <ant antfile="${build.home}\build\build.xml" target="PROPERTY"/> <echo message="*******************************************************************************************"/> </target> <exportAntProperties>true</exportAntProperties> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>com.oracle.servicebus.plugin</groupId> <artifactId>oracle-servicebus-plugin</artifactId> <version>12.2.1-3-0</version> <configuration> <!--customization>${build.path}/SiebelCustomerSE_cfgplan.xml</customization--> <oracleServerUrl>${server.url}</oracleServerUrl> <oracleUsername>${server.username}</oracleUsername> <oraclePassword>${server.password}</oraclePassword> </configuration> </plugin> </plugins> </build> </project>
--------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org