subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Smith <bmjsm...@gmail.com>
Subject Re: Maven, Subversion and Eclipse issue
Date Mon, 09 May 2011 14:56:14 GMT
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@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@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Mime
View raw message