-
Notifications
You must be signed in to change notification settings - Fork 97
Description
Since upgrading to the latest version of the Eclipse plugin 23.0.9 and trying to use the Liberty Dashboard start command the following error occurs:
[ERROR] Failed to execute goal io.openliberty.tools:liberty-maven-plugin:3.9:dev (default-cli) on project engine-ear: Unable to execute mojo: Execution null of goal io.openliberty.tools:liberty-maven-plugin:3.9:create failed: Use a resource collection to copy directories. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :engine-ear
When removing the copyDependencies the plugin seems to succeed but missing the files that would be copied.
Section from pom.xml:
<plugin>
<groupId>io.openliberty.tools</groupId>
<artifactId>liberty-maven-plugin</artifactId>
<version>3.9</version>
<configuration>
<assemblyArtifact>
<groupId>io.openliberty</groupId>
<artifactId>openliberty-runtime</artifactId>
<version>23.0.0.3</version>
<type>zip</type>
</assemblyArtifact>
<copyDependencies>
<dependencyGroup>
<location>resources/dblib</location>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId>
<version>10.15.2.0</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derbytools</artifactId>
<version>10.15.2.0</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derbyshared</artifactId>
<version>10.15.2.0</version>
<type>jar</type>
</dependency>
</dependencyGroup>
<dependencyGroup>
<location>resources/dxcoreLib</location>
<dependency>
<groupId>hcl.dxcore-new</groupId>
<artifactId>aggregator-manager</artifactId>
<version>0.0.1-SNAPSHOT</version>
<type>jar</type>
</dependency>
</dependencyGroup>
<dependencyGroup>
<stripVersion>true</stripVersion>
<location>resources/portlets</location>
<dependency>
<groupId>hcl.dx.ap</groupId>
<artifactId>CredentialAdministration</artifactId>
<version>1.0</version>
<type>war</type>
</dependency>
</dependencyGroup>
</copyDependencies>
<serverName>engineServer</serverName>
<appsDirectory>apps</appsDirectory>
</configuration>
</plugin>