directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norbet Reilly <nrh...@gmail.com>
Subject Re: [scm] MINA reorg complete
Date Mon, 16 Jan 2006 06:01:23 GMT
Can you publish a brief blurb about any relevant Maven2 targets: I had
my build going before the target/ => targets/ SVN reorg, but now when
I try and build in the new tree at the top apacheds/trunks/ level
(Maven version: 2.0.1, java version "1.4.2_04") I get:

D:\src\reference\apacheds>mvn
[INFO] Scanning for projects...
[INFO] -------------------------------------------------------------------------
---
[ERROR] FATAL ERROR
[INFO] -------------------------------------------------------------------------
---
[INFO] Error building POM (may not be this project's POM).


Project ID: unknown

Reason: Could not find the model file 'D:\src\reference\apacheds\mina\mina\pom.x
ml'.


[INFO] -------------------------------------------------------------------------
---
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Could not find the model file
'D:\src\reference\apacheds\mina\mina\pom.xml'.
        at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278)
        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)
Caused by: org.apache.maven.project.ProjectBuildingException: Could not find the
 model file 'D:\src\reference\apacheds\mina\mina\pom.xml'.
        at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(Default
MavenProjectBuilder.java:1100)
        at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi
le(DefaultMavenProjectBuilder.java:289)
        at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMave
nProjectBuilder.java:274)
        at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:515)
        at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:447)
        at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:491)
        at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:491)
        at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:351)
        ... 11 more
Caused by: java.io.FileNotFoundException: D:\src\reference\apacheds\mina\mina\po
m.xml (The system cannot find the path specified)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at java.io.FileReader.<init>(FileReader.java:55)
        at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(Default
MavenProjectBuilder.java:1095)
        ... 18 more
[INFO] -------------------------------------------------------------------------
---
[INFO] Total time: < 1 second
[INFO] Finished at: Mon Jan 16 16:53:55 EST 2006
[INFO] Final Memory: 1M/2M
[INFO] -------------------------------------------------------------------------
---

I tried to build in the

apacheds/trunks/apacheds/

and

apacheds/trunks/mina/

levels explicitly (both "mvn install:install" and plain "mvn") and
recieved similar error messages implying the name of the parent
directory containing "pom.xml" was being erroneously duplicated.

Any idea what I need to do differently?

Thanks

Mime
View raw message