distributionManagement is the target for the Maven artifacts.
release:perform calls deploy as default, and deploy needs the
distributionManagement. If you do not want this (e.g. only install the
Maven artifact in the local repository), then you have to do something
like this:

  <plugin>
    <artifactId>maven-release-plugin</artifactId>
    <version>2.1</version>
    <configuration>
      <goals>install</goals>
    </configuration>
  </plugin>

http://maven.apache.org/plugins/maven-release-plugin/examples/perform-release.html

Manuel

On Mon, Mar 21, 2011 at 10:49, bravegag <brave...@gmail.com> wrote:
> Hi,
>
> I already specify the SCM in two places actually:
>
> in the pom.xml
>
>  scm:svn:https://svn.vis.ethz.ch/svn/webengineering
>  scm:svn:https://svn.vis.ethz.ch/svn/webengineering
>  http://svn.vis.ethz.ch/svn/webengineering
>
>
> another place is the command line:
> mvn release:perform
> -DconnectionUrl=scm:svn:https://svn.vis.ethz.ch/svn/webengineering/trunk
> -DtagBase=file:////Users/bravegag/code/webengineering/tags
>
> So I don't understand why is needed yet another way to specify the
> repository. AFAIK distributionManagement is used to specify the target of
> the project report and web site but I don't want/need any.
>
> TIA,
> Best regards,
> Giovanni
>
> --
> View this message in context: 
> http://maven.40175.n5.nabble.com/how-to-release-without-distributionManagement-tp4166131p4221269.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to