Skip to content

Commit 2bff612

Browse files
committed
update pom
1 parent 847bb81 commit 2bff612

File tree

2 files changed

+47
-130
lines changed

2 files changed

+47
-130
lines changed

gbfs-validator-java/pom.xml

Lines changed: 0 additions & 129 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@
7676
<dependency-check-maven.version>5.3.2</dependency-check-maven.version>
7777
<maven-scm-provider-gitexe.version>1.13.0</maven-scm-provider-gitexe.version>
7878
<maven-scm-api.version>1.13.0</maven-scm-api.version>
79-
<jreleaser-maven-plugin.version>1.18.0</jreleaser-maven-plugin.version>
8079
<!-- empty argLine property, the value is set up by Jacoco during unit tests execution -->
8180
<argLine />
8281

@@ -160,93 +159,9 @@
160159
<artifactId>maven-deploy-plugin</artifactId>
161160
<version>${maven-deploy-plugin.version}</version>
162161
</plugin>
163-
<plugin>
164-
<groupId>org.jreleaser</groupId>
165-
<artifactId>jreleaser-maven-plugin</artifactId>
166-
<version>${jreleaser-maven-plugin.version}</version>
167-
<configuration>
168-
<jreleaser>
169-
<signing>
170-
<active>ALWAYS</active>
171-
<armored>true</armored>
172-
</signing>
173-
<deploy>
174-
<maven>
175-
<mavenCentral>
176-
<sonatype>
177-
<active>RELEASE</active>
178-
<url>https://central.sonatype.com/api/v1/publisher</url>
179-
<stagingRepositories>target/staging-deploy</stagingRepositories>
180-
</sonatype>
181-
</mavenCentral>
182-
<nexus2>
183-
<maven-central>
184-
<active>SNAPSHOT</active>
185-
<url>https://ossrh-staging-api.central.sonatype.com/service/local</url>
186-
<snapshotUrl>https://central.sonatype.com/repository/maven-snapshots</snapshotUrl>
187-
<applyMavenCentralRules>true</applyMavenCentralRules>
188-
<snapshotSupported>true</snapshotSupported>
189-
<closeRepository>true</closeRepository>
190-
<releaseRepository>true</releaseRepository>
191-
<stagingRepositories>target/staging-deploy</stagingRepositories>
192-
</maven-central>
193-
</nexus2>
194-
</maven>
195-
</deploy>
196-
<release>
197-
<github>
198-
<skipTag>false</skipTag>
199-
<skipRelease>true</skipRelease>
200-
</github>
201-
</release>
202-
</jreleaser>
203-
</configuration>
204-
</plugin>
205162
</plugins>
206163
</pluginManagement>
207164
<plugins>
208-
<plugin>
209-
<groupId>org.jreleaser</groupId>
210-
<artifactId>jreleaser-maven-plugin</artifactId>
211-
<version>${jreleaser-maven-plugin.version}</version>
212-
<configuration>
213-
<jreleaser>
214-
<signing>
215-
<active>ALWAYS</active>
216-
<armored>true</armored>
217-
</signing>
218-
<deploy>
219-
<maven>
220-
<mavenCentral>
221-
<sonatype>
222-
<active>RELEASE</active>
223-
<url>https://central.sonatype.com/api/v1/publisher</url>
224-
<stagingRepositories>target/staging-deploy</stagingRepositories>
225-
</sonatype>
226-
</mavenCentral>
227-
<nexus2>
228-
<maven-central>
229-
<active>SNAPSHOT</active>
230-
<url>https://ossrh-staging-api.central.sonatype.com/service/local</url>
231-
<snapshotUrl>https://central.sonatype.com/repository/maven-snapshots</snapshotUrl>
232-
<applyMavenCentralRules>true</applyMavenCentralRules>
233-
<snapshotSupported>true</snapshotSupported>
234-
<closeRepository>true</closeRepository>
235-
<releaseRepository>true</releaseRepository>
236-
<stagingRepositories>target/staging-deploy</stagingRepositories>
237-
</maven-central>
238-
</nexus2>
239-
</maven>
240-
</deploy>
241-
<release>
242-
<github>
243-
<skipTag>false</skipTag>
244-
<skipRelease>true</skipRelease>
245-
</github>
246-
</release>
247-
</jreleaser>
248-
</configuration>
249-
</plugin>
250165
<plugin>
251166
<groupId>org.codehaus.mojo</groupId>
252167
<artifactId>exec-maven-plugin</artifactId>
@@ -391,48 +306,4 @@
391306
</plugin>
392307
</plugins>
393308
</build>
394-
395-
<profiles>
396-
<profile>
397-
<id>publication</id>
398-
<properties>
399-
<altDeploymentRepository>local::default::file:./target/staging-deploy</altDeploymentRepository>
400-
</properties>
401-
<build>
402-
<defaultGoal>deploy</defaultGoal>
403-
<plugins>
404-
<plugin>
405-
<groupId>org.apache.maven.plugins</groupId>
406-
<artifactId>maven-javadoc-plugin</artifactId>
407-
<executions>
408-
<execution>
409-
<id>attach-javadocs</id>
410-
<goals>
411-
<goal>jar</goal>
412-
</goals>
413-
<configuration>
414-
<attach>true</attach>
415-
</configuration>
416-
</execution>
417-
</executions>
418-
</plugin>
419-
<plugin>
420-
<groupId>org.apache.maven.plugins</groupId>
421-
<artifactId>maven-source-plugin</artifactId>
422-
<executions>
423-
<execution>
424-
<id>attach-sources</id>
425-
<goals>
426-
<goal>jar</goal>
427-
</goals>
428-
<configuration>
429-
<attach>true</attach>
430-
</configuration>
431-
</execution>
432-
</executions>
433-
</plugin>
434-
</plugins>
435-
</build>
436-
</profile>
437-
</profiles>
438309
</project>

pom.xml

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,53 @@
1515
<module>gbfs-validator-java</module>
1616
</modules>
1717

18-
<profiles>
18+
<build>
19+
<plugins>
20+
<plugin>
21+
<groupId>org.jreleaser</groupId>
22+
<artifactId>jreleaser-maven-plugin</artifactId>
23+
<version>${jreleaser-maven-plugin.version}</version>
24+
<configuration>
25+
<jreleaser>
26+
<signing>
27+
<active>ALWAYS</active>
28+
<armored>true</armored>
29+
</signing>
30+
<deploy>
31+
<maven>
32+
<mavenCentral>
33+
<sonatype>
34+
<active>RELEASE</active>
35+
<url>https://central.sonatype.com/api/v1/publisher</url>
36+
<stagingRepositories>target/staging-deploy</stagingRepositories>
37+
</sonatype>
38+
</mavenCentral>
39+
<nexus2>
40+
<maven-central>
41+
<active>SNAPSHOT</active>
42+
<url>https://ossrh-staging-api.central.sonatype.com/service/local</url>
43+
<snapshotUrl>https://central.sonatype.com/repository/maven-snapshots</snapshotUrl>
44+
<applyMavenCentralRules>true</applyMavenCentralRules>
45+
<snapshotSupported>true</snapshotSupported>
46+
<closeRepository>true</closeRepository>
47+
<releaseRepository>true</releaseRepository>
48+
<stagingRepositories>target/staging-deploy</stagingRepositories>
49+
</maven-central>
50+
</nexus2>
51+
</maven>
52+
</deploy>
53+
<release>
54+
<github>
55+
<skipTag>false</skipTag>
56+
<skipRelease>true</skipRelease>
57+
</github>
58+
</release>
59+
</jreleaser>
60+
</configuration>
61+
</plugin>
62+
</plugins>
63+
</build>
64+
<profiles>
1965
<profile>
2066
<id>sonar</id>
2167
<activation>

0 commit comments

Comments
 (0)