JBoss Community

Re: broken jboss tools - generated maven seam project?

created by John Franey in JBoss Tools - View the full discussion

Lars,

 

The following applies to the maven issue.  Perhaps I should not post as this is a jboss ide forum, but jboss ide did not generate these errors, in my experience.

 

The pom in the ear project should specify the dependency on the web component as a war, not an ear.  In other words, your original content of the ear pom is correct:

 

<dependency>

      <artifactId>xxxx</artifactId>

      <groupId>my.group</groupId>

      <version>0.0.1-SNAPSHOT</version>

      <type>war</type>

</dependency>

 

The pom you posted for the war is not correct.  Its packaging should be 'war' not 'ear'.

 

John

Reply to this message by going to Community

Start a new discussion in JBoss Tools at Community