Skip to content

Commit c2a392d

Browse files
committed
Simplify maven file
1 parent 27e3ac2 commit c2a392d

File tree

1 file changed

+36
-59
lines changed

1 file changed

+36
-59
lines changed

java-does-usb/pom.xml

Lines changed: 36 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -38,65 +38,6 @@
3838
<url>https://github.com/manuelbl/JavaDoesUSB</url>
3939
</scm>
4040

41-
<profiles>
42-
<profile>
43-
<id>release</id>
44-
<activation>
45-
<property>
46-
<name>performRelease</name>
47-
<value>true</value>
48-
</property>
49-
</activation>
50-
<build>
51-
<plugins>
52-
<plugin>
53-
<groupId>org.apache.maven.plugins</groupId>
54-
<artifactId>maven-gpg-plugin</artifactId>
55-
<version>3.0.1</version>
56-
<executions>
57-
<execution>
58-
<id>sign-artifacts</id>
59-
<phase>verify</phase>
60-
<goals>
61-
<goal>sign</goal>
62-
</goals>
63-
</execution>
64-
</executions>
65-
</plugin>
66-
<plugin>
67-
<groupId>org.apache.maven.plugins</groupId>
68-
<artifactId>maven-javadoc-plugin</artifactId>
69-
<version>3.3.0</version>
70-
<executions>
71-
<execution>
72-
<id>attach-javadocs</id>
73-
<goals>
74-
<goal>jar</goal>
75-
</goals>
76-
</execution>
77-
</executions>
78-
<configuration>
79-
<javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
80-
</configuration>
81-
</plugin>
82-
<plugin>
83-
<groupId>org.apache.maven.plugins</groupId>
84-
<artifactId>maven-source-plugin</artifactId>
85-
<version>3.2.1</version>
86-
<executions>
87-
<execution>
88-
<id>attach-sources</id>
89-
<goals>
90-
<goal>jar-no-fork</goal>
91-
</goals>
92-
</execution>
93-
</executions>
94-
</plugin>
95-
</plugins>
96-
</build>
97-
</profile>
98-
</profiles>
99-
10041
<distributionManagement>
10142
<snapshotRepository>
10243
<id>ossrh</id>
@@ -133,11 +74,47 @@
13374
<groupId>org.apache.maven.plugins</groupId>
13475
<artifactId>maven-javadoc-plugin</artifactId>
13576
<version>3.4.1</version>
77+
<executions>
78+
<execution>
79+
<id>attach-javadocs</id>
80+
<goals>
81+
<goal>jar</goal>
82+
</goals>
83+
</execution>
84+
</executions>
13685
<configuration>
13786
<release>19</release>
13887
<additionalOptions>--enable-preview</additionalOptions>
88+
<javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
13989
</configuration>
14090
</plugin>
91+
<plugin>
92+
<groupId>org.apache.maven.plugins</groupId>
93+
<artifactId>maven-gpg-plugin</artifactId>
94+
<version>3.0.1</version>
95+
<executions>
96+
<execution>
97+
<id>sign-artifacts</id>
98+
<phase>verify</phase>
99+
<goals>
100+
<goal>sign</goal>
101+
</goals>
102+
</execution>
103+
</executions>
104+
</plugin>
105+
<plugin>
106+
<groupId>org.apache.maven.plugins</groupId>
107+
<artifactId>maven-source-plugin</artifactId>
108+
<version>3.2.1</version>
109+
<executions>
110+
<execution>
111+
<id>attach-sources</id>
112+
<goals>
113+
<goal>jar-no-fork</goal>
114+
</goals>
115+
</execution>
116+
</executions>
117+
</plugin>
141118
</plugins>
142119

143120
<pluginManagement>

0 commit comments

Comments
 (0)