directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Norbet Reilly" <nrh...@gmail.com>
Subject Maven build failure
Date Thu, 27 Apr 2006 07:51:26 GMT
I've started getting the following exception every time I do a "mvn
install" (or "mvn assembly:assembly") in any directory, in a dev
directory which has previously been working.

After the initial failure I tried a full "svn up" and tried to rebuild
but get the same failure.

Is anyone else seeing this, or have any suggestions about what I should do next?

I'm running with JDK 1.4.2_11 and Maven 2.0.2.

Thanks


[INFO] -------------------------------------------------------------------------
---
[INFO] Building Apache MINA Core API
[INFO]    task-segment: [install]
[INFO] -------------------------------------------------------------------------
---
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
     [echo] ====================================================================

     [echo]                        W A R N I N G
     [echo]                        -------------
     [echo]
     [echo] Build with 1.4 jvm will not include modules:
     [echo]
     [echo]  o mina-filter-ssl
     [echo]  o mina-integration-spring
     [echo]  o mina-examples
     [echo]
     [echo] Use JDK 1.5 to make sure these modules build.
     [echo] ====================================================================

[INFO] Executed tasks
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] -------------------------------------------------------------------------
---
[ERROR] FATAL ERROR
[INFO] -------------------------------------------------------------------------
---
[INFO] null
[INFO] -------------------------------------------------------------------------
---
[INFO] Trace
java.lang.NullPointerException
        at org.apache.maven.project.injection.DefaultProfileInjector.injectPlugi
ns(DefaultProfileInjector.java:147)
        at org.apache.maven.project.injection.DefaultProfileInjector.injectBuild
(DefaultProfileInjector.java:134)
        at org.apache.maven.project.injection.DefaultProfileInjector.inject(Defa
ultProfileInjector.java:80)
        at org.apache.maven.project.DefaultMavenProjectBuilder.injectActiveProfi
les(DefaultMavenProjectBuilder.java:1035)
        at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D
efaultMavenProjectBuilder.java:836)
        at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D
efaultMavenProjectBuilder.java:1000)
        at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMave
nProjectBuilder.java:593)
        at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromReposito
ry(DefaultMavenProjectBuilder.java:353)
        at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenM
etadataSource.java:102)
        at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(D
efaultArtifactCollector.java:282)
        at org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(D
efaultArtifactCollector.java:67)
        at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTra
nsitively(DefaultArtifactResolver.java:223)
        at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTra
nsitively(DefaultArtifactResolver.java:211)
        at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTra
nsitively(DefaultArtifactResolver.java:182)
        at org.apache.maven.plugin.DefaultPluginManager.ensurePluginContainerIsC
omplete(DefaultPluginManager.java:611)
        at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul
tPluginManager.java:522)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:393)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:531)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:472)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:451)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:303)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:270)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:139)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        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)
[INFO] -------------------------------------------------------------------------
---
[INFO] Total time: 1 minute 33 seconds
[INFO] Finished at: Thu Apr 27 17:42:18 EST 2006
[INFO] Final Memory: 7M/14M
[INFO] -------------------------------------------------------------------------
---

Mime
View raw message