Announcement Announcement Module
Collapse
No announcement yet.
Unable to build spring-richclient-archetype Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Unable to build spring-richclient-archetype

    Hey together,

    I tried to build swing rcp 1.1.0 and managed some caveats, but for this problem I can not find any solution.

    I downloaded the version via Eclipse from the svn repository and built it with "Maven install" (but I tried it with 'mvn install' too - same result). I am running Ubuntu Linux.

    Whatever I try it ends with: "Error extracting plugin descriptor: 'No mojo definitions were found for plugin: org.springframework.richclient:spring-richclient-archetype.'"

    I would really appreciate any suggestions.

    Joha


    [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-plugin-plugin:2.5:descriptor' -->
    [DEBUG] (f) outputDirectory = /home/mondal/workspace/spring-richclient/spring-richclient-archetype/target/classes/META-INF/maven
    [DEBUG] (f) project = MavenProject: org.springframework.richclient:spring-richclient-archetype:1.1.0 @ /home/mondal/workspace/spring-richclient/spring-richclient-archetype/pom.xml
    [DEBUG] -- end configuration --
    [INFO] [plugin:descriptor {execution: default-descriptor}]
    [WARNING] Using platform encoding (UTF-8 actually) to read mojo metadata, i.e. build is platform dependent!
    [DEBUG] Using 2 mojo extractors.
    [INFO] Applying mojo extractor for language: java
    [INFO] Mojo extractor for language: java found 0 mojo descriptors.
    [INFO] Applying mojo extractor for language: bsh
    [DEBUG] Running: org.apache.maven.tools.plugin.extractor.beanshell. BeanshellMojoDescriptorExtractor
    [DEBUG] Scanning script dir: src/main/scripts with extractor: org.apache.maven.tools.plugin.extractor.beanshell. BeanshellMojoDescriptorExtractor
    [INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] Error extracting plugin descriptor: 'No mojo definitions were found for plugin: org.springframework.richclient:spring-richclient-archetype.'

    [INFO] ------------------------------------------------------------------------
    [DEBUG] Trace
    org.apache.maven.lifecycle.LifecycleExecutionExcep tion: Error extracting plugin descriptor: 'No mojo definitions were found for plugin: org.springframework.richclient:spring-richclient-archetype.'
    at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeGoals(DefaultLifecycleExecutor.java:719)
    at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeGoalWithLifecycle(DefaultLifecycleExecuto r.java:556)
    at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeGoal(DefaultLifecycleExecutor.java:535)
    at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeGoalAndHandleFailures(DefaultLifecycleExe cutor.java:387)
    at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeTaskSegments(DefaultLifecycleExecutor.jav a:348)
    at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.execute(DefaultLifecycleExecutor.java:180)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMav en.java:328)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven .java:138)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:3 62)
    at org.apache.maven.cli.compat.CompatibleMain.main(Co mpatibleMain.java:60)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:616)
    at org.codehaus.classworlds.Launcher.launchEnhanced(L auncher.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.ja va:375)
    Caused by: org.apache.maven.plugin.MojoExecutionException: Error extracting plugin descriptor: 'No mojo definitions were found for plugin: org.springframework.richclient:spring-richclient-archetype.'
    at org.apache.maven.plugin.plugin.AbstractGeneratorMo jo.execute(AbstractGeneratorMojo.java:183)
    at org.apache.maven.plugin.DefaultPluginManager.execu teMojo(DefaultPluginManager.java:490)
    at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeGoals(DefaultLifecycleExecutor.java:694)
    ... 17 more
    Caused by: org.apache.maven.plugin.descriptor.InvalidPluginDe scriptorException: No mojo definitions were found for plugin: org.springframework.richclient:spring-richclient-archetype.
    at org.apache.maven.tools.plugin.scanner.DefaultMojoS canner.populatePluginDescriptor(DefaultMojoScanner .java:125)
    at org.apache.maven.plugin.plugin.AbstractGeneratorMo jo.execute(AbstractGeneratorMojo.java:171)
    ... 19 more
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 42 seconds
    [INFO] Finished at: Sat Jul 09 18:19:50 CEST 2011
    [INFO] Final Memory: 43M/103M
    [INFO] ------------------------------------------------------------------------

  • #2
    Hi joha,

    it's quite a year ago as you posted your problem but today I run in the same error like you. First time I tried to build the archetype-module with maven version 3.0.3 and get the same error message like you. Then I switched back to maven version 2.2.1 and everythings runs fine. Maybe this solution will help you or other developer with the same problem .

    Comment

    Working...
    X