You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Wendy Smoak (JIRA)" <ji...@apache.org> on 2007/11/11 04:12:34 UTC

[jira] Commented: (WW-2313) 2.0.11 source mvn Plugins wont build

    [ https://issues.apache.org/struts/browse/WW-2313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42622 ] 

Wendy Smoak commented on WW-2313:
---------------------------------

What command did you type, in what directory?

I haven't tried 2.0.11, but the 2.0.x branch builds fine for me locally.

Make sure Maven is allowed to connect to the Internet (are you behind a proxy?) and try adding -U to the command line when building.  That will force it to check for plugin updates, which it normally only does once per day.  (If it can't connect for any reason, it won't check again until tomorrow.)

> 2.0.11 source mvn Plugins wont build 
> -------------------------------------
>
>                 Key: WW-2313
>                 URL: https://issues.apache.org/struts/browse/WW-2313
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Build Management
>    Affects Versions: 2.0.11
>         Environment: Maven version: 2.0.7
> Java version: 1.5.0_02
> OS name: "windows 2000" version: "5.0" arch: "x86"
>            Reporter: Martin Gainty
>
> None of the plugins build that come with 2.0.11 source distro
> mvn is an extremely brittle and extrenely difficult to configure build environment 
> I would suggest dropping back to regular ant build.xml to build the plugins
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] The plugin 'org.apache.myfaces.tobago:maven-apt-plugin' does not exist or
>  no valid version could be found
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.m
> yfaces.tobago:maven-apt-plugin' does not exist or no valid version could be foun
> d
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
> ultLifecycleExecutor.java:1286)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifec
> ycle(DefaultLifecycleExecutor.java:1221)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycl
> eMappings(DefaultLifecycleExecutor.java:987)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> ltLifecycleExecutor.java:458)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> dleFailures(DefaultLifecycleExecutor.java:311)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> ts(DefaultLifecycleExecutor.java:278)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> fecycleExecutor.java:143)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         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 p
> lugin 'org.apache.myfaces.tobago:maven-apt-plugin' does not exist or no valid ve
> rsion could be found
>         at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
> uginVersion(DefaultPluginVersionManager.java:228)
>         at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
> uginVersion(DefaultPluginVersionManager.java:90)
>         at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug
> inManager.java:166)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
> ultLifecycleExecutor.java:1257)
>         ... 17 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Fri Nov 10 18:49:30 EST 2000
> [Full GC [CMS: 20850K->7845K(258048K), 0.1376655 secs] 23944K->7845K(262080K), [
> CMS Perm : 5033K->5028K(8192K)], 0.1378491 secs]
> [INFO] Final Memory: 7M/255M
> [INFO] ------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.