[jbosstools-issues] [JBoss JIRA] (JBIDE-26640) "Enterprise Application Project" project maven build is failing (after conversion to maven project)

Zbyněk Červinka (Jira) issues at jboss.org
Wed Jun 19 12:06:00 EDT 2019


    [ https://issues.jboss.org/browse/JBIDE-26640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13749054#comment-13749054 ] 

Zbyněk Červinka commented on JBIDE-26640:
-----------------------------------------

[~jeffmaury] I have a updated info - the EAR project is failing due to missing plugin in the pom.xml of the WEB MODULE of the EAR project. The missing lines in the pom.xml are described for example here: https://www.mkyong.com/maven/maven-webxml-attribute-is-required


Here is the missing code:
{quote}  <build>
	<plugins>
		
		<plugin>
			<groupId>org.apache.maven.plugins</groupId>
			<artifactId>maven-war-plugin</artifactId>
			<version>2.6</version>
			<configuration>
				<failOnMissingWebXml>false</failOnMissingWebXml>
			</configuration>
		</plugin>
		
	</plugins>
  </build>{quote}	




> "Enterprise Application Project" project maven build is failing (after conversion to maven project)
> ---------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-26640
>                 URL: https://issues.jboss.org/browse/JBIDE-26640
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: maven
>    Affects Versions: 4.11.0.Final
>         Environment: OS X 10.14.4
>            Reporter: Zbyněk Červinka
>            Assignee: Jeff MAURY
>            Priority: Major
>             Fix For: 4.12.0.Final
>
>
> "Enterprise Application Project" project maven build after conversion to maven project is failing - it looks like the project cant see the modules' pom.xml:
> [ERROR] Failed to execute goal on project ear: Could not resolve dependencies for project ear:ear:ear:0.0.1-SNAPSHOT: The following artifacts could not be resolved: earClient:earClient:jar:0.0.1-SNAPSHOT, earEJB:earEJB:jar:0.0.1-SNAPSHOT, earConnector:earConnector:rar:0.0.1-SNAPSHOT, earWeb:earWeb:war:0.0.1-SNAPSHOT: Could not find artifact earClient:earClient:jar:0.0.1-SNAPSHOT -> [Help 1]



--
This message was sent by Atlassian Jira
(v7.12.1#712002)



More information about the jbosstools-issues mailing list