Skip to content

Commit 7a35058

Browse files
committed
rework on site creation, keep Nexus/Central happy
1 parent 3cd3f3e commit 7a35058

File tree

11 files changed

+45
-160
lines changed

11 files changed

+45
-160
lines changed

jcl-over-slf4j/pom.xml

+1-19
Original file line numberDiff line numberDiff line change
@@ -28,23 +28,5 @@
2828
</dependency>
2929
</dependencies>
3030

31-
<build>
32-
<plugins>
33-
<plugin>
34-
<groupId>org.apache.maven.plugins</groupId>
35-
<artifactId>maven-source-plugin</artifactId>
36-
<version>${maven-source-plugin.version}</version>
37-
<executions>
38-
<execution>
39-
<phase>package</phase>
40-
<goals>
41-
<goal>jar</goal>
42-
</goals>
43-
</execution>
44-
</executions>
45-
</plugin>
46-
</plugins>
47-
</build>
48-
49-
31+
5032
</project>

jul-to-slf4j/pom.xml

+1-19
Original file line numberDiff line numberDiff line change
@@ -30,23 +30,5 @@
3030
<scope>test</scope>
3131
</dependency>
3232
</dependencies>
33-
34-
<build>
35-
<plugins>
36-
<plugin>
37-
<groupId>org.apache.maven.plugins</groupId>
38-
<artifactId>maven-source-plugin</artifactId>
39-
<version>${maven-source-plugin.version}</version>
40-
<executions>
41-
<execution>
42-
<phase>package</phase>
43-
<goals>
44-
<goal>jar</goal>
45-
</goals>
46-
</execution>
47-
</executions>
48-
</plugin>
49-
</plugins>
50-
</build>
51-
33+
5234
</project>

log4j-over-slf4j/pom.xml

-18
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,5 @@
3636
<scope>test</scope>
3737
</dependency>
3838
</dependencies>
39-
40-
<build>
41-
<plugins>
42-
<plugin>
43-
<groupId>org.apache.maven.plugins</groupId>
44-
<artifactId>maven-source-plugin</artifactId>
45-
<version>${maven-source-plugin.version}</version>
46-
<executions>
47-
<execution>
48-
<phase>package</phase>
49-
<goals>
50-
<goal>jar</goal>
51-
</goals>
52-
</execution>
53-
</executions>
54-
</plugin>
55-
</plugins>
56-
</build>
5739

5840
</project>

osgi-over-slf4j/pom.xml

+1-18
Original file line numberDiff line numberDiff line change
@@ -42,22 +42,5 @@
4242
</dependency>
4343
</dependencies>
4444

45-
<build>
46-
<plugins>
47-
<plugin>
48-
<groupId>org.apache.maven.plugins</groupId>
49-
<artifactId>maven-source-plugin</artifactId>
50-
<version>${maven-source-plugin.version}</version>
51-
<executions>
52-
<execution>
53-
<phase>package</phase>
54-
<goals>
55-
<goal>jar</goal>
56-
</goals>
57-
</execution>
58-
</executions>
59-
</plugin>
60-
</plugins>
61-
</build>
62-
45+
6346
</project>

pom.xml

+16-2
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146
</configuration>
147147
</plugin>
148148
</plugins>
149-
</pluginManagement>
149+
</pluginManagement>
150150

151151
<plugins>
152152

@@ -178,7 +178,21 @@
178178
<skipIfEmpty>true</skipIfEmpty>
179179
</configuration>
180180
</plugin>
181-
181+
182+
<plugin>
183+
<groupId>org.apache.maven.plugins</groupId>
184+
<artifactId>maven-source-plugin</artifactId>
185+
<version>${maven-source-plugin.version}</version>
186+
<executions>
187+
<execution>
188+
<phase>package</phase>
189+
<goals>
190+
<goal>jar</goal>
191+
</goals>
192+
</execution>
193+
</executions>
194+
</plugin>
195+
182196
<plugin>
183197
<groupId>org.apache.maven.plugins</groupId>
184198
<artifactId>maven-surefire-plugin</artifactId>

slf4j-api/pom.xml

-14
Original file line numberDiff line numberDiff line change
@@ -62,20 +62,6 @@
6262
</executions>
6363
</plugin>
6464

65-
<plugin>
66-
<groupId>org.apache.maven.plugins</groupId>
67-
<artifactId>maven-source-plugin</artifactId>
68-
<version>${maven-source-plugin.version}</version>
69-
<executions>
70-
<execution>
71-
<phase>package</phase>
72-
<goals>
73-
<goal>jar</goal>
74-
</goals>
75-
</execution>
76-
</executions>
77-
</plugin>
78-
7965
<plugin>
8066
<groupId>org.apache.maven.plugins</groupId>
8167
<artifactId>maven-antrun-plugin</artifactId>

slf4j-jdk14/pom.xml

-17
Original file line numberDiff line numberDiff line change
@@ -31,22 +31,5 @@
3131
</dependency>
3232
</dependencies>
3333

34-
<build>
35-
<plugins>
36-
<plugin>
37-
<groupId>org.apache.maven.plugins</groupId>
38-
<artifactId>maven-source-plugin</artifactId>
39-
<version>${maven-source-plugin.version}</version>
40-
<executions>
41-
<execution>
42-
<phase>package</phase>
43-
<goals>
44-
<goal>jar</goal>
45-
</goals>
46-
</execution>
47-
</executions>
48-
</plugin>
49-
</plugins>
50-
</build>
5134

5235
</project>

slf4j-log4j12/pom.xml

+1-18
Original file line numberDiff line numberDiff line change
@@ -37,22 +37,5 @@
3737
</dependency>
3838
</dependencies>
3939

40-
<build>
41-
<plugins>
42-
<plugin>
43-
<groupId>org.apache.maven.plugins</groupId>
44-
<artifactId>maven-source-plugin</artifactId>
45-
<version>${maven-source-plugin.version}</version>
46-
<executions>
47-
<execution>
48-
<phase>package</phase>
49-
<goals>
50-
<goal>jar</goal>
51-
</goals>
52-
</execution>
53-
</executions>
54-
</plugin>
55-
</plugins>
56-
</build>
57-
40+
5841
</project>

slf4j-nop/pom.xml

-17
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,5 @@
2424
</dependency>
2525
</dependencies>
2626

27-
<build>
28-
<plugins>
29-
<plugin>
30-
<groupId>org.apache.maven.plugins</groupId>
31-
<artifactId>maven-source-plugin</artifactId>
32-
<version>${maven-source-plugin.version}</version>
33-
<executions>
34-
<execution>
35-
<phase>package</phase>
36-
<goals>
37-
<goal>jar</goal>
38-
</goals>
39-
</execution>
40-
</executions>
41-
</plugin>
42-
</plugins>
43-
</build>
4427

4528
</project>

slf4j-simple/pom.xml

-17
Original file line numberDiff line numberDiff line change
@@ -31,22 +31,5 @@
3131
</dependency>
3232
</dependencies>
3333

34-
<build>
35-
<plugins>
36-
<plugin>
37-
<groupId>org.apache.maven.plugins</groupId>
38-
<artifactId>maven-source-plugin</artifactId>
39-
<version>${maven-source-plugin.version}</version>
40-
<executions>
41-
<execution>
42-
<phase>package</phase>
43-
<goals>
44-
<goal>jar</goal>
45-
</goals>
46-
</execution>
47-
</executions>
48-
</plugin>
49-
</plugins>
50-
</build>
5134

5235
</project>

slf4j-site/pom.xml

+25-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,30 @@
3030
</resource>
3131
</resources>
3232
<plugins>
33+
34+
<plugin>
35+
<groupId>org.apache.maven.plugins</groupId>
36+
<artifactId>maven-source-plugin</artifactId>
37+
<version>${maven-source-plugin.version}</version>
38+
<configuration>
39+
<includes>
40+
<include>**/META-INF/*</include>
41+
</includes>
42+
43+
<excludes>
44+
<exclude>x**</exclude>
45+
</excludes>
46+
</configuration>
47+
<executions>
48+
<execution>
49+
<phase>package</phase>
50+
<goals>
51+
<goal>jar</goal>
52+
</goals>
53+
</execution>
54+
</executions>
55+
</plugin>
56+
3357
<plugin>
3458
<groupId>org.apache.maven.plugins</groupId>
3559
<artifactId>maven-site-plugin</artifactId>
@@ -41,4 +65,4 @@
4165
</plugins>
4266
</build>
4367

44-
</project>
68+
</project>

0 commit comments

Comments
 (0)