Skip to content

Commit

Permalink
4.x: helidon-common sources JAR contains absolute paths #8761 (#8762)
Browse files Browse the repository at this point in the history
* 4.x: helidon-common sources JAR contains absolute paths #8761

Signed-off-by: Jorge Bescos Gascon <jorge.bescos.gascon@oracle.com>
  • Loading branch information
jbescos committed May 16, 2024
1 parent 774b5df commit e3d8a35
Showing 1 changed file with 22 additions and 12 deletions.
34 changes: 22 additions & 12 deletions common/common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,28 @@
</dependencies>

<build>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<directory>src/main/templates</directory>
<filtering>true</filtering>
<targetPath>${project.build.directory}/generated-sources/templates</targetPath>
</resource>
</resources>

<plugins>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-resources</id>
<phase>generate-sources</phase>
<goals>
<goal>resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/generated-sources/templates</outputDirectory>
<resources>
<resource>
<directory>src/main/templates</directory>
<filtering>true</filtering>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
Expand All @@ -72,6 +82,6 @@
</execution>
</executions>
</plugin>
</plugins>
</plugins>
</build>
</project>

0 comments on commit e3d8a35

Please sign in to comment.