Hi,

I'm also having troubles accessing artifacts from my corp repository. More
exactly, I can access plain versions (e.g. 1.0.3), but not snapshots (e.g.,
1.0.4-SNAPSHOT).

Here's my conf, which was working well before m2b1 :

[1] On my corp. repo :
~   common-framework
~   +-- maven-metadata-local.xml [2]
~   +-- 1.0.3
~       +-- common-framework-1.0.3.jar
~       +-- common-framework-1.0.3.pom
~   +-- 1.0.4-SNAPSHOT
~       +-- common-framework-1.0.4-SNAPSHOT.jar
~       +-- common-framework-1.0.4-SNAPSHOT.pom
~       +-- maven-metadata-local.xml [3]

[2] common-framework/maven-metadata-local.xml :
~   <metadata>
~     <groupId>fr.as.common</groupId>
~     <artifactId>common-framework</artifactId>
~     <versioning>
~       <versions>
~         <version>1.0.4-SNAPSHOT</version>
~         <version>1.0.3</version>
~       </versions>
~     </versioning>
~   </metadata>

[3] common-framework/maven-metadata-local.xml :
~   <metadata>
~     <groupId>fr.as.common</groupId>
~     <artifactId>common-framework</artifactId>
~     <version>1.0.4-SNAPSHOT</version>
~     <versioning>
~       <snapshot>
~         <localCopy>true</localCopy>
~       </snapshot>
~     </versioning>
~   </metadata>

[4] In my local settings.xml :
~     <mirrors>
~       <mirror>
~         <mirrorOf>central</mirrorOf>
~         <url>http://ricfiled.as.asd.asf/maven/repository</url>
~       </mirror>
~       <mirror>
~         <mirrorOf>central-plugins</mirrorOf>
~         <url>http://ricfiled.as.asd.asf/maven/repository</url>
~       </mirror>
~       <mirror>
~         <mirrorOf>central-plugins-snapshots</mirrorOf>
~         <url>http://ricfiled.as.asd.asf/maven/repository</url>
~       </mirror>
~     </mirrors>
...
~     <profiles>
~       <profile>
~         <repositories>
~           <repository>
~             <id>central</id>
~             <url>http://ricfiled.as.asd.asf/maven/repository</url>
~             <snapshotPolicy>always</snapshotPolicy>
~           </repository>
~         </repositories>
~         <pluginRepositories>
~           <pluginRepository>
~             <id>central-plugins</id>
~             <url>http://ricfiled.as.asd.asf/maven/repository</url>
~             <snapshotPolicy>always</snapshotPolicy>
~           </pluginRepository>
~           <pluginRepository>
~             <id>central-plugins-snapshots</id>
~             <url>http://ricfiled.as.asd.asf/maven/repository</url>
~             <snapshotPolicy>always</snapshotPolicy>
~           </pluginRepository>
~         </pluginRepositories>
~       </profile>
~     </profiles>

Yann


--- Ralph Pöllath <[EMAIL PROTECTED]> a écrit :

> Hi,
> 
> since I upgraded to m2 beta 1, I'm having trouble accessing artifacts  
> in my internal company-wide repository.
> 
> m2 -X deploy prints
> 
> ...
> [INFO] [deploy:deploy]
> [INFO] Retrieving previous build number from internal-repo
> 
> and then hangs forever. I assume it's not an authentication problem,  
> because changing the password in settings.xml fails immediately with  
> an AuthenticationException.
> 
> Any ideas?
> 
> Cheers,
> -Ralph.
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


Yahoo! Mail - Votre e-mail personnel et gratuit qui vous suit partout !
 Créez votre Yahoo! Mail sur http://mail.yahoo.fr

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

Reply via email to