Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>1.8</version>
- <executions>
- <execution>
- <phase>process-resources</phase>
- <configuration>
- <target>
- <echo message="project.build.directory: ${project.build.directory}" />
- <echo message="project.basedir: ${project.basedir}" />
- <echo
- message="maven.dependency.<groupId>.<artifactId>.jar.path: ${maven.dependency.<groupId>.<artifactId>.jar.path}" />
- <copy file="${maven.dependency.<groupId>.<artifactId>.jar.path}"
- tofile="${project.basedir}/src/main/resources/<artifactId>-<version>.jar" />
- </target>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- <build>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement