How to copy external dependency to Open Liberty during maven build
问题 I need to copy derby.jar into Open Liberty shared directory ${project.build.directory}/liberty/wlp/usr/shared/resources/ . I have the following setup in the pom.xml file: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>2.10</version> <executions> <execution> <id>copy-derby-dependency</id> <phase>package</phase> <goals> <goal>copy-dependencies</goal> </goals> <configuration> <includeArtifactIds>derby</includeArtifactIds>