My Oracle Support Banner

Maven/Jenkins Build Server Complaining About the Parent Pom in Developer-tools-commmand-line (Doc ID 2392405.1)

Last updated on MAY 02, 2018

Applies to:

Oracle WebCenter Sites - Version 12.2.1.2.0 and later
Information in this document applies to any platform.

Symptoms

Using Sites 12c WebCenter Sites, in an environment with a Maven/Jenkins integration, an attempt is being made to package the developer-tools-command-line.jar. The Eclipse project builds without issue because it has the /lib-csdt or /lib-wcs folders configured in the project path, however when attempting to build with Maven/Jenkins, the pom.xml file inside the developer-tools-command-line.jar (\META-INF\maven\com.oracle.sites\developer-tools-command-line) fails to build because it cannot find clients-12.2.1.2.0-SNAPSHOT.jar that is referenced in the developer tools parent pom.

<parent>
<groupId>com.oracle.sites</groupId>
<artifactId>clients</artifactId>
<version>12.2.1.2.0-SNAPSHOT</version>
</parent>



The following error appears in the Jenkins log:

11:20:25 Exception in thread "main" java.lang.NullPointerException
11:20:25 at com.fatwire.csdt.client.processor.CSDTProcessor.output(CSDTProcessor.java:85)
11:20:25 at com.fatwire.csdt.client.main.CSDT.execute(CSDT.java:95)
11:20:25 at com.fatwire.csdt.client.main.CSDT.executeMain(CSDT.java:48)
11:20:25 at com.fatwire.csdt.client.main.CSDT.main(CSDT.java:44)
11:20:25 [ERROR] Command execution failed.
11:20:25 org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
...
11:20:25 [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:exec
(lfg_import_wcs_controller) on project wcs-csdt-import: Command execution failed.: Process exited with
an error: 1 (Exit value: 1) -> [Help 1]
11:20:25 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal
org.codehaus.mojo:exec-maven-plugin:1.6.0:exec (lfg_import_wcs_controller) on project wcs-csdt-import:
Command execution failed.
...
11:20:25 [ERROR] For more information about the errors and possible solutions, please read the
following articles:
11:20:25 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.