masghar / piccolo2d

Automatically exported from code.google.com/p/piccolo2d
0 stars 0 forks source link

Consider using Sonatype oss-parent-7.pom as the parent of parent/pom.xml #211

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Per the docs at

https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage
+Guide

it is recommended to use Sonatype's oss-parent-7.pom as the parent pom for 
projects that are synced to the maven central repository through Sonatype's 
Nexus (which we are).

That parent pom

http://repo1.maven.org/maven2/org/sonatype/oss/oss-parent/7/oss-parent-7.pom

includes repository definitions, a maven-enforcer-plugin configuration that 
prevents building releases from maven versions 2.1.0 or 2.2.0, 
maven-release-plugin configuration, and a build profile that creates -source 
and -javadoc jar artifacts when activated.

I'm wary of doing this, and of using the maven-release-plugin to build our 
plugins, since I have had trouble with that plugin in the past.  I'm not very 
comfortable with a script committing to subversion either.

Original issue reported on code.google.com by heue...@gmail.com on 22 Mar 2011 at 5:31

GoogleCodeExporter commented 9 years ago

Original comment by heue...@gmail.com on 1 Nov 2011 at 7:37

GoogleCodeExporter commented 9 years ago
$ svn commit -m "Issue 211 ; adding sonatype oss-parent pom as parent, 
refactoring parent/pom.xml to pom.xml" .
Sending        core/pom.xml
Sending        examples/pom.xml
Sending        extras/pom.xml
Sending        parent/.settings/org.eclipse.jdt.core.prefs
Sending        parent/.settings/org.maven.ide.eclipse.prefs
Sending        parent/pom.xml
Sending        parent/src/site/apt/index.apt
Sending        parent/src/site/site.xml
Sending        pom.xml
Sending        swt/pom.xml
Sending        swt-examples/pom.xml
Transmitting file data ...........
Committed revision 1212.

Original comment by heue...@gmail.com on 26 Nov 2013 at 8:14

GoogleCodeExporter commented 9 years ago

Original comment by heue...@gmail.com on 26 Nov 2013 at 8:17

GoogleCodeExporter commented 9 years ago

Original comment by heue...@gmail.com on 26 Nov 2013 at 8:47