Re: Maven Wagon SSH 2.10

2015-09-03 Thread Dan Tran
Thanks Jason Should have google it myself last night http://stackoverflow.com/questions/5009096/files-showing-as-modified-directly-after-git-clone will give it another try -Dan On Thu, Sep 3, 2015 at 4:08 AM, Jason van Zyl wrote: > If you want to jump in IRC, happy to help.

Re: Writing poms from mojos

2015-09-03 Thread Daniel Kulp
The shade plugin can also create a “dependency reduced” pom. Dan > On Sep 2, 2015, at 10:13 PM, Barrie Treloar wrote: > > There are ~3000 plugins in Maven Central ( > http://search.maven.org/#search|ga|1|p%3A%22maven-plugin%22). My eyes > glazed over after scanning

Re: Writing poms from mojos

2015-09-03 Thread Stephen Connolly
Well as the initial author of tidy and versions it should be no surprise that I use the same tricks! I had been working on a verbatim XML pull parser implementation... Always ends up on the back burner. Basically my idea is to store the actual verbatim text in the XML event objects. That way if

Re: Maven Wagon SSH 2.10

2015-09-03 Thread Dan Tran
My first attempt to cut wagon release endind with this error at prepare step [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.1:prepare (default-cli) on project wagon: Cannot prepare the release because you have local modifications :[ERROR]

Re: Maven Wagon SSH 2.10

2015-09-03 Thread Jason van Zyl
If you want to jump in IRC, happy to help. > On Sep 3, 2015, at 4:25 AM, Dan Tran wrote: > > My first attempt to cut wagon release endind with this error at prepare step > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-release-plugin:2.5.1:prepare >

Re: Writing poms from mojos

2015-09-03 Thread Igor Fedorenko
Like I mentioned earlier, tycho-versions-plugin uses decentxml to manipulate pom.xml files. There is more or less complete version refactroing engine implementation there, but actual pom changes go through MutablePomFile [1]. The advantages of decentxml is that it has good and easy to use API and

Re: Writing poms from mojos

2015-09-03 Thread Barrie Treloar
On 3 September 2015 at 20:49, Igor Fedorenko wrote: > Like I mentioned earlier, tycho-versions-plugin > Thanks, and especially for the link into the source file. That save me effort. I saw Tycho earlier and read m2eclipse. oops.

Re: Writing poms from mojos

2015-09-03 Thread Barrie Treloar
On 4 September 2015 at 02:49, Daniel Kulp wrote: > > The shade plugin can also create a “dependency reduced” pom. Thanks. The dependency reduced pom is completely regenerated by MavenJDOMWriter.updateModel and doesn't attempt to keep any of the original pom's formatting. It