Hi all,

With the switch to git i have removed the execution of the svn revision
plugin since it will now fail. Now, this leaves the question of what to
replace it with. The obvious choice is what we tried before:

  https://github.com/ktoso/maven-git-commit-id-plugin

Which works fairly well for the most part but we did have some issues with
it before. Doing some digging the issue is indeed a bug in maven 2. The
failures occur actually only during the execution that generates out the
source jar for a project, the main execution runs fine. The plugin seems to
work pretty flawlessly on maven 3. But that is indeed still a problem as i
don't think we are ready to so you must build with maven 3? Maybe, maybe
not.

There is also the issue of building from a source snapshot, like what we
generate out for releases. In its current state the plugin will fail.

Other users of the plugin have made a request for a flag to control whether
a failure in the plugin should cause a build failure. I have added by voice
to this:

  https://github.com/ktoso/maven-git-commit-id-plugin/issues/25

And also issues a pull request to implement it:

  https://github.com/ktoso/maven-git-commit-id-plugin/pull/26

With this new parameter the plugin should work pretty seamlessly for us.
But, that leaves the question of what do in the short term. I see a few
options.

1) do nothing and wait until a new version of the plugin that addresses
this issue is available
2) host our own copy of the plugin for now until (1) becomes a reality
3) use the plugin as is and folks using maven 2 (or trying to  build from a
source snapshot) will be out of luck until (1) is resolved
4) use the plugin as is and turn off source jar generation for now

Thoughts? I guess we can wait it out for a bit and hopefully the pull
request gets merged in sooner rather than later. It shouldn't really be an
issue until we decide to do the next release.

-Justin

-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to