-
1. Re: Wrong project hierarchy with Maven Configuration
fabricio.lemos Jan 7, 2010 8:31 AM (in response to fabricio.lemos)By the way, I´m using Jboss 3.1 CR1. I did not have this problem with the previous version. -
2. Re: Wrong project hierarchy with Maven Configuration
maxandersen Jan 7, 2010 8:31 AM (in response to fabricio.lemos)Are the paths truly ../-ejb ? if yes, then it looks like it is missing the actual project name.
i.e. it should be ../projectname, ../projectname-ejb and ../projectname-ear.
-
3. Re: Wrong project hierarchy with Maven Configuration
fabricio.lemos Jan 7, 2010 8:58 AM (in response to maxandersen)Yes, I think that this is what happening. Now I realized that if I add the Maven Configuration before I type the project name on the first screen and forget to type the Artifact Id at the M2 capabilities screen, the projects are created missing the project name on the artifactId.
Thank you Max for the quick answer.
Just another question:
The web project is created with <packaging>ear</packaging>
instead of <packaging>war</packaging>
Did I miss anything again?
-
4. Re: Wrong project hierarchy with Maven Configuration
maxandersen Jan 7, 2010 11:18 AM (in response to fabricio.lemos)Yes, I think that this is what happening. Now I realized that if I add the Maven Configuration before I type the project name on the first screen and forget to type the Artifact Id at the M2 capabilities screen, the projects are created missing the project name on the artifactId.
Could you open a bug about this with steps to reproduce ? Sounds like we are not reading the project name consistently.
Just another question:
The web project is created with <packaging>ear</packaging>
instead of <packaging>war</packaging>
Did I miss anything again?
Snjezana would be better to answer that - I know she battled for some time to get the proper setup working.
-
5. Re: Wrong project hierarchy with Maven Configuration
fabricio.lemos Jan 11, 2010 3:53 PM (in response to maxandersen)Could you open a bug about this with steps to reproduce ? Sounds like we are not reading the project name consistently.
Bug report created: https://jira.jboss.org/jira/browse/JBIDE-5656
Just another question:
The web project is created with <packaging>ear</packaging>
instead of <packaging>war</packaging>
Did I miss anything again?
Snjezana would be better to answer that - I know she battled for some time to get the proper setup working.
At the M2 Capabilities screen I was setting the Packaging to EAR because I was creating an EAR project, but it seems that the Packaging of that screen is related to the web project (the one created without any suffix). So, if I keep the WAR Packaging, it is created OK. But I can´t imagine any situation where the web project should not be packaged as a WAR, so I think this field shouldn´t be editable.