Hi,
 I just configured security for maven nexus repository using encrypted 
passwords using the below guide.



 http://maven.apache.org/guides/mini/guide-encryption.html

         
 This might help in your situation...

Robert Zanzerkia

 

-----Original Message-----
From: kishorej [mailto:[email protected]] 
Sent: Tuesday, March 19, 2013 9:34 AM
To: [email protected]
Subject: Copy-maven-plugin and settings.xml

Hi,
    I am using copy-maven-plugin for copying the .tar.gz from my hudson
machine(artifact) to the development server. I am using username, password,
server ip and path as hard coded in my pom instead of settings.xml. Could
you please any one help me how to do the same in settings.xml file.

<plugin>
    <groupId>com.github.goldin</groupId>
    <artifactId>copy-maven-plugin</artifactId>
    <version>0.2.5</version>
    <executions>
        <execution>
            <id>deploy-archive</id>
            <phase>install</phase>
            <goals>
                <goal>copy</goal>
            </goals>
            <configuration>
                <resources>
                    <resource>
                        *
<targetPath>scp://XX:YY@IP:/app_home/backup</targetPath> *
                     
                        <file>*.tar.gz</file> 
                    </resource>
               </resources>
            </configuration>
        </execution>
    </executions>
</plugin>



--
View this message in context: 
http://maven.40175.n5.nabble.com/Copy-maven-plugin-and-settings-xml-tp5751230.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to