Merge pull request #9598 from sampada07/JAVA-49

JAVA-49: Split or move maven module
This commit is contained in:
Josh Cummings
2020-07-03 06:43:30 -06:00
committed by GitHub
61 changed files with 330 additions and 88 deletions
-3
View File
@@ -1,3 +0,0 @@
### Relevant Articles:
- [How to Create a Maven Plugin](https://www.baeldung.com/maven-plugin)
-18
View File
@@ -1,18 +0,0 @@
## Apache Maven
This module contains articles about core Apache Maven. Articles about other Maven plugins (such as the Maven WAR Plugin)
have their own dedicated modules.
### Relevant Articles
- [Guide to the Core Maven Plugins](https://www.baeldung.com/core-maven-plugins)
- [Maven Resources Plugin](https://www.baeldung.com/maven-resources-plugin)
- [Quick Guide to the Maven Surefire Plugin](https://www.baeldung.com/maven-surefire-plugin)
- [The Maven Failsafe Plugin](https://www.baeldung.com/maven-failsafe-plugin)
- [The Maven Verifier Plugin](https://www.baeldung.com/maven-verifier-plugin)
- [The Maven Clean Plugin](https://www.baeldung.com/maven-clean-plugin)
- [Build a Jar with Maven and Ignore the Test Results](https://www.baeldung.com/maven-ignore-test-results)
- [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)
- [Multi-Module Project with Maven](https://www.baeldung.com/maven-multi-module)
-3
View File
@@ -1,3 +0,0 @@
### Relevant Articles
- [Maven Enforcer Plugin](https://www.baeldung.com/maven-enforcer-plugin)
@@ -5,4 +5,5 @@ This module contains articles about Apache Maven. Please refer to its submodules
### Relevant Articles
- [Apache Maven Tutorial](https://www.baeldung.com/maven)
- [Find Unused Maven Dependencies](https://www.baeldung.com/maven-unused-dependencies)
- [Apache Maven Standard Directory Layout](https://www.baeldung.com/maven-directory-structure)
- [Multi-Module Project with Maven](https://www.baeldung.com/maven-multi-module)
@@ -0,0 +1,7 @@
## Apache Maven
This module contains articles about creating a custom plugin in Maven.
### Relevant Articles
- [How to Create a Maven Plugin](https://www.baeldung.com/maven-plugin)
+21
View File
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>
<artifactId>maven-custom-plugin</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>maven-custom-plugin</name>
<packaging>pom</packaging>
<parent>
<groupId>com.baeldung</groupId>
<artifactId>maven-modules</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<modules>
<module>counter-maven-plugin</module>
<module>usage-example</module>
</modules>
</project>
@@ -5,7 +5,7 @@
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>example</artifactId>
<artifactId>usage-example</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
@@ -0,0 +1,10 @@
## Apache Maven
This module contains articles about Integration Testing with Maven and related plugins.
### Relevant Articles
- [Integration Testing with Maven](https://www.baeldung.com/maven-integration-test)
- [Build a Jar with Maven and Ignore the Test Results](https://www.baeldung.com/maven-ignore-test-results)
- [Quick Guide to the Maven Surefire Plugin](https://www.baeldung.com/maven-surefire-plugin)
- [The Maven Failsafe Plugin](https://www.baeldung.com/maven-failsafe-plugin)
@@ -2,10 +2,9 @@
<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>
<artifactId>maven</artifactId>
<artifactId>maven-integration-test</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>maven</name>
<packaging>pom</packaging>
<name>maven-integration-test</name>
<parent>
<groupId>com.baeldung</groupId>
@@ -14,11 +13,6 @@
<relativePath>../..</relativePath>
</parent>
<modules>
<module>custom-rule</module>
<module>maven-enforcer</module>
</modules>
<dependencies>
<dependency>
<groupId>org.glassfish.jersey.containers</groupId>
@@ -126,20 +120,6 @@
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-verifier-plugin</artifactId>
<version>${maven.verifier.version}</version>
<configuration>
<verificationFile>input-resources/verifications.xml</verificationFile>
</configuration>
<executions>
<execution>
<goals>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>${maven.clean.version}</version>
@@ -156,17 +136,6 @@
<artifactId>build-helper-maven-plugin</artifactId>
<version>${maven.build.helper.version}</version>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>src/main/another-src</source>
</sources>
</configuration>
</execution>
<execution>
<id>add-integration-test-source</id>
<phase>generate-test-sources</phase>
@@ -0,0 +1,2 @@
/output-resources
/.idea/

Some files were not shown because too many files have changed in this diff Show More