У меня есть EAR с приложением, и мне нужно расширить это приложение моим собственным кодом, который упакован как WAR. Есть ли плагин maven, который может помочь мне поместить WAR в EAR?
Требуется автоматическое решение для создания файла уха, который включает военный файл
4.0.0 com.spring.example пример 1 пример уха
<!-- Add Spring Web and MVC dependencies -->
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>4.3.9.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>4.3.9.RELEASE</version>
</dependency>
<!-- Servlet -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.servlet.jsp</groupId>
<artifactId>jsp-api</artifactId>
<version>2.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>com.spring.example</groupId>
<artifactId>example</artifactId>
<version>1</version>
<type>war</type>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-ear-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<finalName>spring-mvc-example</finalName>
<modules>
<webModule>
<groupId>com.spring.example</groupId>
<artifactId>example</artifactId>
<uri>example.war</uri>
<bundleFileName>sexample.war</bundleFileName>
</webModule>
</modules>
</configuration>
maven-war-plugin 3.0.0 WebContent $ {project.artifactId} и получение ошибки в строке, где создается зависимость для создания файла войны. так что где я скучаю, пожалуйста, помогите мне.