Thank Emmanuel a lot! My checkout is running now. I have one more question:
To check out source so far, I have to run command line mvn scm:checkout. But
I want to do a chain-actions: check out source, then compile, then package
... How can I do that with only a pom file (to compile and package, I just
have to run mvn install, but check out will not work with this command).
Please help me!


Emmanuel Venisse-2 wrote:
> 
> It is normal, you don't use the same protocol :-)
> 
> In the first case, you use the svn protocol and in the second case, you
> use
> the file protocol.
> 
> Modify the scm url in your pom to something like that:
> 
> scm:svn:svn://my_svn_Ip/Development/execute-workflow
> 
> Emmanuel
> 
> On Tue, Sep 30, 2008 at 6:04 AM, mydesktop79 <
> [EMAIL PROTECTED]> wrote:
> 
>>
>> Hi,
>> I'm newbie in Maven. I'd like to checkout svn source. When I tried bellow
>> command line
>>
>> svn co svn://my_svn_Ip/Development/execute-workflow
>>
>> my source code checked out successful.
>>
>> But I fail when tried mvn scm:checkout. Bellow is my pom.xml file:
>> <project>
>>  ...
>> <build>
>>  <plugins>
>>     <plugin>
>>             <groupId>org.apache.maven.plugins</groupId>
>>             <artifactId>maven-scm-plugin</artifactId>
>>             <version>1.1</version>
>>
>>             <configuration>
>>                      <username>username</username>
>>                      <password>password</password>
>>              </configuration>
>>
>>     </plugin>
>>     </plugins>
>> <scm>
>>
>>
>>
>> <connection>scm:svn:file:///my_svn_Ip/Development/execute-workflow</connection>
>>
>>       <tag>HEAD</tag>
>>
>>  </scm>
>>
>>  </build>
>>
>> </project>
>>
>> It said that:
>> [ERROR] svn: Unable to open an ra_local session to URL
>> svn: Unable to open repository
>> 'file:///my_svn_Ip/Development/execute-workflow'
>> svn: Can't open file '\my_svn_Ip/Development/execute-workflow\format':
>> The
>> filename, directory name, or volume label syntax is incorrect
>>
>> My svn url is pure ( don't use http or https url ). Could anybody help
>> me?
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/checkout-source-code-from-svn-tp19735835p19735835.html
>> Sent from the Maven - SCM mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/checkout-source-code-from-svn-tp19735835p19753514.html
Sent from the Maven - SCM mailing list archive at Nabble.com.

Reply via email to