[BAEL-16672] - Re-organize maven module (#7703)

* [BAEL-16672] - Re-organize maven module

* [BAEL-16672] - Added missed modules in main pom

* [BAEL-16672] - Added commented compiler-plugin-java-9 module in main pom.xml
This commit is contained in:
Amit Pandey 2019-09-28 23:43:11 +05:30 committed by Josh Cummings
parent c5e7773a51
commit 85a4c72414
39 changed files with 58 additions and 36 deletions

3
maven-all/README.md Normal file
View File

@ -0,0 +1,3 @@
### Relevant Articles
- [Apache Maven Tutorial](https://www.baeldung.com/maven)

View File

@ -0,0 +1,3 @@
### Relevant Articles
- [Maven Compiler Plugin](http://www.baeldung.com/maven-compiler-plugin)

View File

@ -0,0 +1,3 @@
### Relevant Articles
- [Eclipse Error: web.xml is missing and failOnMissingWebXml is set to true](https://www.baeldung.com/eclipse-error-web-xml-missing)

View File

@ -1,29 +1,29 @@
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.baeldung</groupId>
<artifactId>maven-war-plugin-property</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<name>maven-war-plugin-property</name>
<build>
<plugins>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<!-- Update maven war plugin to 3.1.0 or higher -->
<version>3.1.0</version>
<configuration>
<!-- Set failOnMissingWebXml configuration for maven war plugin -->
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
</plugins>
</build>
<!-- Set failOnMissingWebXml as false in properties section -->
<properties>
<failOnMissingWebXml>false</failOnMissingWebXml>
</properties>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.baeldung</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<name>maven-war-plugin</name>
<build>
<plugins>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<!-- Update maven war plugin to 3.1.0 or higher -->
<version>3.1.0</version>
<configuration>
<!-- Set failOnMissingWebXml configuration for maven war plugin -->
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
</plugins>
</build>
<!-- Set failOnMissingWebXml as false in properties section -->
<properties>
<failOnMissingWebXml>false</failOnMissingWebXml>
</properties>
</project>

View File

@ -11,9 +11,4 @@
- [Maven Project with Multiple Source Directories](https://www.baeldung.com/maven-project-multiple-src-directories)
- [Integration Testing with Maven](https://www.baeldung.com/maven-integration-test)
- [Apache Maven Standard Directory Layout](https://www.baeldung.com/maven-directory-structure)
- [Apache Maven Tutorial](https://www.baeldung.com/maven)
- [Use the Latest Version of a Dependency in Maven](https://www.baeldung.com/maven-dependency-latest-version)
- [Multi-Module Project with Maven](https://www.baeldung.com/maven-multi-module)
- [Maven Enforcer Plugin](https://www.baeldung.com/maven-enforcer-plugin)
- [Eclipse Error: web.xml is missing and failOnMissingWebXml is set to true](https://www.baeldung.com/eclipse-error-web-xml-missing)
- [Guide to Maven Profiles](https://www.baeldung.com/maven-profiles)

View File

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@ -0,0 +1,3 @@
### Relevant Articles
- [Maven Enforcer Plugin](https://www.baeldung.com/maven-enforcer-plugin)

View File

@ -11,6 +11,7 @@
<artifactId>parent-modules</artifactId>
<groupId>com.baeldung</groupId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../..</relativePath>
</parent>
<modules>

View File

@ -0,0 +1,3 @@
### Relevant Articles
- [Guide to Maven Profiles](https://www.baeldung.com/maven-profiles)

View File

@ -0,0 +1,3 @@
### Relevant Articles
- [Use the Latest Version of a Dependency in Maven](https://www.baeldung.com/maven-dependency-latest-version)

View File

@ -36,7 +36,7 @@
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
<version>1.9.1-SNAPSHOT</version>
<version>1.9.1</version>
</dependency>
</dependencies>

12
pom.xml
View File

@ -544,7 +544,11 @@
<module>lucene</module>
<module>mapstruct</module>
<module>maven</module>
<!-- <module>maven-all/compiler-plugin-java-9</module> --> <!-- We haven't upgraded to java 9. -->
<module>maven-all/maven</module>
<module>maven-all/maven-war-plugin</module>
<module>maven-all/profiles</module>
<module>maven-all/versions-maven-plugin</module>
<module>maven-archetype</module>
<!-- <module>maven-polyglot/maven-polyglot-json-app</module> --> <!-- Not a maven project -->
<module>maven-polyglot/maven-polyglot-json-extension</module>
@ -1279,7 +1283,11 @@
<module>lucene</module>
<module>mapstruct</module>
<module>maven</module>
<!-- <module>maven-all/compiler-plugin-java-9</module> --> <!-- We haven't upgraded to java 9. -->
<module>maven-all/maven</module>
<module>maven-all/maven-war-plugin</module>
<module>maven-all/profiles</module>
<module>maven-all/versions-maven-plugin</module>
<!-- <module>maven-java-11</module> --> <!-- we haven't upgraded to Java 11 -->
<module>maven-archetype</module>
<!-- <module>maven-polyglot/maven-polyglot-json-app</module> --> <!-- Not a maven project -->