All my maven projects are broken...

From: Mr. G Brown (gsbrow..mich.edu)
Date: Fri Apr 24 2009 - 20:02:54 EDT

  • Next message: Lachlan Deck: "Re: All my maven projects are broken..."

    All my maven projects are broken...

    I think it is the well known maven-update-plugin-snapshot-and-shoot-
    all-your-projects bug.

    The settings from the wocommunity repository caused a new:
                                    <groupId>org.objectstyle.woproject.maven2</groupId>
                                    <artifactId>maven-wolifecycle-plugin</artifactId>
                                    <version>2.0.17-SNAPSHOT</version>
                                    <extensions>true</extensions>

    Snapshot to download and then the fun began with some eclipse problems:
    4/22/09 11:55:57 AM EDT: Failed to read Maven project
    4/22/09 11:55:57 AM EDT:
    org.apache.maven.extension.ExtensionScanningException: Cannot resolve
    pre-scanned plugin artifact (for use as an extension):
    org.objectstyle.woproject.maven2:maven-wolifecycle-plugin: Failed to
    resolve extension plugin: org.objectstyle.woproject.maven2:maven-
    wolifecycle-plugin:maven-plugin:2.0.17-SNAPSHOT
    4/22/09 11:55:58 AM EDT: Failed to read Maven project

    and


    Plus, I can't create new projects. The below project seems like it
    might work, but the
    .project is lacking the maven nature etc.
            <natures>
                    <nature>org.eclipse.jdt.core.javanature</nature>
                    <nature>
                            org.objectstyle.wolips.incrementalapplicationnature
                    </nature>
            </natures>

    As WOWODC approaches, stuff seems to change faster, which has good
    aspects and some bad : <(

    Questions:

    1.) Should we use the non snapshot version of the plugins? Is maven-
    wolifecycle-plugin version 2.0.16 viable?
    (Just tried it and:
    org.apache.maven.lifecycle.LifecycleExecutionException: Internal
    error in the plugin manager executing goal
    'org.objectstyle.woproject.maven2:maven-wolifecycle-plugin:
    2.0.16:woframework': Mojo execution failed.
    DARN MOJO!

    2.) maybe use the old ~/.M2/settings file (no plugin repository) so
    we can control when important plugins get updated?

    3.) Go find that backup and get the old version?

    4.) Pet the fluffy bunny until there is a stable release of all the
    brewing goodness?

    ?

    project creation test:

    Define value for WebObjectsVersion: 5.4.2: : 5.3.3
    Define value for WonderSupport: no: : yes
    Define value for WonderVersion: 5.0.0-SNAPSHOT: :
    Define value for TrueWarSupport: no: :
    Define value for groupId: : mygroup
    Define value for artifactId: : foo
    Define value for version: 1.0-SNAPSHOT: :
    Define value for package: mygroup: :
    Confirm properties configuration:
    WebObjectsVersion: 5.3.3
    WonderSupport: yes
    WonderVersion: 5.0.0-SNAPSHOT
    TrueWarSupport: no
    groupId: mygroup
    artifactId: foo
    version: 1.0-SNAPSHOT
    package: mygroup
      Y: : y
    [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
    reference : template = archetype-resources/pom.xml [line 40,column
    34] : ${woversion} is not a valid reference.
    [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
    reference : template = archetype-resources/pom.xml [line 45,column
    34] : ${woversion} is not a valid reference.
    [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
    reference : template = archetype-resources/pom.xml [line 50,column
    34] : ${woversion} is not a valid reference.
    [INFO]
    ------------------------------------------------------------------------
    [INFO] BUILD SUCCESSFUL
    [INFO]
    ------------------------------------------------------------------------
    [INFO] Total time: 2 minutes
    [INFO] Finished at: Fri Apr 24 15:41:56 EDT 2009
    [INFO] Final Memory: 8M/15M
    [INFO]
    ------------------------------------------------------------------------


    Mr. G Brown
    gsbrow..mich.edu



    This archive was generated by hypermail 2.0.0 : Fri Apr 24 2009 - 20:04:41 EDT