Skip to content

Commit

Permalink
remove absolute path prefix for licenses when copied into target by m…
Browse files Browse the repository at this point in the history
…aven resources plugin
  • Loading branch information
nickbreen committed Oct 28, 2021
1 parent 70f1ee8 commit 187c31d
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions flying-saucer-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
</resource>
<resource>
<directory>../</directory>
<targetPath>${project.build.outputDirectory}/META-INF</targetPath>
<targetPath>META-INF</targetPath>
<includes>
<include>LICENSE*</include>
</includes>
Expand All @@ -57,7 +57,7 @@
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
<manifestFile>/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
Expand Down
2 changes: 1 addition & 1 deletion flying-saucer-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
</resource>
<resource>
<directory>../</directory>
<targetPath>${project.build.outputDirectory}/META-INF</targetPath>
<targetPath>META-INF</targetPath>
<includes>
<include>LICENSE*</include>
</includes>
Expand Down
4 changes: 2 additions & 2 deletions flying-saucer-fop/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
<resources>
<resource>
<directory>../</directory>
<targetPath>${project.build.outputDirectory}/META-INF</targetPath>
<targetPath>META-INF</targetPath>
<includes>
<include>LICENSE*</include>
</includes>
Expand All @@ -118,7 +118,7 @@
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
<manifestFile>/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
Expand Down
4 changes: 2 additions & 2 deletions flying-saucer-log4j/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<resources>
<resource>
<directory>../</directory>
<targetPath>${project.build.outputDirectory}/META-INF</targetPath>
<targetPath>META-INF</targetPath>
<includes>
<include>LICENSE*</include>
</includes>
Expand All @@ -59,7 +59,7 @@
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
<manifestFile>/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
Expand Down
4 changes: 2 additions & 2 deletions flying-saucer-pdf-itext5/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<resources>
<resource>
<directory>../</directory>
<targetPath>${project.build.outputDirectory}/META-INF</targetPath>
<targetPath>META-INF</targetPath>
<includes>
<include>LICENSE*</include>
</includes>
Expand All @@ -59,7 +59,7 @@
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
<manifestFile>/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
Expand Down
2 changes: 1 addition & 1 deletion flying-saucer-pdf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
<resources>
<resource>
<directory>../</directory>
<targetPath>${project.build.outputDirectory}/META-INF</targetPath>
<targetPath>META-INF</targetPath>
<includes>
<include>LICENSE*</include>
</includes>
Expand Down
2 changes: 1 addition & 1 deletion flying-saucer-swt-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
<resources>
<resource>
<directory>../</directory>
<targetPath>${project.build.outputDirectory}/META-INF</targetPath>
<targetPath>META-INF</targetPath>
<includes>
<include>LICENSE*</include>
</includes>
Expand Down
4 changes: 2 additions & 2 deletions flying-saucer-swt/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
<resources>
<resource>
<directory>../</directory>
<targetPath>${project.build.outputDirectory}/META-INF</targetPath>
<targetPath>META-INF</targetPath>
<includes>
<include>LICENSE*</include>
</includes>
Expand All @@ -116,7 +116,7 @@
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
<manifestFile>/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
Expand Down

0 comments on commit 187c31d

Please sign in to comment.