You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Dixit, Sandeep (ProSource Solutions)" <Sa...@contractors.nationalcity.com> on 2006/04/05 19:29:51 UTC
build error on win2k
I am getting a following error while building on win2k machine. Can
someone please help me with this error?
Thanks in advance,
Sandeep
[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:\sd\maven_svn\maven_all\maven\plugins\m
aven-antrun-plugin\pom.xml'.
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Could not find the
model file
'C:\sd\maven_svn\maven_all\maven\plugins\maven-antrun-plugin\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:256)
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
'C:\sd\maven_svn\maven_all\maven\plugins\maven-antrun-plugin\pom.xml
'.
at
org.apache.maven.project.DefaultMavenProjectBuilder.readModel(Default
MavenProjectBuilder.java:1245)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi
leInternal(DefaultMavenProjectBuilder.java:412)
at
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMave
nProjectBuilder.java:190)
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.getProjects(DefaultMaven.java:351)
... 11 more
Caused by: java.io.FileNotFoundException:
C:\sd\maven_svn\maven_all\maven\plugin
s\maven-antrun-plugin\pom.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:1240)
... 17 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Wed Apr 05 13:07:08 EDT 2006
[INFO] Final Memory: 1M/2M
[INFO]
------------------------------------------------------------------------
Total time: 2 minutes 50 seconds
Finished at: Wed Apr 05 13:07:08 EDT 2006
Using settings from C:\Documents and Settings\xswd53r\.m2\settings.xml
Using the following proxy : authproxy.ntl-city.com/8080
Using the following for your local repository:
C:/maven-2.0.3-SNAPSHOT/repositor
y
Using the following for your remote repository:
[http://repo1.maven.org/maven2,
http://snapshots.maven.codehaus.org/maven2/]
Analysing dependencies ...
Building project in
C:\sd\maven_svn\maven_all\maven\components\maven-core-it-ver
ifier
------------------------------------------------------------------
Cleaning
C:\sd\maven_svn\maven_all\maven\components\maven-core-it-verifier\targe
t...
Compiling sources ...
Compiling 12 source files to
C:\sd\maven_svn\maven_all\maven\components\maven-co
re-it-verifier\target\classes
Packaging resources ...
Packaging
C:\sd\maven_svn\maven_all\maven\components\maven-core-it-verifier\targ
et\maven-core-it-verifier.jar ...
------------------------------------------------------------------
Total time: 1 seconds
Finished at: Wed Apr 05 13:07:09 EDT 2006
ECHO is off.
-----------------------------------------------------------------------
Running integration tests
-----------------------------------------------------------------------
Using default local repository: C:\maven-2.0.3-SNAPSHOT\repository
it0102... Test it0102 in
C:\sd\maven_svn\maven_all\maven\components\maven-core-i
t/it0102 does not exist
Thanks,
Sandeep
-------------------------------------------------------------------------------------------
***National City made the following annotations
-------------------------------------------------------------------------------------------
This communication is a confidential and proprietary business communication.
It is intended solely for the use of the designated recipient(s). If this
communication is received in error, please contact the sender and delete
this communication.
===========================================================================================
Re: build error on win2k
Posted by Carlos Sanchez <ca...@apache.org>.
You proably need to checkout also the plugins folder from svn
On 4/5/06, Dixit, Sandeep (ProSource Solutions)
<Sa...@contractors.nationalcity.com> wrote:
> I am getting a following error while building on win2k machine. Can
> someone please help me with this error?
>
>
>
> Thanks in advance,
>
> Sandeep
>
>
>
> [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:\sd\maven_svn\maven_all\maven\plugins\m
>
> aven-antrun-plugin\pom.xml'.
>
>
>
>
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Trace
>
> org.apache.maven.reactor.MavenExecutionException: Could not find the
> model file
>
> 'C:\sd\maven_svn\maven_all\maven\plugins\maven-antrun-plugin\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:256)
>
> 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
> 'C:\sd\maven_svn\maven_all\maven\plugins\maven-antrun-plugin\pom.xml
>
> '.
>
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.readModel(Default
>
> MavenProjectBuilder.java:1245)
>
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi
>
> leInternal(DefaultMavenProjectBuilder.java:412)
>
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMave
>
> nProjectBuilder.java:190)
>
> 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.getProjects(DefaultMaven.java:351)
>
> ... 11 more
>
> Caused by: java.io.FileNotFoundException:
> C:\sd\maven_svn\maven_all\maven\plugin
>
> s\maven-antrun-plugin\pom.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:1240)
>
> ... 17 more
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Total time: < 1 second
>
> [INFO] Finished at: Wed Apr 05 13:07:08 EDT 2006
>
> [INFO] Final Memory: 1M/2M
>
> [INFO]
> ------------------------------------------------------------------------
>
> Total time: 2 minutes 50 seconds
>
> Finished at: Wed Apr 05 13:07:08 EDT 2006
>
> Using settings from C:\Documents and Settings\xswd53r\.m2\settings.xml
>
> Using the following proxy : authproxy.ntl-city.com/8080
>
> Using the following for your local repository:
> C:/maven-2.0.3-SNAPSHOT/repositor
>
> y
>
> Using the following for your remote repository:
> [http://repo1.maven.org/maven2,
>
> http://snapshots.maven.codehaus.org/maven2/]
>
> Analysing dependencies ...
>
>
>
>
>
> Building project in
> C:\sd\maven_svn\maven_all\maven\components\maven-core-it-ver
>
> ifier
>
> ------------------------------------------------------------------
>
> Cleaning
> C:\sd\maven_svn\maven_all\maven\components\maven-core-it-verifier\targe
>
> t...
>
> Compiling sources ...
>
> Compiling 12 source files to
> C:\sd\maven_svn\maven_all\maven\components\maven-co
>
> re-it-verifier\target\classes
>
> Packaging resources ...
>
> Packaging
> C:\sd\maven_svn\maven_all\maven\components\maven-core-it-verifier\targ
>
> et\maven-core-it-verifier.jar ...
>
> ------------------------------------------------------------------
>
> Total time: 1 seconds
>
> Finished at: Wed Apr 05 13:07:09 EDT 2006
>
> ECHO is off.
>
> -----------------------------------------------------------------------
>
> Running integration tests
>
> -----------------------------------------------------------------------
>
> Using default local repository: C:\maven-2.0.3-SNAPSHOT\repository
>
> it0102... Test it0102 in
> C:\sd\maven_svn\maven_all\maven\components\maven-core-i
>
> t/it0102 does not exist
>
>
>
> Thanks,
>
> Sandeep
>
>
>
>
> -------------------------------------------------------------------------------------------
> ***National City made the following annotations
> -------------------------------------------------------------------------------------------
> This communication is a confidential and proprietary business communication.
> It is intended solely for the use of the designated recipient(s). If this
> communication is received in error, please contact the sender and delete
> this communication.
> ===========================================================================================
>
--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
-- The Princess Bride
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org