Reputation: 1495
I installed Maven 1, following the doc here http://maven.apache.org/maven-1.x/start/install.html
Installation was successful, then I typed in "maven site" as shown in the doc here maven.apache.org/maven-1.x/start/quick-start.html
I get the error "Warning : No pom file was found, assuming default settings!"
From what I understand, maven 1 does not have pom file. Why is it prompting to me that the pom file was not found?
Thanks
Upvotes: 0
Views: 1619
Reputation: 3355
Make sure you are running the command from the correct directory.
If the directory you are running from doesn't contain the project files, it could give you this error. At least, that was my issue :)
Upvotes: 0
Reputation: 570345
From what I understand, maven 1 does not have pom file. Why is it prompting to me that the pom file was not found?
Maven 1.x had a Project Object Model (POM) too, it was just not called pom.xml
but project.xml
.
Upvotes: 0
Reputation: 1927
Since you're just starting out, may I suggest that you start over with the current, supported version of Maven. http://maven.apache.org/
Maven 1.x is obsoleted by Maven 2.2.x
Upvotes: 6