Skip to content
This repository was archived by the owner on May 31, 2023. It is now read-only.

Commit e78214e

Browse files
committed
clean up plugins and maven stuff. We do not actually deploy this. Its only examples
1 parent 7206a4f commit e78214e

File tree

4 files changed

+2
-103
lines changed

4 files changed

+2
-103
lines changed

.github/workflows/maven.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v3
19-
- name: Set up JDK 11
19+
- name: Set up JDK 17
2020
uses: actions/setup-java@v3
2121
with:
22-
java-version: '11'
22+
java-version: '17'
2323
distribution: 'temurin'
2424
cache: maven
2525
- name: Build with Maven

java-example/pom.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66
<version>1.0.0-rc15-SNAPSHOT</version>
77
</parent>
88
<modelVersion>4.0.0</modelVersion>
9-
109
<artifactId>java-example</artifactId>
11-
<packaging>war</packaging>
1210

1311
<dependencies>
1412
<dependency>

pom.xml

Lines changed: 0 additions & 96 deletions
Original file line numberDiff line numberDiff line change
@@ -81,86 +81,8 @@
8181
</dependencies>
8282
</dependencyManagement>
8383

84-
<distributionManagement>
85-
<snapshotRepository>
86-
<id>ossrh</id>
87-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
88-
</snapshotRepository>
89-
<repository>
90-
<id>ossrh</id>
91-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
92-
</repository>
93-
</distributionManagement>
94-
95-
<profiles>
96-
<profile>
97-
<id>ossrh</id>
98-
<build>
99-
<plugins>
100-
<plugin>
101-
<groupId>org.apache.maven.plugins</groupId>
102-
<artifactId>maven-gpg-plugin</artifactId>
103-
<version>3.0.1</version>
104-
<executions>
105-
<execution>
106-
<id>sign-artifacts</id>
107-
<phase>verify</phase>
108-
<goals>
109-
<goal>sign</goal>
110-
</goals>
111-
</execution>
112-
</executions>
113-
</plugin>
114-
</plugins>
115-
</build>
116-
</profile>
117-
</profiles>
118-
11984
<build>
12085
<plugins>
121-
<plugin>
122-
<groupId>org.apache.maven.plugins</groupId>
123-
<artifactId>maven-plugin-plugin</artifactId>
124-
<version>3.7.1</version>
125-
<configuration>
126-
<goalPrefix>reporter</goalPrefix>
127-
<skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
128-
</configuration>
129-
<executions>
130-
<execution>
131-
<id>mojo-descriptor</id>
132-
<goals>
133-
<goal>descriptor</goal>
134-
</goals>
135-
</execution>
136-
</executions>
137-
</plugin>
138-
<plugin>
139-
<groupId>org.apache.maven.plugins</groupId>
140-
<artifactId>maven-source-plugin</artifactId>
141-
<version>3.2.1</version>
142-
<executions>
143-
<execution>
144-
<id>attach-sources</id>
145-
<goals>
146-
<goal>jar</goal>
147-
</goals>
148-
</execution>
149-
</executions>
150-
</plugin>
151-
<plugin>
152-
<groupId>org.apache.maven.plugins</groupId>
153-
<artifactId>maven-jar-plugin</artifactId>
154-
<version>3.3.0</version>
155-
<configuration>
156-
<archive>
157-
<manifestEntries>
158-
<Built-By>John Deere</Built-By>
159-
</manifestEntries>
160-
</archive>
161-
</configuration>
162-
</plugin>
163-
16486
<plugin>
16587
<groupId>com.mycila.maven-license-plugin</groupId>
16688
<artifactId>maven-license-plugin</artifactId>
@@ -208,24 +130,6 @@
208130
<debug>false</debug>
209131
</configuration>
210132
</plugin>
211-
<plugin>
212-
<groupId>org.apache.maven.plugins</groupId>
213-
<artifactId>maven-release-plugin</artifactId>
214-
<version>2.5.3</version>
215-
<configuration>
216-
<arguments>maven.test.skip=true</arguments>
217-
<autoVersionSubmodules>true</autoVersionSubmodules>
218-
<preparationGoals>clean install</preparationGoals>
219-
</configuration>
220-
</plugin>
221-
<plugin>
222-
<groupId>org.apache.maven.plugins</groupId>
223-
<artifactId>maven-deploy-plugin</artifactId>
224-
<version>3.1.0</version>
225-
<configuration>
226-
<skip>false</skip>
227-
</configuration>
228-
</plugin>
229133
</plugins>
230134
</build>
231135

spring-example/pom.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,8 @@
66
<version>1.0.0-rc15-SNAPSHOT</version>
77
</parent>
88
<modelVersion>4.0.0</modelVersion>
9-
109
<artifactId>spring-example</artifactId>
1110

12-
<packaging>war</packaging>
13-
1411
<properties>
1512
<spring.version>5.3.25</spring.version>
1613
<slf4j.version>2.0.6</slf4j.version>

0 commit comments

Comments
 (0)