Neither the profile or adding the correct repository definitions to my
pom are working.
(I had missed out the pluginRepo definition which is now as below)

 </repositories>
   ....
   <repository>
     <id>internal_plugins</id>
     <name>Internal Plugin Repository</name>
     <url>
       http://PROXY/maven2_repositories/internal_plugins
     </url>
     <releases>
       <enabled>true</enabled>
     </releases>
     <snapshots>
       <enabled>false</enabled>
     </snapshots>
   </repository>
 </repositories>
 <pluginRepositories>
   <pluginRepository>
     <id>internal_plugins</id>
     <name>Internal Plugin Repository</name>
     <url>
       http://PROXY/maven2_repositories/internal_plugins
     </url>
     <releases>
       <enabled>true</enabled>
     </releases>
     <snapshots>
       <enabled>false</enabled>
     </snapshots>
   </pluginRepository>
 </pluginRepositories>


From the logs you can see that the version number is being correctly
identified as the internal version, but then central is incorrectly
being contacted.

[INFO] artifact org.apache.maven.plugins:maven-surefire-report-plugin:
checking for updates from internal_plugins
[INFO] artifact org.apache.maven.plugins:maven-surefire-report-plugin:
checking for updates from central
[DEBUG] maven-surefire-report-plugin: resolved to version
2.1-INTERNAL-r485987-pMSUREFIREREP-6 from repository central
[DEBUG] Trying repository central


I have checked my mvnproxy and the central cache does not have the
internal versions defined.

I am no longer using mvnproxy for internal_plugins so I am not sure
how these are getting confused.

I'll attach the debugger and see if I can work it out.

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

Reply via email to