Merge pull request #9506 from Maiklins/JAVA-1764-update-structure-of-libraries-concurrency-module

Java-1764 update structure of libraries concurrency module
This commit is contained in:
Loredana Crusoveanu 2020-06-16 11:25:00 +03:00 committed by GitHub
commit 3e100a02ba
5 changed files with 66 additions and 89 deletions

View File

@ -1,84 +0,0 @@
<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>coroutines-with-quasar</artifactId>
<name>coroutines-with-quasar</name>
<parent>
<groupId>com.baeldung</groupId>
<artifactId>libraries-concurrency</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<dependencies>
<dependency>
<groupId>co.paralleluniverse</groupId>
<artifactId>quasar-core</artifactId>
<version>0.8.0</version>
</dependency>
<dependency>
<groupId>co.paralleluniverse</groupId>
<artifactId>quasar-actors</artifactId>
<version>0.8.0</version>
</dependency>
<dependency>
<groupId>co.paralleluniverse</groupId>
<artifactId>quasar-reactive-streams</artifactId>
<version>0.8.0</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.1.2</version>
<executions>
<execution>
<id>getClasspathFilenames</id>
<goals>
<goal>properties</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.6.0</version>
<configuration>
<mainClass>com.baeldung.quasar.App</mainClass>
<workingDirectory>target/classes</workingDirectory>
<executable>java</executable>
<arguments>
<!-- Turn off before production -->
<argument>-Dco.paralleluniverse.fibers.verifyInstrumentation=true</argument>
<!-- Quasar Agent -->
<argument>-javaagent:${co.paralleluniverse:quasar-core:jar}</argument>
<!-- Classpath -->
<argument>-classpath</argument>
<classpath />
<!-- Main class -->
<argument>com.baeldung.quasar.App</argument>
</arguments>
</configuration>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>12</source>
<target>12</target>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@ -5,7 +5,6 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>libraries-concurrency</artifactId>
<name>libraries-concurrency</name>
<packaging>pom</packaging>
<parent>
<artifactId>parent-modules</artifactId>
@ -13,8 +12,70 @@
<version>1.0.0-SNAPSHOT</version>
</parent>
<modules>
<!-- <module>coroutines-with-quasar</module> --><!-- we haven't upgraded to Java 12 -->
</modules>
<dependencies>
<dependency>
<groupId>co.paralleluniverse</groupId>
<artifactId>quasar-core</artifactId>
<version>0.8.0</version>
</dependency>
<dependency>
<groupId>co.paralleluniverse</groupId>
<artifactId>quasar-actors</artifactId>
<version>0.8.0</version>
</dependency>
<dependency>
<groupId>co.paralleluniverse</groupId>
<artifactId>quasar-reactive-streams</artifactId>
<version>0.8.0</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.1.2</version>
<executions>
<execution>
<id>getClasspathFilenames</id>
<goals>
<goal>properties</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.6.0</version>
<configuration>
<mainClass>com.baeldung.quasar.App</mainClass>
<workingDirectory>target/classes</workingDirectory>
<executable>java</executable>
<arguments>
<!-- Turn off before production -->
<argument>-Dco.paralleluniverse.fibers.verifyInstrumentation=true</argument>
<!-- Quasar Agent -->
<argument>-javaagent:${co.paralleluniverse:quasar-core:jar}</argument>
<!-- Classpath -->
<argument>-classpath</argument>
<classpath />
<!-- Main class -->
<argument>com.baeldung.quasar.App</argument>
</arguments>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>11</source>
<target>11</target>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@ -1274,7 +1274,7 @@
<module>wildfly</module>
<module>xml</module>
<module>xstream</module>
<module>libraries-concurrency</module>
<!-- <module>libraries-concurrency</module>--> <!-- we haven't upgraded to Java 11 -->
</modules>
</profile>