Last active
June 3, 2020 11:50
-
-
Save aalmiray/1b627a7c838f03d3f359b4dd0d18ad15 to your computer and use it in GitHub Desktop.
Mastering Maven 07
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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.acme</groupId> | |
<artifactId>consumer1</artifactId> | |
<version>0.0.0</version> | |
<dependencies> | |
<dependency> | |
<groupId>com.acme</groupId> | |
<artifactId>project1</artifactId> | |
<version>0.0.0</version> | |
</dependency> | |
<dependency> | |
<groupId>com.acme</groupId> | |
<artifactId>project2</artifactId> | |
<version>0.0.0</version> | |
</dependency> | |
</dependencies> | |
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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.acme</groupId> | |
<artifactId>consumer2</artifactId> | |
<version>0.0.0</version> | |
<dependencies> | |
<dependency> | |
<groupId>com.acme</groupId> | |
<artifactId>project2</artifactId> | |
<version>0.0.0</version> | |
</dependency> | |
<dependency> | |
<groupId>com.acme</groupId> | |
<artifactId>project1</artifactId> | |
<version>0.0.0</version> | |
</dependency> | |
</dependencies> | |
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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.acme</groupId> | |
<artifactId>consumer3</artifactId> | |
<version>0.0.0</version> | |
<dependencies> | |
<dependency> | |
<groupId>com.acme</groupId> | |
<artifactId>project1</artifactId> | |
<version>0.0.0</version> | |
</dependency> | |
<dependency> | |
<groupId>com.acme</groupId> | |
<artifactId>project3</artifactId> | |
<version>0.0.0</version> | |
</dependency> | |
</dependencies> | |
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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.acme</groupId> | |
<artifactId>consumer4</artifactId> | |
<version>0.0.0</version> | |
<dependencies> | |
<dependency> | |
<groupId>com.acme</groupId> | |
<artifactId>project3</artifactId> | |
<version>0.0.0</version> | |
</dependency> | |
<dependency> | |
<groupId>com.acme</groupId> | |
<artifactId>project1</artifactId> | |
<version>0.0.0</version> | |
</dependency> | |
</dependencies> | |
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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.acme</groupId> | |
<artifactId>consumer5</artifactId> | |
<version>0.0.0</version> | |
<dependencyManagement> | |
<dependencies> | |
<dependency> | |
<groupId>org.apache.commons</groupId> | |
<artifactId>commons-lang3</artifactId> | |
<version>3.10</version> | |
</dependency> | |
</dependencies> | |
</dependencyManagement> | |
<dependencies> | |
<dependency> | |
<groupId>com.acme</groupId> | |
<artifactId>project1</artifactId> | |
<version>0.0.0</version> | |
</dependency> | |
<dependency> | |
<groupId>com.acme</groupId> | |
<artifactId>project2</artifactId> | |
<version>0.0.0</version> | |
</dependency> | |
</dependencies> | |
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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.acme</groupId> | |
<artifactId>consumer6</artifactId> | |
<version>0.0.0</version> | |
<dependencyManagement> | |
<dependencies> | |
<dependency> | |
<groupId>org.apache.commons</groupId> | |
<artifactId>commons-lang3</artifactId> | |
<version>3.10</version> | |
</dependency> | |
</dependencies> | |
</dependencyManagement> | |
<dependencies> | |
<dependency> | |
<groupId>com.acme</groupId> | |
<artifactId>project3</artifactId> | |
<version>0.0.0</version> | |
</dependency> | |
<dependency> | |
<groupId>com.acme</groupId> | |
<artifactId>project1</artifactId> | |
<version>0.0.0</version> | |
</dependency> | |
</dependencies> | |
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
. | |
├── consumer1 | |
│ ├── project1 | |
│ └── project2 | |
├── consumer2 | |
│ ├── project2 | |
│ └── project1 | |
├── consumer3 | |
│ ├── project1 | |
│ └── project3 | |
├── consumer4 | |
│ ├── project3 | |
│ └── project1 | |
├── consumer5 | |
│ ├── project1 | |
│ └── project3 | |
└── consumer6 | |
├── project3 | |
└── project1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
. | |
├── project1 | |
│ └── org.apache.commons:commons-lang3:3.0 | |
├── project2 | |
│ └── org.apache.commons:commons-lang3:3.5 | |
└── project3 | |
└── project2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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.acme</groupId> | |
<artifactId>project1</artifactId> | |
<version>0.0.0</version> | |
<dependencies> | |
<dependency> | |
<groupId>org.apache.commons</groupId> | |
<artifactId>commons-lang3</artifactId> | |
<version>3.0</version> | |
</dependency> | |
</dependencies> | |
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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.acme</groupId> | |
<artifactId>project2</artifactId> | |
<version>0.0.0</version> | |
<dependencies> | |
<dependency> | |
<groupId>org.apache.commons</groupId> | |
<artifactId>commons-lang3</artifactId> | |
<version>3.5</version> | |
</dependency> | |
</dependencies> | |
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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.acme</groupId> | |
<artifactId>project3</artifactId> | |
<version>0.0.0</version> | |
<dependencies> | |
<dependency> | |
<groupId>com.acme</groupId> | |
<artifactId>project2</artifactId> | |
<version>0.0.0</version> | |
</dependency> | |
</dependencies> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment