Skip to content

Commit

Permalink
rework on site creation, keep Nexus/Central happy
Browse files Browse the repository at this point in the history
  • Loading branch information
ceki committed Feb 18, 2019
1 parent 3cd3f3e commit 7a35058
Show file tree
Hide file tree
Showing 11 changed files with 45 additions and 160 deletions.
20 changes: 1 addition & 19 deletions jcl-over-slf4j/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,5 @@
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>



</project>
20 changes: 1 addition & 19 deletions jul-to-slf4j/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,5 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>


</project>
18 changes: 0 additions & 18 deletions log4j-over-slf4j/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,23 +36,5 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

</project>
19 changes: 1 addition & 18 deletions osgi-over-slf4j/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,22 +42,5 @@
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>


</project>
18 changes: 16 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
</configuration>
</plugin>
</plugins>
</pluginManagement>
</pluginManagement>

<plugins>

Expand Down Expand Up @@ -178,7 +178,21 @@
<skipIfEmpty>true</skipIfEmpty>
</configuration>
</plugin>


<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
Expand Down
14 changes: 0 additions & 14 deletions slf4j-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,20 +62,6 @@
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
Expand Down
17 changes: 0 additions & 17 deletions slf4j-jdk14/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,5 @@
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

</project>
19 changes: 1 addition & 18 deletions slf4j-log4j12/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,22 +37,5 @@
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>


</project>
17 changes: 0 additions & 17 deletions slf4j-nop/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,5 @@
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

</project>
17 changes: 0 additions & 17 deletions slf4j-simple/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,5 @@
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

</project>
26 changes: 25 additions & 1 deletion slf4j-site/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,30 @@
</resource>
</resources>
<plugins>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<configuration>
<includes>
<include>**/META-INF/*</include>
</includes>

<excludes>
<exclude>x**</exclude>
</excludes>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
Expand All @@ -41,4 +65,4 @@
</plugins>
</build>

</project>
</project>

0 comments on commit 7a35058

Please sign in to comment.