Skip to content

Commit f67c315

Browse files
author
jpenren
committed
Publishing to Maven Central
1 parent 4b3bfb8 commit f67c315

File tree

1 file changed

+84
-3
lines changed

1 file changed

+84
-3
lines changed

pom.xml

Lines changed: 84 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,93 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>io.github.jpenren</groupId>
55
<artifactId>thymeleaf-spring-data-dialect</artifactId>
6-
<version>1.0.0-SNAPSHOT</version>
6+
<version>1.0.0.BETA02-SNAPSHOT</version>
77

88
<name>Thymeleaf Spring Data Dialect</name>
99
<description>Data pagination made easy with Thymeleaf and Spring Data</description>
1010
<url>http://github.com/jpenren/thymeleaf-spring-data-dialect</url>
11+
<inceptionYear>2016</inceptionYear>
1112

1213
<licenses>
1314
<license>
1415
<name>Apache License, Version 2.0</name>
1516
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
16-
<distribution>repo</distribution>
1717
</license>
1818
</licenses>
1919

20+
<developers>
21+
<developer>
22+
<name>Javier Pena</name>
23+
<email>[email protected]</email>
24+
<organizationUrl>https://github.com/jpenren</organizationUrl>
25+
</developer>
26+
</developers>
27+
2028
<scm>
21-
<url>https://github.com/jpenren/thymeleaf-spring-data-dialect.git</url>
29+
<connection>scm:git:git://github.com/jpenren/thymeleaf-spring-data-dialect.git</connection>
30+
<developerConnection>scm:git:[email protected]:jpenren/thymeleaf-spring-data-dialect.git</developerConnection>
31+
<url>[email protected]:jpenren/thymeleaf-spring-data-dialect.git</url>
2232
</scm>
2333

34+
<profiles>
35+
<profile>
36+
<id>release</id>
37+
<build>
38+
<plugins>
39+
<plugin>
40+
<groupId>org.apache.maven.plugins</groupId>
41+
<artifactId>maven-source-plugin</artifactId>
42+
<executions>
43+
<execution>
44+
<id>attach-sources</id>
45+
<goals>
46+
<goal>jar</goal>
47+
</goals>
48+
</execution>
49+
</executions>
50+
</plugin>
51+
<plugin>
52+
<groupId>org.apache.maven.plugins</groupId>
53+
<artifactId>maven-javadoc-plugin</artifactId>
54+
<executions>
55+
<execution>
56+
<id>attach-javadocs</id>
57+
<goals>
58+
<goal>jar</goal>
59+
</goals>
60+
</execution>
61+
</executions>
62+
</plugin>
63+
<plugin>
64+
<groupId>org.apache.maven.plugins</groupId>
65+
<artifactId>maven-gpg-plugin</artifactId>
66+
<version>1.6</version>
67+
<executions>
68+
<execution>
69+
<id>sign-artifacts</id>
70+
<phase>verify</phase>
71+
<goals>
72+
<goal>sign</goal>
73+
</goals>
74+
</execution>
75+
</executions>
76+
</plugin>
77+
<plugin>
78+
<groupId>org.sonatype.plugins</groupId>
79+
<artifactId>nexus-staging-maven-plugin</artifactId>
80+
<version>1.6.3</version>
81+
<extensions>true</extensions>
82+
<configuration>
83+
<serverId>ossrh</serverId>
84+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
85+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
86+
</configuration>
87+
</plugin>
88+
</plugins>
89+
</build>
90+
</profile>
91+
</profiles>
92+
2493
<dependencies>
2594
<dependency>
2695
<groupId>javax.servlet</groupId>
@@ -39,4 +108,16 @@
39108
<version>3.0.0.BETA02</version>
40109
</dependency>
41110
</dependencies>
111+
112+
<distributionManagement>
113+
<snapshotRepository>
114+
<id>ossrh</id>
115+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
116+
</snapshotRepository>
117+
<repository>
118+
<id>ossrh</id>
119+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
120+
</repository>
121+
</distributionManagement>
122+
42123
</project>

0 commit comments

Comments
 (0)