Skip to content

Commit 652d6ed

Browse files
committed
Use com.cosium.maven_oss:maven-oss as superpom
1 parent 55f560e commit 652d6ed

File tree

2 files changed

+13
-138
lines changed

2 files changed

+13
-138
lines changed

core/pom.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,12 @@
4242
<dependency>
4343
<groupId>org.apache.maven</groupId>
4444
<artifactId>maven-core</artifactId>
45+
<scope>provided</scope>
4546
</dependency>
4647
<dependency>
4748
<groupId>org.apache.maven</groupId>
4849
<artifactId>maven-plugin-api</artifactId>
50+
<scope>provided</scope>
4951
</dependency>
5052
<dependency>
5153
<groupId>org.apache.maven.plugin-tools</groupId>
@@ -97,7 +99,7 @@
9799
<version>3.5.4</version>
98100
<configuration>
99101
<trimStackTrace>false</trimStackTrace>
100-
<argLine>@{argLine} --add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports
102+
<argLine>--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports
101103
jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED --add-exports
102104
jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED --add-exports
103105
jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED --add-exports

pom.xml

Lines changed: 10 additions & 137 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
22
<modelVersion>4.0.0</modelVersion>
33

4+
<parent>
5+
<groupId>com.cosium.maven_oss</groupId>
6+
<artifactId>maven-oss</artifactId>
7+
<version>1.6</version>
8+
</parent>
9+
410
<groupId>com.cosium.code</groupId>
511
<artifactId>git-code-format-maven-plugin-parent</artifactId>
612
<version>5.4-SNAPSHOT</version>
@@ -14,7 +20,8 @@
1420

1521
<properties>
1622
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
17-
<source.level>1.8</source.level>
23+
<maven.compiler.source>1.8</maven.compiler.source>
24+
<maven.compiler.target>1.8</maven.compiler.target>
1825
<org.apache.commons.io.version>2.20.0</org.apache.commons.io.version>
1926
<org.apache.commons.lang.version>3.18.0</org.apache.commons.lang.version>
2027
<org.apache.commons.exec.version>1.5.0</org.apache.commons.exec.version>
@@ -121,140 +128,6 @@
121128
</dependencies>
122129
</dependencyManagement>
123130

124-
<build>
125-
<plugins>
126-
<plugin>
127-
<groupId>org.apache.maven.plugins</groupId>
128-
<artifactId>maven-compiler-plugin</artifactId>
129-
<version>3.14.1</version>
130-
<configuration>
131-
<source>${source.level}</source>
132-
<target>${source.level}</target>
133-
</configuration>
134-
</plugin>
135-
<plugin>
136-
<groupId>org.apache.maven.plugins</groupId>
137-
<artifactId>maven-source-plugin</artifactId>
138-
<version>3.3.1</version>
139-
<executions>
140-
<execution>
141-
<id>attach-sources</id>
142-
<goals>
143-
<goal>jar-no-fork</goal>
144-
</goals>
145-
</execution>
146-
</executions>
147-
</plugin>
148-
<plugin>
149-
<groupId>org.apache.maven.plugins</groupId>
150-
<artifactId>maven-javadoc-plugin</artifactId>
151-
<version>3.12.0</version>
152-
<executions>
153-
<execution>
154-
<id>attach-javadocs</id>
155-
<goals>
156-
<goal>jar</goal>
157-
</goals>
158-
</execution>
159-
</executions>
160-
<configuration>
161-
<failOnError>false</failOnError>
162-
<additionalOptions>-Xdoclint:none</additionalOptions>
163-
</configuration>
164-
</plugin>
165-
<plugin>
166-
<groupId>org.apache.maven.plugins</groupId>
167-
<artifactId>maven-deploy-plugin</artifactId>
168-
<version>3.1.4</version>
169-
</plugin>
170-
<plugin>
171-
<groupId>org.apache.maven.plugins</groupId>
172-
<artifactId>maven-release-plugin</artifactId>
173-
<version>2.5.3</version>
174-
<configuration>
175-
<pushChanges>false</pushChanges>
176-
<localCheckout>true</localCheckout>
177-
<autoVersionSubmodules>true</autoVersionSubmodules>
178-
<useReleaseProfile>true</useReleaseProfile>
179-
<releaseProfiles>release</releaseProfiles>
180-
<goals>deploy</goals>
181-
<tagNameFormat>@{project.version}</tagNameFormat>
182-
</configuration>
183-
</plugin>
184-
<plugin>
185-
<groupId>org.jacoco</groupId>
186-
<artifactId>jacoco-maven-plugin</artifactId>
187-
<version>${jacoco.version}</version>
188-
<executions>
189-
<execution>
190-
<goals>
191-
<goal>prepare-agent</goal>
192-
</goals>
193-
</execution>
194-
<execution>
195-
<id>report</id>
196-
<phase>test</phase>
197-
<goals>
198-
<goal>report</goal>
199-
</goals>
200-
</execution>
201-
</executions>
202-
</plugin>
203-
</plugins>
204-
</build>
205-
<profiles>
206-
<profile>
207-
<id>release-sign-artifacts</id>
208-
<activation>
209-
<property>
210-
<name>performRelease</name>
211-
<value>true</value>
212-
</property>
213-
</activation>
214-
<build>
215-
<plugins>
216-
<plugin>
217-
<groupId>org.apache.maven.plugins</groupId>
218-
<artifactId>maven-gpg-plugin</artifactId>
219-
<version>1.6</version>
220-
<executions>
221-
<execution>
222-
<id>sign-artifacts</id>
223-
<phase>verify</phase>
224-
<goals>
225-
<goal>sign</goal>
226-
</goals>
227-
</execution>
228-
</executions>
229-
</plugin>
230-
<plugin>
231-
<groupId>org.sonatype.plugins</groupId>
232-
<artifactId>nexus-staging-maven-plugin</artifactId>
233-
<version>1.7.0</version>
234-
<extensions>true</extensions>
235-
<configuration>
236-
<serverId>ossrh</serverId>
237-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
238-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
239-
<autoDropAfterRelease>true</autoDropAfterRelease>
240-
</configuration>
241-
</plugin>
242-
</plugins>
243-
</build>
244-
</profile>
245-
</profiles>
246-
247-
<distributionManagement>
248-
<snapshotRepository>
249-
<id>ossrh</id>
250-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
251-
</snapshotRepository>
252-
<repository>
253-
<id>ossrh</id>
254-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
255-
</repository>
256-
</distributionManagement>
257-
258131
<scm>
259132
<connection>scm:git:https://github.com/Cosium/git-code-format-maven-plugin</connection>
260133
<developerConnection>scm:git:https://github.com/Cosium/git-code-format-maven-plugin</developerConnection>
@@ -264,7 +137,7 @@
264137

265138
<organization>
266139
<name>Cosium</name>
267-
<url>http://www.cosium.com</url>
140+
<url>https://www.cosium.com</url>
268141
</organization>
269142

270143
<developers>
@@ -279,7 +152,7 @@
279152
<licenses>
280153
<license>
281154
<name>MIT License</name>
282-
<url>http://www.opensource.org/licenses/mit-license.php</url>
155+
<url>https://www.opensource.org/licenses/mit-license.php</url>
283156
<distribution>repo</distribution>
284157
</license>
285158
</licenses>

0 commit comments

Comments
 (0)