You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Jacek Laskowski (JIRA)" <de...@geronimo.apache.org> on 2006/07/02 10:35:32 UTC

[jira] Commented: (GERONIMO-2082) [m2] stax dependencies are all wrong

    [ http://issues.apache.org/jira/browse/GERONIMO-2082?page=comments#action_12418835 ] 

Jacek Laskowski commented on GERONIMO-2082:
-------------------------------------------

It seems to be a chicken-and-egg problem. I've tested it out in a clean environment (no ~/.m2, but the xmlbeans jars from the patch and Geronimo checkout). There's an issue with the plugins and before we work it around we won't be any good to move on with any forthcoming patches pertaining to the m2 build. So, I think we need to combine two patches into one and RTC it (Jason's patch (GERONIMO-2161) and this one).

I think that pom.xml should not reference openejb module either? It's not necessary after the jars have been published, is it?

{noformat}
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command:
    mvn install:install-file -DgroupId=org.apache.geronimo.plugins -DartifactId=geronimo-packaging-plugin \
        -Dversion=1.2-SNAPSHOT -Dpackaging=maven-plugin -Dfile=/path/to/file


  org.apache.geronimo.plugins:geronimo-packaging-plugin:maven-plugin:1.2-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  codehaus-dist (http://dist.codehaus.org/mojo/m2-snapshots),
  snapshots (http://snapshots.maven.codehaus.org/maven2)

  org.apache.geronimo.plugins:geronimo-packaging-plugin:maven-plugin:1.2-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  codehaus-dist (http://dist.codehaus.org/mojo/m2-snapshots),
  snapshots (http://snapshots.maven.codehaus.org/maven2)

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14 seconds
[INFO] Finished at: Sun Jul 02 10:29:22 CEST 2006
[INFO] Final Memory: 11M/254M
[INFO] ------------------------------------------------------------------------
{noformat}

> [m2] stax dependencies are all wrong
> ------------------------------------
>
>          Key: GERONIMO-2082
>          URL: http://issues.apache.org/jira/browse/GERONIMO-2082
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>     Versions: 1.2
>     Reporter: David Jencks
>     Assignee: David Jencks
>      Fix For: 1.2
>  Attachments: geronimo-no-stax-v2.diff, geronimo-no-stax.diff, m2-repo.jar, openejb-no-stax-v2.diff, openejb-no-stax.diff, xbean-2.0.0.pom, xmlbeans-maven-plugin-2.0.1-SNAPSHOT.jar, xmlbeans-maven-plugin-2.0.1-SNAPSHOT.jar
>
> The dependencies for xmlbeans and the maven xmlbeans plugins are all wrong.
> xmlbeans pom needs to depend on stax-api, see http://jira.codehaus.org/browse/MEV-406
> xmlbeans plugin needs to have stax-api and stax dependencies removed, see http://jira.codehaus.org/browse/MXMLBEANS-19
> At this point we can remove all stax and stax-api dependencies from our (and openejb) poms.
> I'll attach the modified xmlbeans pom, the modified plugin, and the patches to remove all stax mentions from our poms.  I'd appreciate some verification of my results.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira