[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Migration to maven

Kevin.Conner@jboss.com do-not-reply at jboss.com
Tue Apr 3 05:41:41 EDT 2007


"adrian at jboss.org" wrote : The Maven eclipse:eclipse build is currently broken.
Not for me it isn't :-)

"adrian at jboss.org" wrote : 1) It uses the wrong project name for dependencies 
  | e.g. jboss-container instead of container
My container project is calles jboss-container.  It is likely that you have not imported the generated projects.

To rectify do the following
- delete projects (not contents)
- run mvn eclipse:eclipse from root
- File->Import
- Choose Existing Projects
- Browse to root
- Import generated projects

All your project names will be consistent and will work :-)
"adrian at jboss.org" wrote : 2) Things like src/resources/tests end up as a source import when it should be a class
  | library import. If they are source, you can't find the xml, etc. in the classpathNot sure why it can't be found on the classpath, all sources are there by default.  Do you have a specific example?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033937#4033937

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033937



More information about the jboss-dev-forums mailing list