felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stuart McCulloch <mccu...@gmail.com>
Subject Re: trunk still does not build
Date Fri, 26 Mar 2010 20:16:02 GMT
On 26 March 2010 01:27, Guillaume Nodet <gnodet@gmail.com> wrote:

> I think the problems comes from the fact that bundlerepository and
> bundleplugin have a cyclic dependency.
> I'll try to remove this cyclic dep by extracting the model to utils (which
> could be later merged with the one from trunk).
>

this is exactly why we split out the "org.osgi.service.obr" artifact in the
first place,
so I'm a bit surprised that someone put this circular dependency back when
we'd
gone to the trouble removing it before

moving out common code to a shared artifact is definitely the way to go.


> On Thu, Mar 25, 2010 at 23:28, Pierre De Rop <pierre.derop@gmail.com>
> wrote:
>
> > Guillaume,
> >
> > Ok, indeed, it works if I manually do the following:
> >
> > 1) build utils
> > 2) build bundlerepository
> > 3) build bundleplugin
> > 4) and then type "mvn -Dmaven.test.skip=true -Dpackaging=bundle install"
> >
> > However, with your last commit, if I type directly "mvn
> > -Dmaven.test.skip=true -Dpackaging=bundle install", I still get this
> > exception:
> >
> > [ERROR] FATAL ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] org/apache/felix/bundlerepository/Requirement
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Trace
> > java.lang.NoClassDefFoundError:
> > org/apache/felix/bundlerepository/Requirement
> >         at
> > org.apache.felix.obrplugin.ObrInstall.execute(ObrInstall.java:139)
> >         at
> >
> >
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
> >        at
> >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
> >        at
> >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
> >        at
> >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
> >        at
> >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
> >        at
> >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
> >        at
> >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
> >        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
> >        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
> >        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
> >        at
> > org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
> >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >        at
> >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >        at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:592)
> >         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)
> >
> >
> >
> > One additional thing to notice is that if I type "mvn -Dpackaging=plugins
> > install", I then get this error:
> >
> > [ERROR] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] The projects in the reactor contain a cyclic reference: Edge
> between
> > 'Vertex{label='org.apache.felix:org.apache.felix.bundlerepository'}' and
> > 'Vertex{label='org.apache.felix:maven-bundle-plugin'}' introduces to
> cycle
> > in the graph org.apache.felix:maven-bundle-plugin -->
> > org.apache.felix:org.apache.felix.bundlerepository -->
> > org.apache.felix:maven-bundle-plugin
> >
> >
> >
> > Did I miss something ?
> >
> >
> >
> > On Thu, Mar 25, 2010 at 3:28 PM, Guillaume Nodet <gnodet@gmail.com>
> wrote:
> >
> > > That one works for me.  Make sure you svn up.  The root pom may be
> > missing
> > > the utils subproject too and you actually need a freshly build copy of
> > it,
> > > so try building it manually first.  I'll try to add it to the build in
> > the
> > > meantime.
> > >
> > > On Thu, Mar 25, 2010 at 14:19, Pierre De Rop <pierre.derop@gmail.com>
> > > wrote:
> > >
> > > > Guillaume,
> > > >
> > > > The issue reported by Sahoo also takes place when just typing:
> > > >
> > > >    mvn -Dmaven.test.skip=true -Dpackaging=bundle install
> > > >
> > > > (it's quicker than when typing "ant")
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On Thu, Mar 25, 2010 at 1:51 PM, Pierre De Rop <
> pierre.derop@gmail.com
> > > > >wrote:
> > > >
> > > > > Indeed, I get some exceptions while building the upnp subproject:
> > > > >
> > > > > [INFO] Scanning for projects...
> > > > > [INFO] Reactor build order:
> > > > > [INFO]   Apache Felix UPnP Extra
> > > > > [INFO]   Apache Felix UPnP Base Driver
> > > > > [INFO]   Apache Felix UPnP Tester
> > > > > [INFO]   Apache Felix UPnP Sample Binary-Light
> > > > > [INFO]   Apache Felix UPnP Sample Clock
> > > > > [INFO]   Apache Felix UPnP Sample TV
> > > > > [INFO]   Apache Felix UPnP Examples: Build
> > > > > [INFO]   Apache Felix UPnP: Root POM
> > > > > [INFO]
> > > > >
> > >
> ------------------------------------------------------------------------
> > > > >
> > > > > [INFO] Building Apache Felix UPnP Extra
> > > > > [INFO]    task-segment: [install]
> > > > > [INFO]
> > > > >
> > >
> ------------------------------------------------------------------------
> > > > >
> > > > > [INFO] [resources:resources {execution: default-resources}]
> > > > > [INFO] Using 'UTF-8' encoding to copy filtered resources.
> > > > > [INFO] skip non existing resourceDirectory
> > > > > /home/nxuser/work/osgi/felix-trunk/upnp/extra/src/main/resources
> > > > >
> > > > > [INFO] Copying 2 resources to META-INF
> > > > > [INFO] [compiler:compile {execution: default-compile}]
> > > > > [INFO] Nothing to compile - all classes are up to date
> > > > >
> > > > > [INFO] [resources:testResources {execution: default-testResources}]
> > > > > [INFO] Using 'UTF-8' encoding to copy filtered resources.
> > > > > [INFO] skip non existing resourceDirectory
> > > > > /home/nxuser/work/osgi/felix-trunk/upnp/extra/src/test/resources
> > > > >
> > > > > [INFO] [compiler:testCompile {execution: default-testCompile}]
> > > > > [INFO] No sources to compile
> > > > > [INFO] [surefire:test {execution: default-test}]
> > > > > [INFO] No tests to run.
> > > > > [INFO] [bundle:bundle {execution: default-bundle}]
> > > > > [WARNING] Warning building bundle
> > > > > org.apache.felix:org.apache.felix.upnp.extra:bundle:0.5.0-SNAPSHOT
> :
> > > > > Instructions in Private-Package, or -testpackages that are never
> > used:
> > > > > org\.apache\.xerces\.impl\.dv\.util
> > > > > [INFO] [install:install {execution: default-install}]
> > > > > [INFO] Installing
> > > > >
> > > >
> > >
> >
> /home/nxuser/work/osgi/felix-trunk/upnp/extra/target/org.apache.felix.upnp.extra-0.5.0-SNAPSHOT.jar
> > > > > to
> > > > >
> > > >
> > >
> >
> /home/nxuser/.m2/repository/org/apache/felix/org.apache.felix.upnp.extra/0.5.0-SNAPSHOT/org.apache.felix.upnp.extra-0.5.0-SNAPSHOT.jar
> > > > >
> > > > > [INFO] [bundle:install {execution: default-install}]
> > > > > [WARNING] Exception while updating local OBR: Unable to read
> > repository
> > > > > xml: file:/home/nxuser/.m2/repository/repository.xml
> > > > > org.apache.maven.plugin.MojoExecutionException: Unable to read
> > > repository
> > > > > xml: file:/home/nxuser/.m2/repository/repository.xml
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.felix.obrplugin.ObrUpdate.parseRepositoryXml(ObrUpdate.java:295)
> > > > >     at
> > > org.apache.felix.obrplugin.ObrInstall.execute(ObrInstall.java:140)
> > > > >
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
> > > > >     at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
> > > > >     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
> > > > >     at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
> > > > >     at
> > > > >
> > org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
> > > > >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > >     at
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > >     at
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > >     at java.lang.reflect.Method.invoke(Method.java:597)
> > > > >     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: java.lang.Exception: Error while parsing resource
> > > > > org.apache.felix.eventadmin/1.2.3.SNAPSHOT at line 563 and column
> 156
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.felix.bundlerepository.impl.PullParser.parseResource(PullParser.java:241)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.felix.bundlerepository.impl.PullParser.parse(PullParser.java:138)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.felix.bundlerepository.impl.PullParser.parseRepository(PullParser.java:48)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.felix.bundlerepository.impl.DataModelHelperImpl.repository(DataModelHelperImpl.java:162)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.felix.bundlerepository.impl.DataModelHelperImpl.repository(DataModelHelperImpl.java:133)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.felix.obrplugin.ObrUpdate.parseRepositoryXml(ObrUpdate.java:291)
> > > > >     ... 20 more
> > > > > Caused by: java.lang.IllegalArgumentException
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.felix.bundlerepository.impl.RequirementImpl.setFilter(RequirementImpl.java:69)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.felix.bundlerepository.impl.PullParser.parseRequire(PullParser.java:329)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.felix.bundlerepository.impl.PullParser.parseResource(PullParser.java:204)
> > > > >     ... 25 more
> > > > > Caused by: org.osgi.framework.InvalidSyntaxException: Invalid
> > operator:
> > > > > <2.0.0))
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.felix.utils.filter.FilterImpl$Parser.parse_item(FilterImpl.java:1352)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.felix.utils.filter.FilterImpl$Parser.parse_filtercomp(FilterImpl.java:1228)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.felix.utils.filter.FilterImpl$Parser.parse_filter(FilterImpl.java:1193)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.felix.utils.filter.FilterImpl$Parser.parse_and(FilterImpl.java:1243)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.felix.utils.filter.FilterImpl$Parser.parse_filtercomp(FilterImpl.java:1217)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.felix.utils.filter.FilterImpl$Parser.parse_filter(FilterImpl.java:1193)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.felix.utils.filter.FilterImpl$Parser.parse(FilterImpl.java:1167)
> > > > >     at
> > > > >
> > >
> org.apache.felix.utils.filter.FilterImpl.newInstance(FilterImpl.java:82)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.felix.bundlerepository.impl.RequirementImpl.setFilter(RequirementImpl.java:65)
> > > > >     ... 27 more
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On Thu, Mar 25, 2010 at 1:32 PM, Guillaume Nodet <gnodet@gmail.com
> >
> > > > wrote:
> > > > >
> > > > >> Can you try building only the upnp subproject ?
> > > > >> I suspect a problem with maven mixing the versions of
> > bundlerepository
> > > > to
> > > > >> use.
> > > > >>
> > > > >> On Thu, Mar 25, 2010 at 11:49, Pierre De Rop <
> > pierre.derop@gmail.com>
> > > > >> wrote:
> > > > >>
> > > > >> > I just type "ant".
> > > > >> > Is this the correct way to compile the whole trunk ?
> > > > >> >
> > > > >> > /pierre
> > > > >> >
> > > > >> >
> > > > >> > On Thu, Mar 25, 2010 at 11:35 AM, Guillaume Nodet <
> > gnodet@gmail.com
> > > >
> > > > >> > wrote:
> > > > >> >
> > > > >> > > Btw, what command do you use the build the whole trunk
?
> > > > >> > >
> > > > >> > > On Thu, Mar 25, 2010 at 11:18, Pierre De Rop <
> > > > pierre.derop@gmail.com>
> > > > >> > > wrote:
> > > > >> > >
> > > > >> > > > Hello Guillaume;
> > > > >> > > >
> > > > >> > > > Just to confirm what Sahoo said: I also can't
build the
> trunk,
> > > and
> > > > >> get
> > > > >> > > the
> > > > >> > > > same error: java.lang.NoClassDefFoundError:
> > > > >> > > > org/apache/felix/bundlerepository/Requirement
...
> > > > >> > > >
> > > > >> > > > (I am using maven 2.2.1)
> > > > >> > > > /pierre
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > On Thu, Mar 25, 2010 at 9:18 AM, Guillaume Nodet
<
> > > > gnodet@gmail.com>
> > > > >> > > wrote:
> > > > >> > > >
> > > > >> > > > > I don't see this error.
> > > > >> > > > > Which version of maven do you use ? I use
2.2.0 and it
> seems
> > > to
> > > > >> work
> > > > >> > > for
> > > > >> > > > > me.
> > > > >> > > > >
> > > > >> > > > > On Thu, Mar 25, 2010 at 07:18, Sahoo <Sahoo@sun.com>
> wrote:
> > > > >> > > > >
> > > > >> > > > > >    [exec] [INFO]
> > > > >> > > > > >
> > > > >> > > >
> > > > >> >
> > > >
> > ------------------------------------------------------------------------
> > > > >> > > > > >    [exec] [INFO] Building Apache Felix
UPnP Extra
> > > > >> > > > > >    [exec] [INFO]    task-segment: [clean,
install]
> > > > >> > > > > >    [exec] [INFO]
> > > > >> > > > > >
> > > > >> > > >
> > > > >> >
> > > >
> > ------------------------------------------------------------------------
> > > > >> > > > > >    [exec] [INFO] [clean:clean {execution:
> default-clean}]
> > > > >> > > > > >    [exec] [INFO] Deleting directory
> > > > >> > > > > > /space/ss141213/WS/felix/trunk/upnp/extra/target
> > > > >> > > > > >    [exec] [INFO] [resources:resources
{execution:
> > > > >> > default-resources}]
> > > > >> > > > > >    [exec] [INFO] Using 'UTF-8' encoding
to copy filtered
> > > > >> resources.
> > > > >> > > > > >    [exec] [INFO] skip non existing resourceDirectory
> > > > >> > > > > >
> > /space/ss141213/WS/felix/trunk/upnp/extra/src/main/resources
> > > > >> > > > > >    [exec] [INFO] Copying 2 resources
to META-INF
> > > > >> > > > > >    [exec] [INFO] [compiler:compile {execution:
> > > > default-compile}]
> > > > >> > > > > >    [exec] [INFO] Compiling 3 source
files to
> > > > >> > > > > > /space/ss141213/WS/felix/trunk/upnp/extra/target/classes
> > > > >> > > > > >    [exec] [INFO] [resources:testResources
{execution:
> > > > >> > > > > > default-testResources}]
> > > > >> > > > > >    [exec] [INFO] Using 'UTF-8' encoding
to copy filtered
> > > > >> resources.
> > > > >> > > > > >    [exec] [INFO] skip non existing resourceDirectory
> > > > >> > > > > >
> > /space/ss141213/WS/felix/trunk/upnp/extra/src/test/resources
> > > > >> > > > > >    [exec] [INFO] [compiler:testCompile
{execution:
> > > > >> > > > default-testCompile}]
> > > > >> > > > > >    [exec] [INFO] No sources to compile
> > > > >> > > > > >    [exec] [INFO] [surefire:test {execution:
> default-test}]
> > > > >> > > > > >    [exec] [INFO] No tests to run.
> > > > >> > > > > >    [exec] [INFO] [bundle:bundle {execution:
> > default-bundle}]
> > > > >> > > > > >    [exec] [WARNING] Warning building
bundle
> > > > >> > > > > >
> > > > >> org.apache.felix:org.apache.felix.upnp.extra:bundle:0.5.0-SNAPSHOT
> > > > >> > :
> > > > >> > > > > > Instructions in Private-Package, or
-testpackages that
> are
> > > > never
> > > > >> > > used:
> > > > >> > > > > > org\.apache\.xerces\.impl\.dv\.util
> > > > >> > > > > >    [exec] [INFO] [install:install {execution:
> > > > default-install}]
> > > > >> > > > > >    [exec] [INFO] Installing
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> /space/ss141213/WS/felix/trunk/upnp/extra/target/org.apache.felix.upnp.extra-0.5.0-SNAPSHOT.jar
> > > > >> > > > > > to
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> /home/ss141213/.m2/repository/org/apache/felix/org.apache.felix.upnp.extra/0.5.0-SNAPSHOT/org.apache.felix.upnp.extra-0.5.0-SNAPSHOT.jar
> > > > >> > > > > >    [exec] [INFO] [bundle:install {execution:
> > > default-install}]
> > > > >> > > > > >    [exec] [FATAL ERROR]
> > > > >> > > org.apache.felix.obrplugin.ObrInstall#execute()
> > > > >> > > > > > caused a linkage error (java.lang.NoClassDefFoundError)
> > and
> > > > may
> > > > >> be
> > > > >> > > > > > out-of-date. Check the realms:
> > > > >> > > > > >    [exec] [FATAL ERROR] Plugin realm
=
> > > > >> > > > > >
> > > > >> > > >
> > > > >> >
> > > > >>
> > > >
> > app0.child-container[org.apache.felix:maven-bundle-plugin:2.1.0-SNAPSHOT]
> > > > >> > > > > >    [exec] urls[0] =
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> file:/home/ss141213/.m2/repository/org/apache/felix/maven-bundle-plugin/2.1.0-SNAPSHOT/maven-bundle-plugin-2.1.0-SNAPSHOT.jar
> > > > >> > > > > >    [exec] urls[1] =
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> file:/home/ss141213/.m2/repository/biz/aQute/bndlib/0.0.357/bndlib-0.0.357.jar
> > > > >> > > > > >    [exec] urls[2] =
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> file:/home/ss141213/.m2/repository/net/sf/kxml/kxml2/2.2.2/kxml2-2.2.2.jar
> > > > >> > > > > >    [exec] urls[3] =
> > > > >> > > file:/home/ss141213/.m2/repository/xmlpull/xmlpull/
> > > > >> > > > > > 1.1.3.1/xmlpull-1.1.3.1.jar
> > > > >> > > > > >    [exec] urls[4] =
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> file:/home/ss141213/.m2/repository/org/apache/felix/org.apache.felix.bundlerepository/1.5.0-SNAPSHOT/org.apache.felix.bundlerepository-1.5.0-SNAPSHOT.jar
> > > > >> > > > > >    [exec] urls[5] =
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> file:/home/ss141213/.m2/repository/org/osgi/org.osgi.core/4.1.0/org.osgi.core-4.1.0.jar
> > > > >> > > > > >    [exec] urls[6] =
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> file:/home/ss141213/.m2/repository/org/easymock/easymock/2.4/easymock-2.4.jar
> > > > >> > > > > >    [exec] urls[7] =
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> file:/home/ss141213/.m2/repository/org/apache/felix/org.osgi.core/1.0.0/org.osgi.core-1.0.0.jar
> > > > >> > > > > >    [exec] urls[8] =
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> file:/home/ss141213/.m2/repository/org/apache/felix/org.osgi.service.obr/1.0.1/org.osgi.service.obr-1.0.1.jar
> > > > >> > > > > >    [exec] urls[9] =
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> file:/home/ss141213/.m2/repository/org/codehaus/plexus/plexus-utils/1.4.7/plexus-utils-1.4.7.jar
> > > > >> > > > > >    [exec] urls[10] =
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> file:/home/ss141213/.m2/repository/org/apache/maven/maven-archiver/2.2/maven-archiver-2.2.jar
> > > > >> > > > > >    [exec] urls[11] =
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> file:/home/ss141213/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar
> > > > >> > > > > >    [exec] urls[12] =
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> file:/home/ss141213/.m2/repository/org/apache/maven/shared/maven-dependency-tree/1.2/maven-dependency-tree-1.2.jar
> > > > >> > > > > >    [exec] [FATAL ERROR] Container realm
= plexus.core
> > > > >> > > > > >    [exec] urls[0] =
> > > > >> > > > > >
> > > > >> > > >
> > > > >> >
> > > > >>
> > > >
> > file:/space/ss141213/software/apache-maven-2.2.1/lib/maven-2.2.1-uber.jar
> > > > >> > > > > >    [exec] [INFO]
> > > > >> > > > > >
> > > > >> > > >
> > > > >> >
> > > >
> > ------------------------------------------------------------------------
> > > > >> > > > > >    [exec] [ERROR] FATAL ERROR
> > > > >> > > > > >    [exec] [INFO]
> > > > >> > > > > >
> > > > >> > > >
> > > > >> >
> > > >
> > ------------------------------------------------------------------------
> > > > >> > > > > >    [exec] [INFO]
> > > org/apache/felix/bundlerepository/Requirement
> > > > >> > > > > >    [exec] org.apache.felix.bundlerepository.Requirement
> > > > >> > > > > >    [exec] [INFO]
> > > > >> > > > > >
> > > > >> > > >
> > > > >> >
> > > >
> > ------------------------------------------------------------------------
> > > > >> > > > > >    [exec] [INFO] Trace
> > > > >> > > > > >    [exec] java.lang.NoClassDefFoundError:
> > > > >> > > > > > org/apache/felix/bundlerepository/Requirement
> > > > >> > > > > >    [exec]     at
> > > > >> > > > > >
> > > > >> org.apache.felix.obrplugin.ObrInstall.execute(ObrInstall.java:139)
> > > > >> > > > > >    [exec]     at
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
> > > > >> > > > > >    [exec]     at
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
> > > > >> > > > > >    [exec]     at
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
> > > > >> > > > > >    [exec]     at
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
> > > > >> > > > > >    [exec]     at
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
> > > > >> > > > > >    [exec]     at
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
> > > > >> > > > > >    [exec]     at
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
> > > > >> > > > > >    [exec]     at
> > > > >> > > > > >
> > > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
> > > > >> > > > > >    [exec]     at
> > > > >> > > > > >
> > org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
> > > > >> > > > > >    [exec]     at
> > > > >> > > org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
> > > > >> > > > > >    [exec]     at
> > > > >> > > > > >
> > > > >> > >
> > > > >>
> > > org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
> > > > >> > > > > >    [exec]     at
> > > > >> > sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > > >> > > > > > Method)
> > > > >> > > > > >    [exec]     at
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > >> > > > > >    [exec]     at
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > >> > > > > >    [exec]     at
> > > > >> java.lang.reflect.Method.invoke(Method.java:597)
> > > > >> > > > > >    [exec]     at
> > > > >> > > > > >
> > > > >>
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> > > > >> > > > > >    [exec]     at
> > > > >> > > > > >
> > org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> > > > >> > > > > >    [exec]     at
> > > > >> > > > > >
> > > > >> >
> > > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> > > > >> > > > > >    [exec]     at
> > > > >> > > > > org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > > > >> > > > > >    [exec] Caused by: java.lang.ClassNotFoundException:
> > > > >> > > > > > org.apache.felix.bundlerepository.Requirement
> > > > >> > > > > >    [exec]     at
> > > > >> > > java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> > > > >> > > > > >    [exec]     at
> > > > >> java.security.AccessController.doPrivileged(Native
> > > > >> > > > > Method)
> > > > >> > > > > >    [exec]     at
> > > > >> > > > > java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> > > > >> > > > > >    [exec]     at
> > > > >> > > java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> > > > >> > > > > >    [exec]     at
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
> > > > >> > > > > >    [exec]     at
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
> > > > >> > > > > >    [exec]     at
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274)
> > > > >> > > > > >    [exec]     at
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
> > > > >> > > > > >    [exec]     at
> > > > >> > > java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> > > > >> > > > > >    [exec]     at
> > > > >> > > > > >
> > > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
> > > > >> > > > > >    [exec]     ... 20 more
> > > > >> > > > > >    [exec] [INFO]
> > > > >> > > > > >
> > > > >> > > >
> > > > >> >
> > > >
> > ------------------------------------------------------------------------
> > > > >> > > > > >    [exec] [INFO] Total time: 4 minutes
13 seconds
> > > > >> > > > > >    [exec] [INFO] Finished at: Wed Mar
24 22:13:56 PST
> 2010
> > > > >> > > > > >    [exec] [INFO] Final Memory: 94M/141M
> > > > >> > > > > >    [exec] [INFO]
> > > > >> > > > > >
> > > > >> > > >
> > > > >> >
> > > >
> > ------------------------------------------------------------------------
> > > > >> > > > > >
> > > > >> > > > > > BUILD FAILED
> > > > >> > > > > > /space/ss141213/WS/felix/trunk/build.xml:71:
exec
> > returned:
> > > 1
> > > > >> > > > > >
> > > > >> > > > > > I am at svn rev#927284. One may ask
why I am building
> > > > everything
> > > > >> in
> > > > >> > > > > trunk,
> > > > >> > > > > > well I typically build everything at
the top level,
> > because
> > > I
> > > > >> hate
> > > > >> > to
> > > > >> > > > > build
> > > > >> > > > > > each module separately when I have to
build four or five
> > > > >> modules.
> > > > >> > In
> > > > >> > > > any
> > > > >> > > > > > case, there is no justification for
build failures.
> > > > >> > > > > >
> > > > >> > > > > > Thanks,
> > > > >> > > > > > Sahoo
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > --
> > > > >> > > > > Cheers,
> > > > >> > > > > Guillaume Nodet
> > > > >> > > > > ------------------------
> > > > >> > > > > Blog: http://gnodet.blogspot.com/
> > > > >> > > > > ------------------------
> > > > >> > > > > Open Source SOA
> > > > >> > > > > http://fusesource.com
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> > >
> > > > >> > >
> > > > >> > > --
> > > > >> > > Cheers,
> > > > >> > > Guillaume Nodet
> > > > >> > > ------------------------
> > > > >> > > Blog: http://gnodet.blogspot.com/
> > > > >> > > ------------------------
> > > > >> > > Open Source SOA
> > > > >> > > http://fusesource.com
> > > > >> > >
> > > > >> >
> > > > >>
> > > > >>
> > > > >>
> > > > >> --
> > > > >> Cheers,
> > > > >> Guillaume Nodet
> > > > >> ------------------------
> > > > >> Blog: http://gnodet.blogspot.com/
> > > > >> ------------------------
> > > > >> Open Source SOA
> > > > >> http://fusesource.com
> > > > >>
> > > > >
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Cheers,
> > > Guillaume Nodet
> > > ------------------------
> > > Blog: http://gnodet.blogspot.com/
> > > ------------------------
> > > Open Source SOA
> > > http://fusesource.com
> > >
> >
>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
>



-- 
Cheers, Stuart

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message