* Added parent module on poms that have no parent defined * Removed dependency reduced pom from undertow module * Added new parent pom * initial clean up of child poms * Added new parent pom * [BAEL-5247] - New Parents in the tutorials repo
		
			
				
	
	
		
			182 lines
		
	
	
		
			7.3 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			182 lines
		
	
	
		
			7.3 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
<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>core-java-concurrency</artifactId>
 | 
						|
    <version>0.1.0-SNAPSHOT</version>
 | 
						|
    <packaging>jar</packaging>
 | 
						|
    <name>core-java-concurrency</name>
 | 
						|
 | 
						|
    <parent>
 | 
						|
        <groupId>com.baeldung</groupId>
 | 
						|
        <artifactId>parent-java</artifactId>
 | 
						|
    	<version>0.0.1-SNAPSHOT</version>
 | 
						|
    	<relativePath>../parent-java</relativePath>
 | 
						|
    </parent>
 | 
						|
 | 
						|
    <dependencies>
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.apache.commons</groupId>
 | 
						|
            <artifactId>commons-collections4</artifactId>
 | 
						|
            <version>${commons-collections4.version}</version>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>commons-io</groupId>
 | 
						|
            <artifactId>commons-io</artifactId>
 | 
						|
            <version>${commons-io.version}</version>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.apache.commons</groupId>
 | 
						|
            <artifactId>commons-lang3</artifactId>
 | 
						|
            <version>${commons-lang3.version}</version>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.apache.commons</groupId>
 | 
						|
            <artifactId>commons-math3</artifactId>
 | 
						|
            <version>${commons-math3.version}</version>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.assertj</groupId>
 | 
						|
            <artifactId>assertj-core</artifactId>
 | 
						|
            <version>${assertj.version}</version>
 | 
						|
            <scope>test</scope>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>com.jayway.awaitility</groupId>
 | 
						|
            <artifactId>awaitility</artifactId>
 | 
						|
            <version>${avaitility.version}</version>
 | 
						|
            <scope>test</scope>
 | 
						|
        </dependency>
 | 
						|
    </dependencies>
 | 
						|
 | 
						|
    <build>
 | 
						|
        <finalName>core-java-concurrency</finalName>
 | 
						|
        <resources>
 | 
						|
            <resource>
 | 
						|
                <directory>src/main/resources</directory>
 | 
						|
                <filtering>true</filtering>
 | 
						|
            </resource>
 | 
						|
        </resources>
 | 
						|
 | 
						|
        <plugins>
 | 
						|
            <plugin>
 | 
						|
                <groupId>org.apache.maven.plugins</groupId>
 | 
						|
                <artifactId>maven-dependency-plugin</artifactId>
 | 
						|
                <executions>
 | 
						|
                    <execution>
 | 
						|
                        <id>copy-dependencies</id>
 | 
						|
                        <phase>prepare-package</phase>
 | 
						|
                        <goals>
 | 
						|
                            <goal>copy-dependencies</goal>
 | 
						|
                        </goals>
 | 
						|
                        <configuration>
 | 
						|
                            <outputDirectory>${project.build.directory}/libs</outputDirectory>
 | 
						|
                        </configuration>
 | 
						|
                    </execution>
 | 
						|
                </executions>
 | 
						|
            </plugin>
 | 
						|
            <plugin>
 | 
						|
                <groupId>org.apache.maven.plugins</groupId>
 | 
						|
                <artifactId>maven-jar-plugin</artifactId>
 | 
						|
                <configuration>
 | 
						|
                    <archive>
 | 
						|
                        <manifest>
 | 
						|
                            <addClasspath>true</addClasspath>
 | 
						|
                            <classpathPrefix>libs/</classpathPrefix>
 | 
						|
                            <mainClass>org.baeldung.executable.ExecutableMavenJar</mainClass>
 | 
						|
                        </manifest>
 | 
						|
                    </archive>
 | 
						|
                </configuration>
 | 
						|
            </plugin>
 | 
						|
            <plugin>
 | 
						|
                <groupId>org.apache.maven.plugins</groupId>
 | 
						|
                <artifactId>maven-assembly-plugin</artifactId>
 | 
						|
                <executions>
 | 
						|
                    <execution>
 | 
						|
                        <phase>package</phase>
 | 
						|
                        <goals>
 | 
						|
                            <goal>single</goal>
 | 
						|
                        </goals>
 | 
						|
                        <configuration>
 | 
						|
                            <archiveBaseDirectory>${project.basedir}</archiveBaseDirectory>
 | 
						|
                            <archive>
 | 
						|
                                <manifest>
 | 
						|
                                    <mainClass>org.baeldung.executable.ExecutableMavenJar</mainClass>
 | 
						|
                                </manifest>
 | 
						|
                            </archive>
 | 
						|
                            <descriptorRefs>
 | 
						|
                                <descriptorRef>jar-with-dependencies</descriptorRef>
 | 
						|
                            </descriptorRefs>
 | 
						|
                        </configuration>
 | 
						|
                    </execution>
 | 
						|
                </executions>
 | 
						|
            </plugin>
 | 
						|
            <plugin>
 | 
						|
                <groupId>org.apache.maven.plugins</groupId>
 | 
						|
                <artifactId>maven-shade-plugin</artifactId>
 | 
						|
                <executions>
 | 
						|
                    <execution>
 | 
						|
                        <goals>
 | 
						|
                            <goal>shade</goal>
 | 
						|
                        </goals>
 | 
						|
                        <configuration>
 | 
						|
                            <shadedArtifactAttached>true</shadedArtifactAttached>
 | 
						|
                            <transformers>
 | 
						|
                                <transformer
 | 
						|
                                        implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
 | 
						|
                                    <mainClass>org.baeldung.executable.ExecutableMavenJar</mainClass>
 | 
						|
                                </transformer>
 | 
						|
                            </transformers>
 | 
						|
                        </configuration>
 | 
						|
                    </execution>
 | 
						|
                </executions>
 | 
						|
            </plugin>
 | 
						|
            <plugin>
 | 
						|
                <groupId>com.jolira</groupId>
 | 
						|
                <artifactId>onejar-maven-plugin</artifactId>
 | 
						|
                <executions>
 | 
						|
                    <execution>
 | 
						|
                        <configuration>
 | 
						|
                            <mainClass>org.baeldung.executable.ExecutableMavenJar</mainClass>
 | 
						|
                            <attachToBuild>true</attachToBuild>
 | 
						|
                            <filename>${project.build.finalName}-onejar.${project.packaging}</filename>
 | 
						|
                        </configuration>
 | 
						|
                        <goals>
 | 
						|
                            <goal>one-jar</goal>
 | 
						|
                        </goals>
 | 
						|
                    </execution>
 | 
						|
                </executions>
 | 
						|
            </plugin>
 | 
						|
            <plugin>
 | 
						|
                <groupId>org.springframework.boot</groupId>
 | 
						|
                <artifactId>spring-boot-maven-plugin</artifactId>
 | 
						|
                <executions>
 | 
						|
                    <execution>
 | 
						|
                        <goals>
 | 
						|
                            <goal>repackage</goal>
 | 
						|
                        </goals>
 | 
						|
                        <configuration>
 | 
						|
                            <classifier>spring-boot</classifier>
 | 
						|
                            <mainClass>org.baeldung.executable.ExecutableMavenJar</mainClass>
 | 
						|
                        </configuration>
 | 
						|
                    </execution>
 | 
						|
                </executions>
 | 
						|
            </plugin>
 | 
						|
        </plugins>
 | 
						|
    </build>
 | 
						|
 | 
						|
    <properties>
 | 
						|
        <!-- util -->
 | 
						|
        <guava.version>21.0</guava.version>
 | 
						|
        <commons-lang3.version>3.5</commons-lang3.version>
 | 
						|
        <commons-math3.version>3.6.1</commons-math3.version>
 | 
						|
        <commons-io.version>2.5</commons-io.version>
 | 
						|
        <commons-collections4.version>4.1</commons-collections4.version>
 | 
						|
        <collections-generic.version>4.01</collections-generic.version>
 | 
						|
        <!-- testing -->
 | 
						|
        <assertj.version>3.6.1</assertj.version>
 | 
						|
        <avaitility.version>1.7.0</avaitility.version>
 | 
						|
    </properties>
 | 
						|
 | 
						|
</project>
 |