Merge lp:~pbeaman/akiban-persistit/eclipse-juno-happier into lp:akiban-persistit

Proposed by Peter Beaman
Status: Merged
Approved by: Peter Beaman
Approved revision: 344
Merged at revision: 345
Proposed branch: lp:~pbeaman/akiban-persistit/eclipse-juno-happier
Merge into: lp:akiban-persistit
Diff against target: 122 lines (+63/-7)
1 file modified
pom.xml (+63/-7)
To merge this branch: bzr merge lp:~pbeaman/akiban-persistit/eclipse-juno-happier
Reviewer Review Type Date Requested Status
Nathan Williams Needs Fixing
Review via email: mp+117196@code.launchpad.net

Description of the change

Add a <pluginManagement> stanza in pom.xml to satisfy the m2eclipse plugin.

To post a comment you must log in.
342. By Peter Beaman

Reformat pom.xml

Revision history for this message
Peter Beaman (pbeaman) wrote :

Since the original proposal I formatted the pom.xml file to convert tabs to spaces and arrive at a canonical form.

Revision history for this message
Nathan Williams (nwilliams) wrote :

Does the newline in the middle <argline> cause any problems (diff line 56)? That is, does running mvn verify still give us the JVM opts we want?

The --> on diff line 67 is completely spurious, and I'm surprised the xml is valid. I know you didn't add it, but would you mind removing it?

I'm not thrilled about a large blob of IDE specific stuff in the pom. Does it at least build fully from Eclipse? If so, can't argue much.

Feel free to approve when the first 2 comments are in order.

review: Needs Fixing
Revision history for this message
Peter Beaman (pbeaman) wrote :

Good catch on the -->. It was actually in trunk, like this. I'll fix it.

                            <!-- [2005-2011]-2012 | 2012 -->
                            <ensureMatch>20(05|06|07|08|09|10|11)\-2012|2012</ensureMatch> -->

Good catch on the line break in arguments - no, that does not work. Will fix.

Re the big blob, I'm not thrilled either, I just don't have a great alternative for Eclipse users. And no, Eclipse cannot successfully build everything -- in fact, it sometimes puts the output in the wrong directory. But I've spent all the time I can afford on researching this and haven't come up with a better solution. Perhaps someone in our open source community will be able to help.

343. By Peter Beaman

Fix minor formatting issues per review

344. By Peter Beaman

Merge from trunk and resolve conflicts

Revision history for this message
Peter Beaman (pbeaman) wrote :

With fixes and Nathan's previous consent, Approving this.

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 2012-08-01 23:17:15 +0000
3+++ pom.xml 2012-08-02 01:59:18 +0000
4@@ -1,12 +1,12 @@
5 <?xml version="1.0"?>
6 <project>
7 <modelVersion>4.0.0</modelVersion>
8-
9+
10 <groupId>com.akiban</groupId>
11 <artifactId>akiban-persistit</artifactId>
12 <version>3.1.4-SNAPSHOT</version>
13 <packaging>jar</packaging>
14-
15+
16 <name>akiban-persistit</name>
17 <inceptionYear>2005</inceptionYear>
18 <url>http://www.akiban.com/akiban-persistit</url>
19@@ -14,7 +14,7 @@
20 <name>Akiban Technologies, Inc</name>
21 <url>http://www.akiban.com</url>
22 </organization>
23-
24+
25 <licenses>
26 <license>
27 <name>GNU Affero General Public License, version 3</name>
28@@ -25,11 +25,11 @@
29
30 <properties>
31 <!-- this is the default version number, Jenkins job sets this to the official number -->
32- <BZR_REVISION></BZR_REVISION>
33+ <BZR_REVISION />
34 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
35 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
36 </properties>
37-
38+
39 <distributionManagement>
40 <snapshotRepository>
41 <id>akiban</id>
42@@ -42,7 +42,7 @@
43 <url>http://akiban.artifactoryonline.com/akiban/libs-releases-local</url>
44 </repository>
45 </distributionManagement>
46-
47+
48 <dependencies>
49 <dependency>
50 <groupId>junit</groupId>
51@@ -230,7 +230,7 @@
52 <key>__YEAR_SECTION__</key>
53 <defaultValue>2012</defaultValue>
54 <!-- [2005-2011]-2012 | 2012 -->
55- <ensureMatch>20(05|06|07|08|09|10|11)\-2012|2012</ensureMatch> -->
56+ <ensureMatch>20(05|06|07|08|09|10|11)\-2012|2012</ensureMatch>
57 </headerSection>
58 </headerSections>
59 <aggregate>true</aggregate>
60@@ -267,6 +267,62 @@
61 <version>2.6</version>
62 </plugin>
63 </plugins>
64+ <pluginManagement>
65+ <plugins>
66+ <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself. -->
67+ <plugin>
68+ <groupId>org.eclipse.m2e</groupId>
69+ <artifactId>lifecycle-mapping</artifactId>
70+ <version>1.0.0</version>
71+ <configuration>
72+ <lifecycleMappingMetadata>
73+ <pluginExecutions>
74+ <pluginExecution>
75+ <pluginExecutionFilter>
76+ <groupId>
77+ org.codehaus.mojo
78+ </groupId>
79+ <artifactId>
80+ build-helper-maven-plugin
81+ </artifactId>
82+ <versionRange>
83+ [1.5,)
84+ </versionRange>
85+ <goals>
86+ <goal>
87+ reserve-network-port
88+ </goal>
89+ </goals>
90+ </pluginExecutionFilter>
91+ <action>
92+ <ignore />
93+ </action>
94+ </pluginExecution>
95+ <pluginExecution>
96+ <pluginExecutionFilter>
97+ <groupId>
98+ org.codehaus.mojo
99+ </groupId>
100+ <artifactId>
101+ rmic-maven-plugin
102+ </artifactId>
103+ <versionRange>
104+ [1.0,)
105+ </versionRange>
106+ <goals>
107+ <goal>rmic</goal>
108+ </goals>
109+ </pluginExecutionFilter>
110+ <action>
111+ <ignore />
112+ </action>
113+ </pluginExecution>
114+ </pluginExecutions>
115+ </lifecycleMappingMetadata>
116+ </configuration>
117+ </plugin>
118+ </plugins>
119+ </pluginManagement>
120 </build>
121
122 <reporting>

Subscribers

People subscribed via source and target branches