Skip to content

Commit 1ce8152

Browse files
committed
1.5.1
1 parent a06488f commit 1ce8152

File tree

1 file changed

+90
-47
lines changed

1 file changed

+90
-47
lines changed

pom.xml

Lines changed: 90 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,9 @@
124124
</contributor>
125125
</contributors>
126126
<scm>
127-
<connection>scm:svn:https://jintellitype.googlecode.com/svn/trunk</connection>
128-
<developerConnection>scm:svn:https://jintellitype.googlecode.com/svn/trunk</developerConnection>
129-
<url>scm:svn:https://jintellitype.googlecode.com/svn/trunk</url>
127+
<connection>scm:git:https://github.com/melloware/jintellitype.git</connection>
128+
<developerConnection>scm:git:https://github.com/melloware/jintellitype.git</developerConnection>
129+
<url>https://github.com/melloware/jintellitype</url>
130130
</scm>
131131
<properties>
132132
<organization.logo>https://melloware.com/images/header.jpg</organization.logo>
@@ -145,6 +145,30 @@
145145
</dependency>
146146
</dependencies>
147147
<build>
148+
<pluginManagement>
149+
<plugins>
150+
<plugin>
151+
<groupId>org.apache.maven.plugins</groupId>
152+
<artifactId>maven-deploy-plugin</artifactId>
153+
<version>3.1.4</version>
154+
</plugin>
155+
<plugin>
156+
<groupId>org.apache.maven.plugins</groupId>
157+
<artifactId>maven-compiler-plugin</artifactId>
158+
<version>3.14.0</version>
159+
</plugin>
160+
<plugin>
161+
<groupId>org.apache.maven.plugins</groupId>
162+
<artifactId>maven-javadoc-plugin</artifactId>
163+
<version>>3.11.2</version>
164+
</plugin>
165+
<plugin>
166+
<groupId>org.apache.maven.plugins</groupId>
167+
<artifactId>maven-source-plugin</artifactId>
168+
<version>3.3.1</version>
169+
</plugin>
170+
</plugins>
171+
</pluginManagement>
148172
<plugins>
149173
<plugin>
150174
<groupId>org.apache.maven.plugins</groupId>
@@ -175,14 +199,6 @@
175199
</execution>
176200
</executions>
177201
</plugin>
178-
<plugin>
179-
<groupId>org.apache.maven.plugins</groupId>
180-
<artifactId>maven-deploy-plugin</artifactId>
181-
<version>3.1.4</version>
182-
<configuration>
183-
<deployAtEnd>false</deployAtEnd>
184-
</configuration>
185-
</plugin>
186202
<plugin>
187203
<groupId>org.apache.maven.plugins</groupId>
188204
<artifactId>maven-javadoc-plugin</artifactId>
@@ -212,20 +228,6 @@
212228
<propertiesEncoding>${project.build.sourceEncoding}</propertiesEncoding>
213229
</configuration>
214230
</plugin>
215-
<plugin>
216-
<groupId>org.apache.maven.plugins</groupId>
217-
<artifactId>maven-source-plugin</artifactId>
218-
<version>3.3.1</version>
219-
<executions>
220-
<execution>
221-
<id>attach-sources</id>
222-
<phase>package</phase>
223-
<goals>
224-
<goal>jar-no-fork</goal>
225-
</goals>
226-
</execution>
227-
</executions>
228-
</plugin>
229231
<plugin>
230232
<groupId>org.apache.maven.plugins</groupId>
231233
<artifactId>maven-jar-plugin</artifactId>
@@ -304,29 +306,29 @@
304306
<version>3.14.0</version>
305307
</plugin>
306308
<plugin>
307-
<groupId>org.jreleaser</groupId>
308-
<artifactId>jreleaser-maven-plugin</artifactId>
309+
<groupId>org.jreleaser</groupId>
310+
<artifactId>jreleaser-maven-plugin</artifactId>
309311
<version>1.18.0</version>
310-
<configuration>
311-
<jreleaser>
312-
<signing>
313-
<active>ALWAYS</active>
314-
<armored>true</armored>
315-
</signing>
316-
<deploy>
317-
<maven>
318-
<mavenCentral>
319-
<sonatype>
320-
<active>ALWAYS</active>
321-
<url>https://central.sonatype.com/api/v1/publisher</url>
322-
<stagingRepositories>target/staging-deploy</stagingRepositories>
323-
</sonatype>
324-
</mavenCentral>
325-
</maven>
326-
</deploy>
327-
</jreleaser>
328-
</configuration>
329-
</plugin>
312+
<configuration>
313+
<jreleaser>
314+
<signing>
315+
<active>ALWAYS</active>
316+
<armored>true</armored>
317+
</signing>
318+
<deploy>
319+
<maven>
320+
<mavenCentral>
321+
<sonatype>
322+
<active>ALWAYS</active>
323+
<url>https://central.sonatype.com/api/v1/publisher</url>
324+
<stagingRepositories>target/staging-deploy</stagingRepositories>
325+
</sonatype>
326+
</mavenCentral>
327+
</maven>
328+
</deploy>
329+
</jreleaser>
330+
</configuration>
331+
</plugin>
330332
</plugins>
331333
</build>
332334
<reporting>
@@ -396,6 +398,47 @@
396398
</plugins>
397399
</reporting>
398400
<profiles>
401+
<profile>
402+
<id>publication</id>
403+
<properties>
404+
<altDeploymentRepository>local::file:./target/staging-deploy</altDeploymentRepository>
405+
</properties>
406+
<build>
407+
<defaultGoal>deploy</defaultGoal>
408+
<plugins>
409+
<plugin>
410+
<groupId>org.apache.maven.plugins</groupId>
411+
<artifactId>maven-javadoc-plugin</artifactId>
412+
<executions>
413+
<execution>
414+
<id>attach-javadocs</id>
415+
<goals>
416+
<goal>jar</goal>
417+
</goals>
418+
<configuration>
419+
<attach>true</attach>
420+
</configuration>
421+
</execution>
422+
</executions>
423+
</plugin>
424+
<plugin>
425+
<groupId>org.apache.maven.plugins</groupId>
426+
<artifactId>maven-source-plugin</artifactId>
427+
<executions>
428+
<execution>
429+
<id>attach-sources</id>
430+
<goals>
431+
<goal>jar</goal>
432+
</goals>
433+
<configuration>
434+
<attach>true</attach>
435+
</configuration>
436+
</execution>
437+
</executions>
438+
</plugin>
439+
</plugins>
440+
</build>
441+
</profile>
399442
<profile>
400443
<id>release</id>
401444
<activation>

0 commit comments

Comments
 (0)