Merge lp:~nwilliams/akiban-sql-parser/nexus-pom into lp:~akiban-technologies/akiban-sql-parser/trunk

Proposed by Nathan Williams
Status: Merged
Approved by: Mike McMahon
Approved revision: 301
Merged at revision: 298
Proposed branch: lp:~nwilliams/akiban-sql-parser/nexus-pom
Merge into: lp:~akiban-technologies/akiban-sql-parser/trunk
Diff against target: 142 lines (+55/-50)
1 file modified
pom.xml (+55/-50)
To merge this branch: bzr merge lp:~nwilliams/akiban-sql-parser/nexus-pom
Reviewer Review Type Date Requested Status
Mike McMahon Approve
Review via email: mp+163055@code.launchpad.net

Description of the change

Add miscellaneous info to pom and use Sonatype as parent.

Both are required for getting into the OSS central repository, described here:
https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide

While in the area, remove the explicit repositories (which is strongly discouraged) and plugins we no longer use.

To post a comment you must log in.
Revision history for this message
Mike McMahon (mmcm) wrote :

Looks fine.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'pom.xml'
2--- pom.xml 2013-04-14 00:25:31 +0000
3+++ pom.xml 2013-05-08 21:40:31 +0000
4@@ -1,17 +1,64 @@
5-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
7+<project xmlns="http://maven.apache.org/POM/4.0.0"
8+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
10+
11 <modelVersion>4.0.0</modelVersion>
12+
13+ <!-- Required for deploying to Sonatype -->
14+ <parent>
15+ <groupId>org.sonatype.oss</groupId>
16+ <artifactId>oss-parent</artifactId>
17+ <version>7</version>
18+ </parent>
19+
20 <groupId>com.akiban</groupId>
21 <artifactId>akiban-sql-parser</artifactId>
22+ <version>1.0.15-SNAPSHOT</version>
23 <packaging>jar</packaging>
24- <version>1.0.15-SNAPSHOT</version>
25- <name>akiban-sql-parser</name>
26- <url>http://maven.apache.org</url>
27+
28+ <name>Akiban SQL Parser</name>
29+ <description>Production quality Java parser for the SQL language.</description>
30+ <url>https://launchpad.net/akiban-sql-parser/</url>
31+
32+ <licenses>
33+ <license>
34+ <name>Eclipse Public License v1.0</name>
35+ <url>http://www.eclipse.org/legal/epl-v10.html</url>
36+ <distribution>repo</distribution>
37+ </license>
38+ </licenses>
39+
40+ <scm>
41+ <url>https://code.launchpad.net/akiban-sql-parser</url>
42+ <connection>scm:bazaar:https://code.launchpad.net/akiban-sql-parser</connection>
43+ </scm>
44+
45+ <organization>
46+ <name>Akiban Technologies, Inc</name>
47+ <url>http://www.akiban.com</url>
48+ </organization>
49+
50+ <developers>
51+ <developer>
52+ <id>mmcm</id>
53+ <name>Mike McMahon</name>
54+ <email>mike.mcmahon@akiban.com</email>
55+ <organization>Akiban Technologies, Inc.</organization>
56+ <organizationUrl>http://www.akiban.com</organizationUrl>
57+ <roles>
58+ <role>architect</role>
59+ <role>developer</role>
60+ </roles>
61+ <timezone>-5</timezone>
62+ </developer>
63+ </developers>
64+
65 <properties>
66 <BZR_REVISION></BZR_REVISION>
67 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
68 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
69 </properties>
70+
71 <distributionManagement>
72 <snapshotRepository>
73 <id>akiban</id>
74@@ -24,30 +71,7 @@
75 <url>http://akiban.artifactoryonline.com/akiban/libs-releases-local</url>
76 </repository>
77 </distributionManagement>
78- <repositories>
79- <repository>
80- <id>akiban-releases</id>
81- <name>akiban-releases</name>
82- <url>http://akiban.artifactoryonline.com/akiban/libs-releases-local</url>
83- <snapshots>
84- <enabled>false</enabled>
85- </snapshots>
86- <releases>
87- <enabled>true</enabled>
88- </releases>
89- </repository>
90- <repository>
91- <id>akiban-snapshots</id>
92- <name>akiban-snapshots</name>
93- <url>http://akiban.artifactoryonline.com/akiban/libs-snapshots-local</url>
94- <snapshots>
95- <enabled>true</enabled>
96- </snapshots>
97- <releases>
98- <enabled>false</enabled>
99- </releases>
100- </repository>
101- </repositories>
102+
103 <dependencies>
104 <dependency>
105 <groupId>junit</groupId>
106@@ -56,6 +80,7 @@
107 <scope>test</scope>
108 </dependency>
109 </dependencies>
110+
111 <build>
112 <plugins>
113 <!-- Compile for Java 6 -->
114@@ -123,27 +148,7 @@
115 </execution>
116 </executions>
117 </plugin>
118- <plugin>
119- <groupId>com.atlassian.maven.plugins</groupId>
120- <artifactId>maven-clover2-plugin</artifactId>
121- <version>3.0.1</version>
122- <configuration>
123- <generateHistorical>true</generateHistorical>
124- <historyDir>/clover/history</historyDir>
125- <license>${clover.license}</license>
126- <generateXml>true</generateXml>
127- </configuration>
128- </plugin>
129- <plugin>
130- <groupId>org.codehaus.mojo</groupId>
131- <artifactId>findbugs-maven-plugin</artifactId>
132- <version>1.2</version>
133- <configuration>
134- <findbugsXmlOutput>true</findbugsXmlOutput>
135- <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
136- <xmlOutput>true</xmlOutput>
137- </configuration>
138- </plugin>
139+ <!-- License checking -->
140 <plugin>
141 <groupId>com.mycila.maven-license-plugin</groupId>
142 <artifactId>maven-license-plugin</artifactId>

Subscribers

People subscribed via source and target branches