dev@glassfish.java.net

Re: V3 build failure!

From: Snjezana Sevo-Zenzerovic <Snjezana.Sevo-Zenzerovic_at_Sun.COM>
Date: Wed, 22 Apr 2009 19:42:31 -0700

Any one of our maven gurus is free to jump in, but my understanding is that v 4.0.0 pom is pom model version used by maven 2.0.x (as opposed to, presumably, other Maven versions).

So, it seems that in this case, maven claims that POM org-netbeans-modules-projectapi-RELEASE60.pom is not valid 4.0.0 pom which should definitely not be the case. Color me confused :-(


----- Original Message -----
From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Wednesday, April 22, 2009 7:36 pm
Subject: Re: V3 build failure!
To: dev_at_glassfish.dev.java.net


> Snjezana,
>
> Why is it complaining about v4.0.0 POM?
>
> [INFO] An Ant BuildException has occured: The following error occurred
> while executing this line:
> /export/v3/v3/packager/glassfish-cmp/build.xml:178: The following
> error occurred while executing this line:
> /export/v3/v3/packager/common-targets.xml:76:
> org.apache.maven.project.ProjectBuildingException: Failed to parse
> dependencies of
> org.netbeans.modules:org-netbeans-modules-dbschema:null.
> trail=[org.glassfish.packager:glassfish-cmp:3.0-SNAPSHOT--(compile)-->org.glassfish.persistence.cmp:cmp-all:3.0-SNAPSHOT,
> org.glassfish.persistence.cmp:cmp-all:3.0-SNAPSHOT--(compile)-->org.glassfish.persistence.cmp:cmp-model:3.0-SNAPSHOT,
> org.glassfish.persistence.cmp:cmp-model:3.0-SNAPSHOT--(compile)-->org.glassfish.external:dbschema-repackaged:3.0-SNAPSHOT,
> org.glassfish.external:dbschema-repackaged:3.0-SNAPSHOT--(compile/optional)-->org.netbeans.modules:org-netbeans-modules-dbschema:RELEASE60]
> for project org.netbeans.modules:org-netbeans-modules-dbschema:null
>
> Not a v4.0.0 POM. for project
> org.netbeans.api:org-netbeans-modules-projectapi at /home/mvatkina/.m2/repository/org/netbeans/api/org-netbeans-modules-projectapi/RELEASE60/org-netbeans-modules-projectapi-RELEASE60.pom
>
> thanks,
> -marina
>
> Marina Vatkina wrote:
> >Something is completely wrong with my env today... I removed 2 dirs
> from my repo and it failed to build CMP:
> >
> >[INFO] Building Glassfish CMP Package
> >[INFO] task-segment: [clean, install]
> >[INFO] ------------------------------------------------------------------------
> >[INFO] [clean:clean]
> >[INFO] snapshot org.glassfish.persistence.cmp:cmp-all:3.0-SNAPSHOT:
> checking for updates from glassfish-repository
> >[INFO] snapshot org.glassfish.persistence.cmp:cmp-all:3.0-SNAPSHOT:
> checking for updates from java.net
> >[INFO] snapshot org.glassfish.packager:glassfish-ejb:3.0-SNAPSHOT:
> checking for updates from glassfish-repository
> >[INFO] snapshot org.glassfish.packager:glassfish-ejb:3.0-SNAPSHOT:
> checking for updates from java.net
> >[INFO] snapshot org.glassfish.packager:glassfish-ejb:3.0-SNAPSHOT:
> checking for updates from glassfish-repo-archive
> >[INFO] snapshot org.glassfish.packager:glassfish-ejb:3.0-SNAPSHOT:
> checking for updates from glassfish-repository-wsinterop
> >[INFO] snapshot org.glassfish.packager:glassfish-ejb:3.0-SNAPSHOT:
> checking for updates from EclipseLink Repo
> >[INFO] snapshot org.glassfish.packager:glassfish-ejb:3.0-SNAPSHOT:
> checking for updates from Netbeans repo
> >[INFO] snapshot org.glassfish.packager:glassfish-ejb:3.0-SNAPSHOT:
> checking for updates from glassfish-repo-archive-dummy
> >[INFO] snapshot org.glassfish.packager:glassfish-ejb:3.0-SNAPSHOT:
> checking for updates from java-dev-repository
> >[INFO] snapshot org.glassfish.packager:glassfish-ejb:3.0-SNAPSHOT:
> checking for updates from repo1.maven.org
> >[INFO] snapshot org.glassfish.packager:glassfish-ejb:3.0-SNAPSHOT:
> checking for updates from maven2.java.net
> >[INFO] snapshot org.glassfish.packager:glassfish-ejb:3.0-SNAPSHOT:
> checking for updates from maven2.java.net-backup
> >[INFO] [enforcer:enforce {execution: enforce-versions}]
> >[INFO] [osgiversion:compute-osgi-version {execution: compute-osgi-version}]
> >[INFO] [resources:resources]
> >[INFO] Using default encoding to copy filtered resources.
> >[INFO] [bundle:manifest {execution: bundle-manifest}]
> >[WARNING] Ignoring project type distribution-base-zip -
> supportedProjectTypes = [hk2-jar, bundle]
> >[INFO] [antrun-extended:run]
> >[INFO] Executing tasks
> >
> >create.package:
> >Failed to parse dependencies of
> org.netbeans.modules:org-netbeans-modules-dbschema:null.
> trail=[org.glassfish.packager:glassfish-cmp:3.0-SNAPSHOT--(compile)-->org.glassfish.persistence.cmp:cmp-all:3.0-SNAPSHOT,
> org.glassfish.persistence.cmp:cmp-all:3.0-SNAPSHOT--(compile)-->org.glassfish.persistence.cmp:cmp-model:3.0-SNAPSHOT,
> org.glassfish.persistence.cmp:cmp-model:3.0-SNAPSHOT--(compile)-->org.glassfish.external:dbschema-repackaged:3.0-SNAPSHOT,
> org.glassfish.external:dbschema-repackaged:3.0-SNAPSHOT--(compile/optional)-->org.netbeans.modules:org-netbeans-modules-dbschema:RELEASE60]
>
> >
> >
> >Marina Vatkina wrote:
> >
> >>Same failure :(.
> >>
> >>Jane,
> >>
> >>I did first
> >>mvn clean; svn update; mvn -U install
> >>
> >>Now I'm running mvn clean install.
> >>
> >>/home/mvatkina/.m2/repository/javax/faces/shale-remoting/1.1.0-swdp-b/shale-remoting-1.1.0-swdp-b.pom
>
> >>/home/mvatkina/.m2/repository/com/sun/faces/extensions/jsf-extensions-common/0.1
>
> >>
> >>-marina
> >>
> >>Snjezana Sevo-Zenzerovic wrote:
> >>
> >>>Marina,
> >>>
> >>>did you update packager module in last 15 minutes or so - I checked
> in dependency exclusion I mentioned before...
> >>>
> >>>Marina Vatkina wrote:
> >>>
> >>>>Jane Young wrote:
> >>>>
> >>>>>Marina,
> >>>>>
> >>>>>I updated my workspace and didn't see any build failure.
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>I tried 2 more times with the same result :(
> >>>>
> >>>>>I don't think it's related but what version of mvn and JDK are
> you using?
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>% mvn -version
> >>>>Maven version: 2.0.9
> >>>>Java version: 1.6.0_07
> >>>>OS name: "sunos" version: "5.10" arch: "x86" Family: "unix"
> >>>>
> >>>>>
> >>>>>Are you sure you don't have a local modification ? Can you do
> "mvn status"?
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>Nothing there.
> >>>>
> >>>>thanks,
> >>>>-marina
> >>>>
> >>>>>
> >>>>>Jane
> >>>>>
> >>>>>
> >>>>>Snjezana Sevo-Zenzerovic wrote:
> >>>>>
> >>>>>>I am really not sure - FWIW, I have to make another packager
> change which excludes this particular artifact from the distribution,
> so it just might help...
> >>>>>>
> >>>>>>Marina Vatkina wrote:
> >>>>>>
> >>>>>>>Does it depend on mvn or JDK version?
> >>>>>>>
> >>>>>>>thanks,
> >>>>>>>-marina
> >>>>>>>
> >>>>>>>Snjezana Sevo-Zenzerovic wrote:
> >>>>>>>
> >>>>>>>>FWIW, this works in my workspace and in continuous build
> Hudson job and I can see the offending POM in java.net repository :-(
> >>>>>>>>
> >>>>>>>>Marina Vatkina wrote:
> >>>>>>>>
> >>>>>>>>>I've just updated my ws. :(
> >>>>>>>>>
> >>>>>>>>>Failed to parse dependencies of
> com.sun.faces.extensions:jsf-extensions-common:null.
> trail=[org.glassfish.packager:glassfish-gui:3.0-SNAPSHOT--(compile)-->org.glassfish.admingui:console-security-plugin:3.0-SNAPSHOT,
> org.glassfish.admingui:console-security-plugin:3.0-SNAPSHOT--(compile)-->com.sun.woodstock:webui-jsf:4.3.0.7,
> com.sun.woodstock:webui-jsf:4.3.0.7--(runtime)-->com.sun.faces.extensions:jsf-extensions-common:0.1]
>
> >>>>>>>>>Overriding previous definition of reference to all-modules
> >>>>>>>>>[INFO]
> ------------------------------------------------------------------------
>
> >>>>>>>>>[ERROR] BUILD ERROR
> >>>>>>>>>[INFO]
> ------------------------------------------------------------------------
>
> >>>>>>>>>[INFO] An Ant BuildException has occured: The following error
> occurred while executing this line:
> >>>>>>>>>/export/v3/v3/packager/glassfish-gui/build.xml:137: The
> following error occurred while executing this line:
> >>>>>>>>>/export/v3/v3/packager/common-targets.xml:76:
> org.apache.maven.project.ProjectBuildingException: Failed to parse
> dependencies of com.sun.faces.extensions:jsf-extensions-common:null.
> trail=[org.glassfish.packager:glassfish-gui:3.0-SNAPSHOT--(compile)-->org.glassfish.admingui:console-security-plugin:3.0-SNAPSHOT,
> org.glassfish.admingui:console-security-plugin:3.0-SNAPSHOT--(compile)-->com.sun.woodstock:webui-jsf:4.3.0.7,
> com.sun.woodstock:webui-jsf:4.3.0.7--(runtime)-->com.sun.faces.extensions:jsf-extensions-common:0.1]
> for project com.sun.faces.extensions:jsf-extensions-common:null
> >>>>>>>>>
> >>>>>>>>>Failed to validate POM for project javax.faces:shale-remoting
> at Artifact [javax.faces:shale-remoting:pom:1.1.0-swdp-b]
> >>>>>>>>>
> >>>>>>>>>---------------------------------------------------------------------
>
> >>>>>>>>>To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> >>>>>>>>>For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
> >>>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>---------------------------------------------------------------------
>
> >>>>>>>>To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> >>>>>>>>For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
> >>>>>>>>
> >>>>>>>
> >>>>>>>---------------------------------------------------------------------
>
> >>>>>>>To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> >>>>>>>For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
> >>>>>>>
> >>>>>>
> >>>>>>
> >>>>>>---------------------------------------------------------------------
> >>>>>>To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> >>>>>>For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
> >>>>>>
> >>>>>
> >>>>>
> >>>>>---------------------------------------------------------------------
> >>>>>To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> >>>>>For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
> >>>>>
> >>>>
> >>>>---------------------------------------------------------------------
> >>>>To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> >>>>For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
> >>>>
> >>>
> >>>
> >>>---------------------------------------------------------------------
> >>>To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> >>>For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
> >>>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> >>For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
> >>
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> >For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>