You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2018/02/13 22:27:06 UTC
[09/14] commons-rng git commit: RNG-40: Java 9 JPMS compliance.
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/a960ee1d/commons-rng-examples/examples-jpms/pom.xml
----------------------------------------------------------------------
diff --git a/commons-rng-examples/examples-jpms/pom.xml b/commons-rng-examples/examples-jpms/pom.xml
new file mode 100644
index 0000000..1c2bf78
--- /dev/null
+++ b/commons-rng-examples/examples-jpms/pom.xml
@@ -0,0 +1,50 @@
+<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
+ xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples</artifactId>
+ <version>1.1-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-jpms</artifactId>
+ <version>1.1-SNAPSHOT</version>
+ <packaging>pom</packaging>
+ <name>Apache Commons RNG Integration</name>
+
+ <description>Testing JPMS. Code in this module is not part of the public API.</description>
+
+ <properties>
+ <!-- Workaround to avoid duplicating config files. -->
+ <rng.parent.dir>${basedir}/../..</rng.parent.dir>
+
+ <!-- Java language level. -->
+ <maven.compiler.source>9</maven.compiler.source>
+ <maven.compiler.target>9</maven.compiler.target>
+ </properties>
+
+ <modules>
+ <module>jpms-lib</module>
+ <module>jpms-app</module>
+ </modules>
+</project>
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/a960ee1d/commons-rng-examples/pom.xml
----------------------------------------------------------------------
diff --git a/commons-rng-examples/pom.xml b/commons-rng-examples/pom.xml
index d4a5f79..5314f8c 100644
--- a/commons-rng-examples/pom.xml
+++ b/commons-rng-examples/pom.xml
@@ -61,6 +61,12 @@
<artifactId>commons-rng-sampling</artifactId>
<version>1.1-SNAPSHOT</version>
</dependency>
+
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-client-api</artifactId>
+ <version>1.1-SNAPSHOT</version>
+ </dependency>
</dependencies>
</dependencyManagement>
@@ -69,5 +75,6 @@
<module>examples-sampling</module>
<module>examples-quadrature</module>
<module>examples-jmh</module>
+ <module>examples-jpms</module>
</modules>
</project>