Maven Plugin Testing Tools deprecated

2018-03-01 Thread Basin Ilya
Hi. I want to invoke a maven build as part of the unit test. I thought that http://maven.apache.org/plugin-testing/maven-plugin-testing-tools/ was the right tool, but its javadoc is completly deprecated and no replacement mentioned.

prevent automatic adaptation of scm connection url

2018-02-05 Thread Basin Ilya
Hi list. I have a multi-module project. The parent pom has something like: scm:git:http://0.0.0.0/dummy/for/buildnumber-maven-plugin.git Strangely, in the effective pom of submodules the module directory name is appended to the urls:

maven-war-plugin addClasspath useless, because it cannot add absolute paths

2018-01-25 Thread Basin Ilya
Hi List. As far as I know, Class-Path in MANIFEST.MF of a .war file is only useful when you need to add jars that are not in WEB-INF/lib and not provided by the container. But can maven add paths that are absolute or relative? I tried this: nah nah 1.0.0

Re: mvn site:deploy SCM: No such provider: 'cvs'

2018-01-24 Thread Basin Ilya
s. See Adding a Protocol to > Deploy the Site. > > and even the list of limitations that is explained just before. > > I'm not sure this documentation should remain so visible: maven-scm-publish- > plugin is really the solution to the use case > > Regards, > > H

mvn site:deploy SCM: No such provider: 'cvs'

2018-01-23 Thread Basin Ilya
Hi list. I'm trying to make work the deploy maven site example from http://maven.apache.org/wagon/wagon-providers/wagon-scm/usage.html I have an empty java project. First I do `mvn site:site` and a site is created in target/ Then I do `mvn site:deploy` and it fails with "No such provider". It