|
|
@@ -43,33 +43,33 @@ |
|
|
|
</executions> |
|
|
|
</plugin> |
|
|
|
|
|
|
|
<plugin> |
|
|
|
<artifactId>maven-resources-plugin</artifactId> |
|
|
|
<executions> |
|
|
|
<!-- Copy .java files to package --> |
|
|
|
<execution> |
|
|
|
<id>copy-sources</id> |
|
|
|
<!-- here the phase you need --> |
|
|
|
<phase>prepare-package</phase> |
|
|
|
<goals> |
|
|
|
<goal>copy-resources</goal> |
|
|
|
</goals> |
|
|
|
<configuration> |
|
|
|
<outputDirectory>${project.build.outputDirectory}</outputDirectory> |
|
|
|
<resources> |
|
|
|
<resource> |
|
|
|
<directory>src/main/resources</directory> |
|
|
|
<filtering>false</filtering> |
|
|
|
</resource> |
|
|
|
<resource> |
|
|
|
<directory>src/main/java</directory> |
|
|
|
<filtering>false</filtering> |
|
|
|
</resource> |
|
|
|
</resources> |
|
|
|
</configuration> |
|
|
|
</execution> |
|
|
|
</executions> |
|
|
|
</plugin> |
|
|
|
<plugin> |
|
|
|
<artifactId>maven-resources-plugin</artifactId> |
|
|
|
<executions> |
|
|
|
<!-- Copy .java files to package --> |
|
|
|
<execution> |
|
|
|
<id>copy-sources</id> |
|
|
|
<!-- here the phase you need --> |
|
|
|
<phase>prepare-package</phase> |
|
|
|
<goals> |
|
|
|
<goal>copy-resources</goal> |
|
|
|
</goals> |
|
|
|
<configuration> |
|
|
|
<outputDirectory>${project.build.outputDirectory}</outputDirectory> |
|
|
|
<resources> |
|
|
|
<resource> |
|
|
|
<directory>src/main/resources</directory> |
|
|
|
<filtering>false</filtering> |
|
|
|
</resource> |
|
|
|
<resource> |
|
|
|
<directory>src/main/java</directory> |
|
|
|
<filtering>false</filtering> |
|
|
|
</resource> |
|
|
|
</resources> |
|
|
|
</configuration> |
|
|
|
</execution> |
|
|
|
</executions> |
|
|
|
</plugin> |
|
|
|
<plugin> |
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
<artifactId>maven-surefire-plugin</artifactId> |