Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions distribution/deb/src/main/resources/FAKE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
This file is used to generate a FAKE jar which is needed by Sonatype
to validate the artifact.

3 changes: 3 additions & 0 deletions distribution/integ-test-zip/src/main/resources/FAKE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
This file is used to generate a FAKE jar which is needed by Sonatype
to validate the artifact.

21 changes: 17 additions & 4 deletions distribution/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,25 @@

<build>
<plugins>
<!-- Always generate a Javadoc file even if we don't have any java source
but only resources
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<configuration>
<includePom>true</includePom>
</configuration>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<id>empty-javadoc-jar</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>javadoc</classifier>
<classesDirectory>${basedir}/src/main/resources</classesDirectory>
</configuration>
</execution>
</executions>
</plugin>

<!-- We copy libs for deb and rpm -->
Expand Down
3 changes: 3 additions & 0 deletions distribution/tar/src/main/resources/FAKE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
This file is used to generate a FAKE jar which is needed by Sonatype
to validate the artifact.

3 changes: 3 additions & 0 deletions distribution/zip/src/main/resources/FAKE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
This file is used to generate a FAKE jar which is needed by Sonatype
to validate the artifact.

22 changes: 12 additions & 10 deletions plugins/site-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,6 @@

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<configuration>
<includePom>true</includePom>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
Expand All @@ -44,9 +36,19 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<!-- Always generate a Javadoc file even if we don't have any java source
but only resources
-->
<execution>
<id>default-jar</id>
<phase>none</phase>
<id>empty-javadoc-jar</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>javadoc</classifier>
<classesDirectory>${basedir}/src/main/resources</classesDirectory>
</configuration>
</execution>
</executions>
</plugin>
Expand Down
3 changes: 3 additions & 0 deletions plugins/site-example/src/main/resources/FAKE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
This file is used to generate a FAKE jar which is needed by Sonatype
to validate the artifact.