Skip to content

Commit 2a59993

Browse files
author
Emil Forslund
committed
Add maven central connection to pom
1 parent 3853350 commit 2a59993

1 file changed

Lines changed: 153 additions & 61 deletions

File tree

pom.xml

Lines changed: 153 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -18,69 +18,161 @@
1818
1919
-->
2020
<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">
21-
<modelVersion>4.0.0</modelVersion>
22-
<groupId>com.speedment.codegen</groupId>
23-
<artifactId>CodeGen</artifactId>
24-
<version>1.0-SNAPSHOT</version>
25-
<packaging>jar</packaging>
26-
<properties>
27-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
28-
<maven.compiler.source>1.8</maven.compiler.source>
29-
<maven.compiler.target>1.8</maven.compiler.target>
30-
</properties>
31-
<build>
32-
<plugins>
33-
<plugin>
34-
<groupId>com.mycila</groupId>
35-
<artifactId>license-maven-plugin</artifactId>
36-
<version>2.6</version>
37-
<configuration>
38-
<header>license_header.txt</header>
39-
<properties>
40-
<currentYear>2015</currentYear>
41-
</properties>
42-
<excludes>
43-
<exclude>**/README</exclude>
44-
<exclude>src/test/resources/**</exclude>
45-
<exclude>src/main/resources/**</exclude>
46-
</excludes>
47-
</configuration>
48-
<executions>
49-
<execution>
50-
<goals>
51-
<goal>check</goal>
52-
</goals>
53-
</execution>
54-
</executions>
55-
</plugin>
56-
<plugin>
57-
<groupId>org.apache.maven.plugins</groupId>
58-
<artifactId>maven-compiler-plugin</artifactId>
59-
<version>3.1</version>
60-
<configuration>
61-
<source>1.8</source>
62-
<target>1.8</target>
63-
<compilerArgument>-Xlint:all</compilerArgument>
64-
<showWarnings>true</showWarnings>
65-
<showDeprecation>true</showDeprecation>
66-
</configuration>
67-
</plugin>
21+
<modelVersion>4.0.0</modelVersion>
22+
<groupId>com.github.pyknic</groupId>
23+
<artifactId>CodeGen</artifactId>
24+
<version>1.0</version>
25+
<packaging>jar</packaging>
26+
27+
<name>CodeGen</name>
28+
<description>A model-view based code generator for Java.</description>
29+
<url>https://www.github.com/Pyknic/CodeGen/</url>
30+
31+
<properties>
32+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
33+
<maven.compiler.source>1.8</maven.compiler.source>
34+
<maven.compiler.target>1.8</maven.compiler.target>
35+
<current.year>2016</current.year>
36+
</properties>
37+
38+
<licenses>
39+
<license>
40+
<name>Apache License, Version 2.0</name>
41+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
42+
<distribution>repo</distribution>
43+
</license>
44+
</licenses>
45+
46+
<developers>
47+
<developer>
48+
<name>Emil Forslund</name>
49+
<email>emil@speedment.com</email>
50+
<organization>Speedment</organization>
51+
<organizationUrl>http://www.speedment.org</organizationUrl>
52+
</developer>
53+
</developers>
54+
55+
<scm>
56+
<connection>scm:git:git@github.com:pyknic/codegen.git</connection>
57+
<developerConnection>scm:git:git@github.com:pyknic/codegen.git</developerConnection>
58+
<url>git@github.com:pyknic/codegen.git</url>
59+
</scm>
60+
61+
<build>
62+
<plugins>
6863
<plugin>
69-
<artifactId>maven-assembly-plugin</artifactId>
64+
<groupId>org.apache.maven.plugins</groupId>
65+
<artifactId>maven-compiler-plugin</artifactId>
66+
<version>3.3</version>
7067
<configuration>
71-
<descriptorRefs>
72-
<descriptorRef>jar-with-dependencies</descriptorRef>
73-
</descriptorRefs>
68+
<compilerArgument>-Xlint:all</compilerArgument>
69+
<showWarnings>true</showWarnings>
70+
<showDeprecation>true</showDeprecation>
7471
</configuration>
7572
</plugin>
76-
</plugins>
77-
</build>
78-
<dependencies>
79-
<dependency>
80-
<groupId>junit</groupId>
81-
<artifactId>junit</artifactId>
82-
<version>4.10</version>
83-
<scope>test</scope>
84-
</dependency>
85-
</dependencies>
73+
</plugins>
74+
</build>
75+
76+
<profiles>
77+
<profile>
78+
<id>release</id>
79+
<build>
80+
<plugins>
81+
<plugin>
82+
<groupId>com.mycila</groupId>
83+
<artifactId>license-maven-plugin</artifactId>
84+
<version>2.11</version>
85+
<configuration>
86+
<header>license_header.txt</header>
87+
<properties>
88+
<currentYear>$(current.year}</currentYear>
89+
</properties>
90+
<excludes>
91+
<exclude>**/README</exclude>
92+
<exclude>src/test/resources/**</exclude>
93+
<exclude>src/main/resources/**</exclude>
94+
</excludes>
95+
</configuration>
96+
<executions>
97+
<execution>
98+
<goals>
99+
<goal>check</goal>
100+
</goals>
101+
</execution>
102+
</executions>
103+
</plugin>
104+
<plugin>
105+
<groupId>org.apache.maven.plugins</groupId>
106+
<artifactId>maven-source-plugin</artifactId>
107+
<version>2.3</version>
108+
<executions>
109+
<execution>
110+
<id>attach-sources</id>
111+
<goals>
112+
<goal>jar-no-fork</goal>
113+
</goals>
114+
</execution>
115+
</executions>
116+
</plugin>
117+
<plugin>
118+
<groupId>org.apache.maven.plugins</groupId>
119+
<artifactId>maven-javadoc-plugin</artifactId>
120+
<version>2.10.3</version>
121+
<executions>
122+
<execution>
123+
<id>attach-javadocs</id>
124+
<goals>
125+
<goal>jar</goal>
126+
</goals>
127+
</execution>
128+
</executions>
129+
</plugin>
130+
<plugin>
131+
<groupId>org.apache.maven.plugins</groupId>
132+
<artifactId>maven-gpg-plugin</artifactId>
133+
<version>1.6</version>
134+
<executions>
135+
<execution>
136+
<id>sign-artifacts</id>
137+
<phase>verify</phase>
138+
<goals>
139+
<goal>sign</goal>
140+
</goals>
141+
</execution>
142+
</executions>
143+
<configuration>
144+
145+
</configuration>
146+
</plugin>
147+
<plugin>
148+
<groupId>org.sonatype.plugins</groupId>
149+
<artifactId>nexus-staging-maven-plugin</artifactId>
150+
<version>1.6.6</version>
151+
<extensions>true</extensions>
152+
<configuration>
153+
<serverId>ossrh</serverId>
154+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
155+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
156+
</configuration>
157+
</plugin>
158+
</plugins>
159+
</build>
160+
</profile>
161+
</profiles>
162+
163+
<dependencies>
164+
<dependency>
165+
<groupId>junit</groupId>
166+
<artifactId>junit</artifactId>
167+
<version>4.10</version>
168+
<scope>test</scope>
169+
</dependency>
170+
</dependencies>
171+
172+
<distributionManagement>
173+
<snapshotRepository>
174+
<id>ossrh</id>
175+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
176+
</snapshotRepository>
177+
</distributionManagement>
86178
</project>

0 commit comments

Comments
 (0)