Hi

Unfortunately I am not using a Mirror, but a ``fenced off'' repository.

My User Story is I have proxied remote repository A on my local workstation 
using Artifactory. I am effectively taking a copy off "central" ibiblio on my 
PC and then sharing those artefacts with my team. At least, that is the 
intention. Everything works apart from the "site" building for now. Here is the 
procedure.
 
I exported the repository A in its entirety to a zip file. I then uploaded that 
ZIP file to UNIX server, which has no access to the Internet whatsoever.

I then access the UNIX server, unzip the A.zip into /tmp/repositories.
I then imported the /tmp/repositories/A into the firm wide repository B, which 
the team uses. B is an Artifactory repository running on Tomcat, which also 
runs on the UNIX server.

So yes it is something to do with the export A into an import B and not really 
mirroring.

I repeated the procedure and verified that I include metadata. What is the 
metadata that Maven is looking? How does it know to map the RELEASE to a 
version number?

-- 
Peter Pilgrim | E-Channel Services Technical Lead, Products & Markets 
Lloyds TSB Bank plc, Corporate Markets, 10 Gresham Street, London, EC2V 7AE, UK
' +44 (0)207 158 6135 | ( +44 (0)1234 567 8901
+ [email protected]
: www.lloydstsbcorporatemarkets.com 
 

> -----Original Message-----
> From: HARDION Vincent [mailto:[email protected]]
> Sent: 03 September 2009 13:36
> To: Maven Users List
> Subject: RE : maven-compiler-plugin does not exist or no valid version
> could be found
> 
> Hi,
> 
> Today, I've had this error since the mirror repo1.sonatype.net/maven2 is
> offline.
> 
> Maybe check your mirror.
> 
> Regards,
> 
> Vincent Hardion
> 
> 
> -----Message d'origine-----
> De : Pilgrim, Peter [mailto:[email protected]]
> Envoyé : jeudi 3 septembre 2009 14:06
> À : Maven Users List
> Objet : maven-compiler-plugin does not exist or no valid version could be
> found
> 
> Hi All
> 
> 
> 
> I am attempting to fix a Hudson build failure with Maven.
> 
> Now on my workstation I can type "mvn site:stage" and the whole project.
> 
> 
> 
> However, when I use PuTTY in order to remote into Hudson UNIX server and
> manually invoke the same command, I get a failure.
> 
> 
> 
> 
> 
> [INFO]
> ------------------------------------------------------------------------
> 
> [INFO] Building BOS Summit DealPublisher MASTER project
> 
> [INFO]    task-segment: [site:stage]
> 
> [INFO]
> ------------------------------------------------------------------------
> 
> [INFO]
> ------------------------------------------------------------------------
> 
> [ERROR] BUILD ERROR
> 
> [INFO]
> ------------------------------------------------------------------------
> 
> [INFO] The plugin 'org.apache.maven.plugins:maven-compiler-plugin' does
> not exist or no valid version could be found
> 
> [INFO]
> ------------------------------------------------------------------------
> 
> [INFO] Trace
> 
> org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
> 'org.apache.maven.plugins:maven-compiler-plugin' does not exist or no
> valid version could be found
> 
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyReportPlugin(D
> efaultLifecycleExecutor.java:1651)
> 
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.getReportExecutions(
> DefaultLifecycleExecutor.java:928)
> 
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.getReportExecutions(
> DefaultLifecycleExecutor.java:904)
> 
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
> LifecycleExecutor.java:599)
> 
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoa
> l(DefaultLifecycleExecutor.java:569)
> 
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
> ifecycleExecutor.java:539)
> 
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
> Failures(DefaultLifecycleExecutor.java:387)
> 
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> DefaultLifecycleExecutor.java:348)
> 
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
> ycleExecutor.java:180)
> 
>         at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
> 
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
> 
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
> 
>         at
> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
> 
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
> 
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
> 
>         at java.lang.reflect.Method.invoke(Method.java:597)
> 
>         at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> 
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> 
>         at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> 
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> 
> Caused by:
> org.apache.maven.plugin.version.PluginVersionNotFoundException: The
> plugin 'org.apache.maven.plugins:maven-compiler-plugin' does not exist
> or no valid version could be found
> 
>         at
> org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePlugi
> nVersion(DefaultPluginVersionManager.java:229)
> 
>         at
> org.apache.maven.plugin.version.DefaultPluginVersionManager.resolveRepor
> tPluginVersion(DefaultPluginVersionManager.java:98)
> 
>         at
> org.apache.maven.plugin.DefaultPluginManager.verifyReportPlugin(DefaultP
> luginManager.java:599)
> 
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyReportPlugin(D
> efaultLifecycleExecutor.java:1622)
> 
>         ... 20 more
> 
> [INFO]
> ------------------------------------------------------------------------
> 
> [INFO] Total time: 1 second
> 
> [INFO] Finished at: Thu Sep 03 13:02:58 BST 2009
> 
> [INFO] Final Memory: 3M/17M
> 
> [INFO]
> ------------------------------------------------------------------------
> 
> 
> 
> I verified that maven-compiler-plugin does exist in the shared internal
> repository. In the ROOT pom.xml, I even set the version of the plugin.
> 
> 
> 
>             <reporting>
> 
>                         <plugins>
> 
>                                     <plugin>
> 
> 
> <groupId>org.apache.maven.plugins</groupId>
> 
> 
> <artifactId>maven-compiler-plugin</artifactId>
> 
>                                                 <configuration>
> 
> 
> <source>1.6</source>
> 
> 
> <target>1.6</target>
> 
> 
> <encoding>UTF-8</encoding>
> 
>                                                 </configuration>
> 
>                                     </plugin>
> 
> 
> 
> 
> 
> So what gives?
> 
> 
> 
> TIA
> 
> 
> 
> 
> 
> 
> 
> --
> 
> Peter Pilgrim | E-Channel Services Technical Lead, Products & Markets
> 
> Lloyds TSB Bank plc, Corporate Markets, 10 Gresham Street, London, EC2V
> 7AE, UK
> 
> ' +44 (0)207 158 6135 | ( +44 (0)1234 567 8901
> 
> * [email protected]
> 
> * www.lloydstsbcorporatemarkets.com
> <http://www.lloydstsbcorporatemarkets.com/>
> 
> 
> 
> 
> 
> This e-mail is private and confidential and may contain privileged
> material. If you have received this e-mail in error, please notify the
> sender and delete it immediately. You must not copy, distribute, disclose
> or use any of the information in it or any attachments.
> 
> Lloyds TSB Bank plc. Registered Office: 25 Gresham Street, London EC2V
> 7HN. Registered in England and Wales, number 2065. Telephone: 020 7626
> 1500.
> 
> Lloyds TSB Scotland plc. Registered Office: Henry Duncan House, 120 George
> Street, Edinburgh EH2 4LH. Registered in Scotland, number 95237.
> Telephone: 0131 225 4555.
> 
> Cheltenham & Gloucester plc. Registered Office: Barnett Way, Gloucester
> GL4 3RL. Registered in England and Wales, number 2299428. Telephone: 01452
> 372372.
> 
> Cheltenham & Gloucester Savings is a division of Lloyds TSB Bank plc.
> Lloyds TSB Bank plc, Lloyds TSB Scotland plc and Cheltenham & Gloucester
> plc are authorised and regulated by the Financial Services Authority.
> 
> Lloyds Banking Group plc. Registered Office: Henry Duncan House, 120
> George Street, Edinburgh EH2 4LH. Registered in Scotland, number 95000.
> Telephone: 0131 225 4555.
> 
> Lloyds Banking Group plc is a signatory to the Banking Codes.
> 
> Telephone calls may be monitored or recorded.
> 
> 
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> ______________________________________________________________________
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

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

Reply via email to