Rajasekar created MNG-5223:
------------------------------

             Summary: using maven-scm-plugin to checkin folder and file
                 Key: MNG-5223
                 URL: https://jira.codehaus.org/browse/MNG-5223
             Project: Maven 2 & 3
          Issue Type: Bug
          Components: Errors, Plugin API
    Affects Versions: 2.2.1
         Environment: software platform
            Reporter: Rajasekar


step 1.Checkout Content

<execution>
    <id>checkout folder</id>
    <phase>process-resources</phase>
    <configuration>
        <basedir>/home/checking-folder</basedir>
        <revisionKey>app.data.revision</revisionKey>
        
<connectionUrl>scm:svn:https://www.test.com/project-folder</connectionUrl>
        <username>${svn.username}</username>
        <password>${svn.password}</password>
    </configuration>
    <goals>
        <goal>checkout</goal>
    </goals>
</execution>

step 2. jar adding

<execution>
    <id>add jar</id>
    <phase>process-resources</phase>
    <configuration>
        <includes>*.*</includes>
        <includes>**/*</includes>
        <basedir>/home/checking-folder</basedir>
        
<connectionUrl>scm:svn:https://www.test.com/project-folder</connectionUrl>
        <username>${svn.username}</username>
        <password>${svn.password}</password>
    </configuration>
    <goals>
        <goal>add</goal>
    </goals>
</execution>

step 3. checkin in new folder and jar

<execution>
    <id>checkin- jar</id>
    <phase>process-resources</phase>
    <configuration>
        
<connectionUrl>scm:svn:https://www.test.com/project-folder</connectionUrl>
        <message>${rdpv.chk.message}</message>
        <basedir>/home/checking-folder</basedir>
        <revisionKey>app.data.revision</revisionKey>
        <username>${svn.username}</username>
        <password>${svn.password}</password>
    </configuration>
    <goals>
        <goal>checkin</goal>
    </goals>
</execution>

After checking out using step 1, I am creating one New folder in 
"/home/checking-folder", after that i am moving one jar inside that New folder. 
while running the 2nd step and 3rd step it shows "new created folder is not 
working copy".

Please help me to check-in jar with new created folder.



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to