2019-04-14 15:02:14 -04:00
|
|
|
<?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"
|
2019-06-02 06:09:12 -04:00
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2019-04-14 15:02:14 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>core-groovy-2</artifactId>
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
<name>core-groovy-2</name>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<artifactId>parent-modules</artifactId>
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<dependencies>
|
2019-06-02 06:09:12 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
<version>${commons-lang3.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-classic</artifactId>
|
|
|
|
<version>${logback.version}</version>
|
|
|
|
</dependency>
|
2019-04-14 15:02:14 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.groovy</groupId>
|
|
|
|
<artifactId>groovy-all</artifactId>
|
|
|
|
<version>${groovy.version}</version>
|
2019-05-30 13:03:11 -04:00
|
|
|
<type>pom</type>
|
2019-04-14 15:02:14 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.platform</groupId>
|
|
|
|
<artifactId>junit-platform-runner</artifactId>
|
|
|
|
<version>${junit.platform.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hsqldb</groupId>
|
|
|
|
<artifactId>hsqldb</artifactId>
|
|
|
|
<version>${hsqldb.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.spockframework</groupId>
|
|
|
|
<artifactId>spock-core</artifactId>
|
|
|
|
<version>${spock-core.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
2019-05-30 13:03:11 -04:00
|
|
|
<scriptSourceDirectory>src/main/groovy</scriptSourceDirectory>
|
|
|
|
<sourceDirectory>src/main/java</sourceDirectory>
|
2019-04-14 15:02:14 -04:00
|
|
|
<plugins>
|
2019-06-02 06:09:12 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.groovy</groupId>
|
|
|
|
<artifactId>groovy-eclipse-compiler</artifactId>
|
|
|
|
<version>3.3.0-01</version>
|
|
|
|
<extensions>true</extensions>
|
|
|
|
</plugin>
|
2019-04-14 15:02:14 -04:00
|
|
|
<plugin>
|
2019-05-30 13:03:11 -04:00
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>3.8.0</version>
|
|
|
|
<configuration>
|
|
|
|
<compilerId>groovy-eclipse-compiler</compilerId>
|
|
|
|
<source>${java.version}</source>
|
|
|
|
<target>${java.version}</target>
|
|
|
|
</configuration>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.groovy</groupId>
|
|
|
|
<artifactId>groovy-eclipse-compiler</artifactId>
|
|
|
|
<version>3.3.0-01</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.groovy</groupId>
|
|
|
|
<artifactId>groovy-eclipse-batch</artifactId>
|
|
|
|
<version>${groovy.version}-01</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2019-04-14 15:02:14 -04:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
|
|
<version>${maven-failsafe-plugin.version}</version>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.platform</groupId>
|
|
|
|
<artifactId>junit-platform-surefire-provider</artifactId>
|
|
|
|
<version>${junit.platform.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>junit5</id>
|
|
|
|
<goals>
|
|
|
|
<goal>integration-test</goal>
|
|
|
|
<goal>verify</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<includes>
|
|
|
|
<include>**/*Test5.java</include>
|
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2019-04-20 15:16:30 -04:00
|
|
|
</executions>
|
2019-04-20 15:14:27 -04:00
|
|
|
</plugin>
|
2019-04-20 15:16:30 -04:00
|
|
|
<plugin>
|
2019-04-16 17:21:09 -04:00
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<version>2.20.1</version>
|
|
|
|
<configuration>
|
2019-06-02 06:09:12 -04:00
|
|
|
<useFile>false</useFile>
|
|
|
|
<includes>
|
|
|
|
<include>**/*Test.java</include>
|
|
|
|
<include>**/*Spec.java</include>
|
|
|
|
</includes>
|
2019-04-16 17:21:09 -04:00
|
|
|
</configuration>
|
2019-04-14 15:02:14 -04:00
|
|
|
</plugin>
|
2019-05-30 13:03:11 -04:00
|
|
|
<!-- Maven Assembly Plugin: needed to run the jar through command line -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<version>3.1.0</version>
|
|
|
|
<configuration>
|
|
|
|
<!-- get all project dependencies -->
|
|
|
|
<descriptorRefs>
|
|
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
|
|
</descriptorRefs>
|
|
|
|
<!-- MainClass in mainfest make a executable jar -->
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
2019-06-02 06:09:12 -04:00
|
|
|
<mainClass>com.baeldung.MyJointCompilationApp</mainClass>
|
2019-05-30 13:03:11 -04:00
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>make-assembly</id>
|
|
|
|
<!-- bind to the packaging phase -->
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2019-04-14 15:02:14 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>central</id>
|
|
|
|
<url>http://jcenter.bintray.com</url>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
|
2019-06-02 06:09:12 -04:00
|
|
|
<pluginRepositories>
|
|
|
|
<pluginRepository>
|
|
|
|
<id>bintray</id>
|
|
|
|
<name>Groovy Bintray</name>
|
|
|
|
<url>https://dl.bintray.com/groovy/maven</url>
|
|
|
|
<releases>
|
|
|
|
<!-- avoid automatic updates -->
|
|
|
|
<updatePolicy>never</updatePolicy>
|
|
|
|
</releases>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</pluginRepository>
|
|
|
|
</pluginRepositories>
|
|
|
|
|
|
|
|
|
2019-04-14 15:02:14 -04:00
|
|
|
<properties>
|
|
|
|
<junit.platform.version>1.0.0</junit.platform.version>
|
|
|
|
<hsqldb.version>2.4.0</hsqldb.version>
|
|
|
|
<spock-core.version>1.1-groovy-2.4</spock-core.version>
|
2019-06-02 06:09:12 -04:00
|
|
|
<commons-lang3.version>3.9</commons-lang3.version>
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
|
|
|
|
<logback.version>1.2.3</logback.version>
|
|
|
|
<groovy.version>2.5.7</groovy.version>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
2019-04-14 15:02:14 -04:00
|
|
|
</properties>
|
|
|
|
</project>
|
|
|
|
|