[rules-users] Building from source problem and an open stream problem
Brett M. Bergquist
brett at thebergquistfamily.com
Wed Sep 5 11:48:33 EDT 2007
I downloaded 4.0.1 source and when I try to build it using maven, I get
the following error. Note that I can build 4.0.0 from the source with
this same command. Obviously I am missing something but I'm a maven
newbie and I really just want to fix a stream leak in drools and not
really learn maven at this point. Any help will be greatly appreciated.
Brett
----
C:\src\drools-4.0.1-src>mvn -Declipse=true -Ddocumentation=true clean
install
[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
'C:\src\drools-4.0.1-src\drools-ant\pom.x
l'. for project unknown
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Could not find the
model file
'C:\src\drools-4.0.1-src\drools-ant\pom.xml'. for project unknown
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:290)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
sorImpl.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: org.apache.maven.project.ProjectBuildingException: Could not
find th
model file 'C:\src\drools-4.0.1-src\drools-ant\pom.xml'. for project
unknown
at
org.apache.maven.project.DefaultMavenProjectBuilder.readModel(Defaul
MavenProjectBuilder.java:1383)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceF
leInternal(DefaultMavenProjectBuilder.java:477)
at
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMav
nProjectBuilder.java:200)
at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:553)
at
org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:467)
at
org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:527)
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:364)
... 11 more
Caused by: java.io.FileNotFoundException:
C:\src\drools-4.0.1-src\drools-ant\po
.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(Defaul
MavenProjectBuilder.java:1378)
... 17 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Tue Sep 04 19:00:00 EDT 2007
[INFO] Final Memory: 1M/4M
[INFO]
------------------------------------------------------------------------
More information about the rules-users
mailing list