[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: Refr Bruhl <refr_bruhl_at_yahoo.com>
Date: Mon, 9 May 2011 08:03:20 -0700 (PDT)

The subversion plugin doesn't really give that as an option unless every time
you commit you uncheck the target directory. It would be nice if the subversion
plugin had an option to exclude directories at set up time.

 --Refr inn gra

"Wars are to be won with swords and spears,
not with rice and salt." -- Uesugi Kenshin

----- Original Message ----
From: Alex Lopez <alopez_at_flordeutopia.pt>
To: users_at_maven.apache.org
Sent: Mon, May 9, 2011 9:50:36 AM
Subject: Re: Maven, Subversion and Eclipse issue

never a good idea to commit the target dir IMO...

Em 09-05-2011 15:42, Refr Bruhl escreveu:
>
> 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
>

---------------------------------------------------------------------
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:03:53 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.