|"Maven POM file" wizard too shallow [message #550549]
||Fri, 30 July 2010 14:42
| Peter Missing name
Registered: July 2010
I am new to Maven. I have installed m2eclipse plugin in Eclipse Helios.
I loaded up a working project (that builds just fine), ran "Maven POM file" wizard to generate the pom file.
It appears the wizard does not pick important settings from the Eclipse project.
For instance, when I ran "mvn package," the first error I got was "generics are not supported in -source 1.3." I saw an example on the Internet, edited pom.xml and added a configuration section. This problem went away.
Now, I am getting a bunch of errors about not finding symbols. This is probably because I have two referenced libraries "jna.jar" and "junit-4.8.2.jar." Both these libraries are located in d:\dev\ThirdParty\ directory.
These references were defined correctly in Eclipse project. Why doesn't the wizard pick them?
More importantly, how do I fix this? I didn't find any example of hardcoded jar file path in pom.xml.
Thank you in advance for your help.
Powered by FUDForum
. Page generated in 0.01665 seconds