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

[jira] Commented: (WW-2313) Plugin source code is not included in assemblies

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

Antonio Petrelli commented on WW-2313:
--------------------------------------

Martin
I think that the source should be included in the "src" and "all" distros.
I think that it was simply a mistake not to put the plugins' source in these distros.

> Plugin source code is not included in assemblies
> ------------------------------------------------
>
>                 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, 2.1.0
>         Environment: All, but for the original issue is:
> Maven version: 2.0.7
> Java version: 1.5.0_02
> OS name: "windows 2000" version: "5.0" arch: "x86"
>            Reporter: Martin Gainty
>            Assignee: Antonio Petrelli
>            Priority: Blocker
>             Fix For: 2.1.1
>
>
> Plugins' source is not included in "source" and "all" distributions.
> As a consequence, the distribution cannot be built, as it can be seen by the test made by 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.