piccolo2d / piccolo2d.java

Structured 2D Graphics Framework
http://piccolo2d.org
Other
51 stars 14 forks source link

General pom refactoring, make plugin versions explicit, add dist/bundle configuration if necessary #146

Closed mro closed 9 years ago

mro commented 9 years ago

Originally reported on Google Code with ID 146

Before the 1.3 release, I would like to clean up the module poms a bit,
moving more configuration up to the parent pom where possible.

Additionally, it is important for a reproduceable build to have explict
dependency, plugin, and report plugin versions defined in the sections

 <pluginManagement>
 <dependencyManagement>
 <reporting>

Finally, we may need configuration in the poms for building our dist artifacts.

Reported by heuermh on 2009-10-30 18:02:43

mro commented 9 years ago

Reported by allain.lalonde on 2009-10-30 18:38:42

mro commented 9 years ago
$ svn commit -m "Issue 146 ; adding explicit plugin versions, cleaning up maven
3.0-alpha warnings" .
Sending        core/pom.xml
Sending        examples/pom.xml
Sending        extras/pom.xml
Sending        parent/pom.xml
Sending        swt/pom.xml
Sending        swt-examples/pom.xml
Transmitting file data ......
Committed revision 893.

Reported by heuermh on 2009-11-27 19:27:03

mro commented 9 years ago
It appears that the pre-defined assembly descriptors will not be sufficient for our
needs.  E.g., the parent module must be excluded for the bin descriptor to work

$ mvn -DdescriptorId=bin assembly:assembly
...
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-4:assembly (default-cli) on
project piccolo2d-parent:
 Failed to create assembly: Error creating assembly archive bin: You must set at
least one file.

and license-piccolo.txt and ReleaseNotes.txt are not included by default

http://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.html#bin

  <fileSets>
    <fileSet>
      <includes>
        <include>${project.basedir}/README*</include>
        <include>${project.basedir}/LICENSE*</include>
        <include>${project.basedir}/NOTICE*</include>
      </includes>

Custom assembly descriptors will need to be created.

Reported by heuermh on 2009-12-03 04:01:01

mro commented 9 years ago
Still working on this.  Maven assembly plugin is driving me nuts.

I'd like the output to match what the attached shell scripts do.

Reported by heuermh on 2009-12-12 01:12:23


mro commented 9 years ago
I'm tentatively planning to cut a 1.3-beta release on Friday 18 Dec via the attached
shell scripts, or via the maven assembly plugin if I can get that working by then.

Please let me know if the artifacts created by the scripts above don't look right.

Reported by heuermh on 2009-12-15 20:42:02

mro commented 9 years ago
Attaching new versions of the build scripts, as used to cut the 1.3-rc1 release. 
Should these be committed to svn?

Reported by heuermh on 2010-01-19 16:16:45


mro commented 9 years ago
I'd say so, why not? put them in a scripts directory.

Reported by allain.lalonde on 2010-01-19 16:26:26

mro commented 9 years ago
Keeping this issue open until after 1.3 is released, in case any changes need to be
made to the poms to support uploading to maven central.

Reported by heuermh on 2010-03-03 03:15:26

mro commented 9 years ago
Patch to tags/release-1.3 to support signing and deploying to Sonatype OSS Nexus
instance for sync to maven central repository.  Will commit to branches/release-1.3
and trunk after this process runs its course.

Reported by heuermh on 2010-03-23 04:51:46


mro commented 9 years ago
Updated patch attached.

Reported by heuermh on 2010-03-31 01:53:11


mro commented 9 years ago
$ svn commit -m "Issue 146 ; committing patch to trunk" parent/pom.xml
Sending        parent/pom.xml
Transmitting file data .
Committed revision 1001.

$ svn commit -m "Issue 146 ; committing patch to release 1.3 branch" parent/pom.xml
Sending        parent/pom.xml
Transmitting file data .
Committed revision 1002.

Reported by heuermh on 2010-03-31 02:17:51

mro commented 9 years ago

Reported by heuermh on 2013-11-26 20:47:09