Hi,
I am using maven-scm-plugin to checkin the sources while deploy phase.
We only manage the real source in SVN and don't want to add target 
directory to scm.

So, how do I ignore the target directory while checkin.

If I run mvn scm:checkin on clean directory - all is Ok.
If I run mvn clean deploy, I get:
----------
[ERROR] Provider message:
[ERROR] The svn command failed.
[ERROR] Command output:
[ERROR] svn: Commit failed (details follow):
svn: Directory 'C:\Dev\MyPath\Core\target\.svn' containing working copy
admin area is missing
----------

Configuration:
----------
<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-scm-plugin</artifactId>
        <version>1.0</version>
        <configuration>
          <connectionType>connection</connectionType>
          <message>my message</message>
        </configuration>
                        <executions>
                                <execution>
                                        <phase>deploy</phase>
                                        <goals>
                                                <goal>checkin</goal>
                                        </goals>
                                </execution>
                        </executions>
      </plugin>
----------

P.S. I tryed to add <excludes>target</excludes> but it doesn't help.

Regards,
Uri.

-- 
View this message in context: 
http://www.nabble.com/maven-scm-plugin-%3A-how-to-ignore-target-directory-while-checkin-tf4935595s177.html#a14127254
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to