Maven version 2.0.9 should be fine. Is there a pom in jms directory?
Are you able to access the central repository
(
http://repo1.maven.org/maven2/) from your browser?
Also, can you post your settings.xml? It's in your C:\Documents And
Settings\<username>\.m2 directory.
glassfish_at_javadesktop.org wrote:
> I used mave 2.0.7. After changing to 2.0.9, the error became the following:
>
> -------------------------------------------------
> [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:\ee\partner\60\javaee6_ri-v3-b74b-src\v3\jms'. for project unknown
>
>
>
> [INFO] ------------------------------------------------------------------------
>
> [INFO] Trace
>
> org.apache.maven.reactor.MavenExecutionException: Could not find the model file 'D:\ee\partner\60\javaee6_ri-v3-b74b-src\v3\jms'. for project unknown
>
> at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
>
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:292)
>
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>
> 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: org.apache.maven.project.ProjectBuildingException: Could not find the model file 'D:\ee\partner\60\javaee6_ri-v3-b74b-src\v3\jms'. for project unknown
>
> at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1557)
>
> at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:504)
>
> at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:198)
>
> at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:583)
>
> at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:461)
>
> at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:534)
>
> at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
>
> ... 11 more
>
> Caused by: java.io.FileNotFoundException: D:\ee\partner\60\javaee6_ri-v3-b74b-src\v3\jms (??????????????????)
>
> at java.io.FileInputStream.open(Native Method)
>
> at java.io.FileInputStream.<init>(FileInputStream.java:106)
>
> at hidden.org.codehaus.plexus.util.xml.XmlReader.<init>(XmlReader.java:123)
>
> at hidden.org.codehaus.plexus.util.xml.XmlStreamReader.<init>(XmlStreamReader.java:67)
>
> at hidden.org.codehaus.plexus.util.ReaderFactory.newXmlReader(ReaderFactory.java:113)
>
> at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1552)
>
> ... 17 more
>
> [INFO] ------------------------------------------------------------------------
>
> [INFO] Total time: 11 seconds
>
> [INFO] Finished at: Tue Apr 06 21:33:32 JST 2010
>
> [INFO] Final Memory: 17M/31M
>
> [INFO] ------------------------------------------------------------------------
>
> -------------------------------------------------
>
> Does it requires a specified version of maven against the latest v3?
>
> Thank you!
> [Message sent by forum member 'wasedaxiao']
>
> http://forums.java.net/jive/thread.jspa?messageID=395490
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>