You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Pilgrim, Peter" <pe...@lloydsbanking.com> on 2009/09/03 14:05:35 UTC

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

* peter.pilgrim@lloydstsb.co.uk

* 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 
______________________________________________________________________

Re: maven-compiler-plugin does not exist or no valid version could be found

Posted by Mick Knutson <mi...@gmail.com>.
This does not go into the <reporting> section though.

It just goes into the plugins section like:

        <plugins>

            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>${compiler.version}</source>
                    <target>${compiler.version}</target>
                </configuration>
            </plugin>



---
Thank You…

Mick Knutson, President

BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring & Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233

Website: http://baselogic.com
Linked IN: http://linkedin.com/in/mickknutson
Vacation Rental: http://tahoe.baselogic.com
---



On Thu, Sep 3, 2009 at 8:05 AM, Pilgrim, Peter <
peter.pilgrim@lloydsbanking.com> wrote:

> 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
>
> * peter.pilgrim@lloydstsb.co.uk
>
> * 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
> ______________________________________________________________________

RE: maven-compiler-plugin does not exist or no valid version could be found

Posted by Martin Gainty <mg...@hotmail.com>.
once the maven-compiler-plugin is installed you'll need pom and the jar (and the .sha1 for ssh access) for example here is my local repostory

 Directory of $MAVEN_PLUGIN/org/apache/maven/plugins/maven-compiler-plugin/2.0

08/18/2009  11:49 AM            13,954 maven-compiler-plugin-2.0.jar
06/10/2009  08:32 AM             1,099 maven-compiler-plugin-2.0.jar.old
08/18/2009  11:49 AM                40 maven-compiler-plugin-2.0.jar.sha1
04/09/2009  01:35 PM             1,184 maven-compiler-plugin-2.0.pom
04/09/2009  01:35 PM               181 maven-compiler-plugin-2.0.pom.sha1

did you install maven-compiler-plugin with -DgroupId and -Dversion and -DartifactId specified?
http://maven.apache.org/plugins/maven-compiler-plugin/

example repository
http://www.jarvana.com/jarvana/browse?path=/org/apache/maven/plugins/maven-compiler-plugin/2.0/

Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.




> Subject: maven-compiler-plugin does not exist or no valid version could be    found
> Date: Thu, 3 Sep 2009 13:05:35 +0100
> From: peter.pilgrim@lloydsbanking.com
> To: users@maven.apache.org
> 
> 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
> 
> * peter.pilgrim@lloydstsb.co.uk
> 
> * 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 
> ______________________________________________________________________

_________________________________________________________________
Get back to school stuff for them and cashback for you.
http://www.bing.com/cashback?form=MSHYCB&publ=WLHMTAG&crea=TEXT_MSHYCB_BackToSchool_Cashback_BTSCashback_1x1

RE: maven-compiler-plugin does not exist or no valid version could be found

Posted by "Pilgrim, Peter" <pe...@lloydsbanking.com>.
Thanks Mick

That was the correct answer

-- 
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
+ peter.pilgrim@lloydstsb.co.uk
: www.lloydstsbcorporatemarkets.com 
 
> -----Original Message-----
> From: mknutson@baselogic.com [mailto:mknutson@baselogic.com] On Behalf
Of
> Mick Knutson
> Sent: 03 September 2009 13:24
> To: Maven Users List
> Subject: Re: maven-compiler-plugin does not exist or no valid version
> could be found
> 
> The skin error is from the site.xml as it needs the specific skin you
plan
> to use:
> 
> <project name="FedEx Ground ${project.version}">
>     <bannerRight>
>         <src>http://baselogic.com/images/blinc-maven.png</src>
>         <href>http://baselogic.com</href>
>     </bannerRight>
> 
>     <poweredBy>
>         <logo name="BLiNC" href="http://baselogic.com/"
>               img="http://baselogic.com/images/pb-blinc-maven.png"/>
>     </poweredBy>
> 
>     <publishDate format="dd MMM yyyy"/>
>     *<skin>
>         <groupId>org.apache.tapestry</groupId>
>         <artifactId>maven-skin</artifactId>
>         <version>1.1</version>
>     </skin>*
> 
>     <body>
> 
> 
> ---
> Thank You...
> 
> Mick Knutson, President
> 
> BASE Logic, Inc.
> Enterprise Architecture, Design, Mentoring & Agile Consulting
> p. (866) BLiNC-411: (254-6241-1)
> f. (415) 685-4233
> 
> Website: http://baselogic.com
> Linked IN: http://linkedin.com/in/mickknutson
> Vacation Rental: http://tahoe.baselogic.com
> ---
> 
> 
> 
> On Thu, Sep 3, 2009 at 8:19 AM, Pilgrim, Peter <
> peter.pilgrim@lloydsbanking.com> wrote:
> 
> > Partially solved the problem
> >
> > I building an internal repository behind the firewall and therefore
the
> > artefacts in the POM must be explicitly versioned. I had to add an
> > explicit version into the POM build and report sections.
> >
> > Now I have a different error, where the maven-site-plugin attempts
to
> > find the skin.
> >
> >
> > [INFO]
> >
------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> >
------------------------------------------------------------------------
> > [INFO] SiteToolException: ArtifactNotFoundException: The skin does
not
> > exist: Unable to determine the release version
> >
> > Try downloading the file manually from the project website.
> >
> > Then, install it using the command:
> >    mvn install:install-file -DgroupId=org.apache.maven.skins
> > -DartifactId=maven-default-skin -Dversion=RELEASE -Dpackaging=jar
> > -Dfile=/path/to/file
> >
> > Alternatively, if you host your own repository you can deploy the
file
> > there:
> >    mvn deploy:deploy-file -DgroupId=org.apache.maven.skins
> > -DartifactId=maven-default-skin -Dversion=RELEASE -Dpackaging=jar
> > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> >
> >
> >  org.apache.maven.skins:maven-default-skin:jar:RELEASE
> >
> >
> > How do I specify the skins in the POM file?
> >
> > How do INTERNAL REPOSITORY MAINTAINERS solve this problem of the
version
> > being the latest release of X?
> >
> >
> > --
> > 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
> > + peter.pilgrim@lloydstsb.co.uk
> > : www.lloydstsbcorporatemarkets.com
> >
> >
> > > -----Original Message-----
> > > From: Pilgrim, Peter [mailto:peter.pilgrim@lloydsbanking.com]
> > > Sent: 03 September 2009 13:06
> > > To: Maven Users List
> > > Subject: 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
> > >
> > > * peter.pilgrim@lloydstsb.co.uk
> > >
> > > * 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
> > >
______________________________________________________________________
> >
> >
______________________________________________________________________
> > 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: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >

______________________________________________________________________
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven-compiler-plugin does not exist or no valid version could be found

Posted by Mick Knutson <mi...@gmail.com>.
The skin error is from the site.xml as it needs the specific skin you plan
to use:

<project name="FedEx Ground ${project.version}">
    <bannerRight>
        <src>http://baselogic.com/images/blinc-maven.png</src>
        <href>http://baselogic.com</href>
    </bannerRight>

    <poweredBy>
        <logo name="BLiNC" href="http://baselogic.com/"
              img="http://baselogic.com/images/pb-blinc-maven.png"/>
    </poweredBy>

    <publishDate format="dd MMM yyyy"/>
    *<skin>
        <groupId>org.apache.tapestry</groupId>
        <artifactId>maven-skin</artifactId>
        <version>1.1</version>
    </skin>*

    <body>


---
Thank You…

Mick Knutson, President

BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring & Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233

Website: http://baselogic.com
Linked IN: http://linkedin.com/in/mickknutson
Vacation Rental: http://tahoe.baselogic.com
---



On Thu, Sep 3, 2009 at 8:19 AM, Pilgrim, Peter <
peter.pilgrim@lloydsbanking.com> wrote:

> Partially solved the problem
>
> I building an internal repository behind the firewall and therefore the
> artefacts in the POM must be explicitly versioned. I had to add an
> explicit version into the POM build and report sections.
>
> Now I have a different error, where the maven-site-plugin attempts to
> find the skin.
>
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] SiteToolException: ArtifactNotFoundException: The skin does not
> exist: Unable to determine the release version
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
>    mvn install:install-file -DgroupId=org.apache.maven.skins
> -DartifactId=maven-default-skin -Dversion=RELEASE -Dpackaging=jar
> -Dfile=/path/to/file
>
> Alternatively, if you host your own repository you can deploy the file
> there:
>    mvn deploy:deploy-file -DgroupId=org.apache.maven.skins
> -DartifactId=maven-default-skin -Dversion=RELEASE -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>
>  org.apache.maven.skins:maven-default-skin:jar:RELEASE
>
>
> How do I specify the skins in the POM file?
>
> How do INTERNAL REPOSITORY MAINTAINERS solve this problem of the version
> being the latest release of X?
>
>
> --
> 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
> + peter.pilgrim@lloydstsb.co.uk
> : www.lloydstsbcorporatemarkets.com
>
>
> > -----Original Message-----
> > From: Pilgrim, Peter [mailto:peter.pilgrim@lloydsbanking.com]
> > Sent: 03 September 2009 13:06
> > To: Maven Users List
> > Subject: 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
> >
> > * peter.pilgrim@lloydstsb.co.uk
> >
> > * 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
> > ______________________________________________________________________
>
> ______________________________________________________________________
> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

RE: maven-compiler-plugin does not exist or no valid version could be found

Posted by "Pilgrim, Peter" <pe...@lloydsbanking.com>.
Partially solved the problem

I building an internal repository behind the firewall and therefore the
artefacts in the POM must be explicitly versioned. I had to add an
explicit version into the POM build and report sections.

Now I have a different error, where the maven-site-plugin attempts to
find the skin. 


[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] SiteToolException: ArtifactNotFoundException: The skin does not
exist: Unable to determine the release version

Try downloading the file manually from the project website.

Then, install it using the command:
    mvn install:install-file -DgroupId=org.apache.maven.skins
-DartifactId=maven-default-skin -Dversion=RELEASE -Dpackaging=jar
-Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file
there:
    mvn deploy:deploy-file -DgroupId=org.apache.maven.skins
-DartifactId=maven-default-skin -Dversion=RELEASE -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]


  org.apache.maven.skins:maven-default-skin:jar:RELEASE


How do I specify the skins in the POM file?

How do INTERNAL REPOSITORY MAINTAINERS solve this problem of the version
being the latest release of X?


-- 
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
+ peter.pilgrim@lloydstsb.co.uk
: www.lloydstsbcorporatemarkets.com 
 

> -----Original Message-----
> From: Pilgrim, Peter [mailto:peter.pilgrim@lloydsbanking.com]
> Sent: 03 September 2009 13:06
> To: Maven Users List
> Subject: 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
> 
> * peter.pilgrim@lloydstsb.co.uk
> 
> * 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
> ______________________________________________________________________

______________________________________________________________________
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: RE : maven-compiler-plugin does not exist or no valid version could be found

Posted by "Pilgrim, Peter" <pe...@lloydsbanking.com>.
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
+ peter.pilgrim@lloydstsb.co.uk
: www.lloydstsbcorporatemarkets.com 
 

> -----Original Message-----
> From: HARDION Vincent [mailto:vincent.hardion@synchrotron-soleil.fr]
> 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:peter.pilgrim@lloydsbanking.com]
> 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
> 
> * peter.pilgrim@lloydstsb.co.uk
> 
> * 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org


______________________________________________________________________
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE : maven-compiler-plugin does not exist or no valid version could be found

Posted by HARDION Vincent <vi...@synchrotron-soleil.fr>.
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:peter.pilgrim@lloydsbanking.com] 
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

* peter.pilgrim@lloydstsb.co.uk

* 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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org