[GitHub] maven pull request: MNG-4463: Version ranges cannot be used for ar...

2015-09-03 Thread phang98
GitHub user phang98 opened a pull request: https://github.com/apache/maven/pull/64 MNG-4463: Version ranges cannot be used for artifacts with 'import' scope MNG-4463: Version ranges cannot be used for artifacts with 'import' scope This is a quick patch to support version range r

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 uses jdom to genera

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 through the first 100 to s

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. > > > On Sep 3, 20

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 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 i

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 > (default-cli) on project w

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] [wagon-providers/wagon-ss

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 y