[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Maven, Subversion and Eclipse issue

From: Brian Smith <bmjsmith_at_gmail.com>
Date: Mon, 9 May 2011 15:56:14 +0100

We set the following on each module's trunk:

$ svn ps svn:ignore core "
target
.project
.classpath
.settings"

On 9 May 2011 15:42, Refr Bruhl <refr_bruhl_at_yahoo.com> wrote:

>
> Team
>
> I've an issue with the m2 plugin using maven in conjunction with
> subversion.
> Since this crosses three platforms I thought I would try both the
> subversion and
> maven list to see if anyone has run across a similar issue and what the
> solution
> was.
>
> When maven dependency is enabled for an eclipse project the maven plugin
> will
> ensure the target subdirectory exists. This is usally a good thing.
>
>
> When the project is committed to subversion is when issues arise
>
> When a mvn clean is issued either thru the plugin or at the command shell
> the
> target directory is deleted. The eclipse maven 2 plugin will recreate the
> target
> subdirectory
>
> However subversion now complains the directory is out of sync. Most times
> the
> subversion plugin will not allow a force update.
>
>
> My current workaround is not to commit the entire project -- just subfolder
> components when I make updates. I'm thinking there is a cleaner solution to
> this.
>
> Using this method I am forced to use svn shell commands to create tags. The
> tag
> feature of the subversion plugin will not work unless all sub directories
> are
> commitable.
>
>
> has anyone else ran into this? If so what solutions or workarounds were
> found?
>
>
> Platform details below
>
> Eclipse:
>
> Eclipse Java EE IDE for Web Developers.
>
> Version: Helios Release
> Build id: 20100617-1415
>
> (c) Copyright Eclipse contributors and others 2005, 2010. All rights
> reserved.
> Visit http://www.eclipse.org/webtools
>
> Maven for Eclipse:
>
> M2 plugin by Sonatype 0.12.1.2011
>
> Subversion for Eclipse
> Subversive byu Polarion 2.2.2
>
>
> OS: Windows XP
>
>
> --Refr inn gra
>
>
> "Wars are to be won with swords and spears,
> not with rice and salt." -- Uesugi Kenshin
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_maven.apache.org
> For additional commands, e-mail: users-help_at_maven.apache.org
>
>
Received on 2011-05-09 17:12:35 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.