[jboss-dev-forums] [Design of JBoss Portal] - Re: Maven Migration Status

anders3 do-not-reply at jboss.com
Thu Sep 20 01:43:32 EDT 2007


Very nice to see you are moving ahead in the maven direction :-)

1) About File resources in tests!!!
    I belive we should not see it as maven/ant problem.
    Tests should run from IntelliJ/Eclipse.
    The best way to ensure this is to load resources from the classloader
    So package the xxx.xml files with your yyyyTest.java class in the
    src/test/java/.... tree, and use class.getRessource...

2) About IntelliJ module files in subversion.
    When you use maven you can write mvn idea:idea and it will 
    generate the module+project files.
    a) no .iml files in svn
    b) IntelliJ v7 actually has some maven integration, but I belive that
        v7 is not ready for production yet.. The mvn idea:idea runs the best
        on IntelliJ v6.

3) About Eclipse. Run mvn eclipse:eclipse

4) About project root poms
    Yes, it is supposed to be there. It is from here you run the 
    mvn idea:idea ; mvn eclipse:eclipse 

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

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



More information about the jboss-dev-forums mailing list