|
11 | 11 | <url>http://pravian.net/</url> |
12 | 12 | <description>A commons library for Bukkit.</description> |
13 | 13 |
|
| 14 | + <parent> |
| 15 | + <groupId>org.sonatype.oss</groupId> |
| 16 | + <artifactId>oss-parent</artifactId> |
| 17 | + <version>9</version> |
| 18 | + </parent> |
| 19 | + |
| 20 | + <licenses> |
| 21 | + <license> |
| 22 | + <name>The Apache Software License, Version 2.0</name> |
| 23 | + <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 24 | + </license> |
| 25 | + </licenses> |
| 26 | + |
| 27 | + <developers> |
| 28 | + <developer> |
| 29 | + <name>Jerom van der Sar</name> |
| 30 | + <email>jerom@pravian.net</email> |
| 31 | + <organization>Pravian Systems</organization> |
| 32 | + <organizationUrl>http://pravian.net</organizationUrl> |
| 33 | + </developer> |
| 34 | + </developers> |
| 35 | + |
| 36 | + <scm> |
| 37 | + <connection>scm:git:git@github.com:Pravian/BukkitLib.git</connection> |
| 38 | + <developerConnection>scm:git:git@github.com:Pravian/BukkitLib.git</developerConnection> |
| 39 | + <url>git@github.com:Pravian/BukkitLib.git</url> |
| 40 | + </scm> |
| 41 | + |
14 | 42 | <properties> |
15 | 43 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
16 | 44 | <app.buildversion>${project.version}</app.buildversion> |
|
26 | 54 | </repository> |
27 | 55 | </repositories> |
28 | 56 |
|
29 | | - <!-- Dummy SCM --> |
30 | | - <scm> |
31 | | - <connection>scm:svn:http://127.0.0.1/svn/my-project</connection> |
32 | | - <developerConnection>scm:svn:https://127.0.0.1/svn/my-project</developerConnection> |
33 | | - <tag>HEAD</tag> |
34 | | - <url>http://127.0.0.1/websvn/my-project</url> |
35 | | - </scm> |
36 | | - |
37 | 57 | <dependencies> |
38 | 58 | <dependency> |
39 | 59 | <groupId>org.bukkit</groupId> |
|
49 | 69 | </dependency> |
50 | 70 | </dependencies> |
51 | 71 |
|
52 | | - |
53 | 72 | <distributionManagement> |
| 73 | + <snapshotRepository> |
| 74 | + <id>ossrh</id> |
| 75 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 76 | + </snapshotRepository> |
54 | 77 | <repository> |
55 | | - <id>projects-ftp</id> |
56 | | - <url>ftp://projects.pravian.net/var/www/html/repo/</url> |
| 78 | + <id>ossrh</id> |
| 79 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
57 | 80 | </repository> |
58 | 81 | </distributionManagement> |
59 | 82 |
|
60 | | - |
| 83 | + <profiles> |
| 84 | + <profile> |
| 85 | + <id>release</id> |
| 86 | + <build> |
| 87 | + <plugins> |
| 88 | + <!-- GPG sign plugin --> |
| 89 | + <plugin> |
| 90 | + <groupId>org.apache.maven.plugins</groupId> |
| 91 | + <artifactId>maven-gpg-plugin</artifactId> |
| 92 | + <version>1.5</version> |
| 93 | + <executions> |
| 94 | + <execution> |
| 95 | + <id>sign-artifacts</id> |
| 96 | + <phase>verify</phase> |
| 97 | + <goals> |
| 98 | + <goal>sign</goal> |
| 99 | + </goals> |
| 100 | + </execution> |
| 101 | + </executions> |
| 102 | + </plugin> |
| 103 | + |
| 104 | + <!-- Javadoc plugin --> |
| 105 | + <plugin> |
| 106 | + <groupId>org.apache.maven.plugins</groupId> |
| 107 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 108 | + <version>2.9.1</version> |
| 109 | + <executions> |
| 110 | + <execution> |
| 111 | + <id>attach-javadocs</id> |
| 112 | + <goals> |
| 113 | + <goal>jar</goal> |
| 114 | + </goals> |
| 115 | + </execution> |
| 116 | + </executions> |
| 117 | + </plugin> |
| 118 | + |
| 119 | + <!-- Source plugin --> |
| 120 | + <plugin> |
| 121 | + <groupId>org.apache.maven.plugins</groupId> |
| 122 | + <artifactId>maven-source-plugin</artifactId> |
| 123 | + <version>2.2.1</version> |
| 124 | + <executions> |
| 125 | + <execution> |
| 126 | + <id>attach-sources</id> |
| 127 | + <goals> |
| 128 | + <goal>jar-no-fork</goal> |
| 129 | + </goals> |
| 130 | + </execution> |
| 131 | + </executions> |
| 132 | + </plugin> |
| 133 | + </plugins> |
| 134 | + </build> |
| 135 | + </profile> |
| 136 | + </profiles> |
61 | 137 |
|
62 | 138 | <build> |
63 | 139 | <plugins> |
| 140 | + <!-- Compiler plugin --> |
64 | 141 | <plugin> |
65 | 142 | <groupId>org.apache.maven.plugins</groupId> |
66 | 143 | <artifactId>maven-compiler-plugin</artifactId> |
|
73 | 150 | </configuration> |
74 | 151 | </plugin> |
75 | 152 |
|
| 153 | + <!-- Buildnumber plugin --> |
76 | 154 | <plugin> |
77 | 155 | <groupId>org.codehaus.mojo</groupId> |
78 | 156 | <artifactId>buildnumber-maven-plugin</artifactId> |
|
96 | 174 | </configuration> |
97 | 175 | </plugin> |
98 | 176 |
|
| 177 | + <!-- Jar plugin --> |
99 | 178 | <plugin> |
100 | 179 | <groupId>org.apache.maven.plugins</groupId> |
101 | 180 | <artifactId>maven-jar-plugin</artifactId> |
|
106 | 185 | </archive> |
107 | 186 | </configuration> |
108 | 187 | </plugin> |
109 | | - |
110 | | - <plugin> |
111 | | - <groupId>org.apache.maven.plugins</groupId> |
112 | | - <artifactId>maven-javadoc-plugin</artifactId> |
113 | | - <version>2.9.1</version> |
114 | | - <configuration> |
115 | | - <links> |
116 | | - <link>http://jd.bukkit.org/dev/apidocs/</link> |
117 | | - </links> |
118 | | - </configuration> |
119 | | - </plugin> |
120 | 188 | </plugins> |
121 | 189 |
|
122 | 190 | <resources> |
|
125 | 193 | <filtering>true</filtering> |
126 | 194 | </resource> |
127 | 195 | </resources> |
128 | | - |
129 | | - <extensions> |
130 | | - <extension> |
131 | | - <groupId>org.apache.maven.wagon</groupId> |
132 | | - <artifactId>wagon-ftp</artifactId> |
133 | | - <version>1.0-beta-6</version> |
134 | | - </extension> |
135 | | - </extensions> |
136 | 196 | </build> |
137 | 197 | </project> |
0 commit comments