You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2020/05/24 10:43:10 UTC

[plc4x] 02/02: - Moved the self-activation java9 and higher profile to the plc4j so it doesn't interfere with with site build till we fixed the issue.

This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git

commit 546638e8929f987682558988341281f465f8754f
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Sun May 24 12:43:00 2020 +0200

    - Moved the self-activation java9 and higher profile to the plc4j so it doesn't interfere with with site build till we fixed the issue.
---
 plc4j/pom.xml | 39 ++++++++++++++++++++++++++++++++++++++-
 pom.xml       | 36 ------------------------------------
 2 files changed, 38 insertions(+), 37 deletions(-)

diff --git a/plc4j/pom.xml b/plc4j/pom.xml
index 5e0df09..2a7e336 100644
--- a/plc4j/pom.xml
+++ b/plc4j/pom.xml
@@ -48,7 +48,6 @@
 
   <build>
     <plugins>
-
       <!-- Compile any groovy code located in "src/test/groovy" -->
       <plugin>
         <groupId>org.codehaus.gmavenplus</groupId>
@@ -346,4 +345,42 @@
     </dependency>
   </dependencies>
 
+  <profiles>
+    <!--
+      It seems Java 8 has problems with the "illega-access" setting,
+      so we need to make this self-activating.
+    -->
+    <profile>
+      <id>_allow_illegal_access_reflection_in_tests</id>
+      <activation>
+        <jdk>[1.9,)</jdk>
+      </activation>
+      <build>
+        <pluginManagement>
+          <plugins>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-surefire-plugin</artifactId>
+              <configuration>
+                <argLine>
+                  --illegal-access=permit
+                </argLine>
+              </configuration>
+            </plugin>
+
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-failsafe-plugin</artifactId>
+              <configuration>
+                <argLine>
+                  --illegal-access=permit
+                </argLine>
+              </configuration>
+            </plugin>
+          </plugins>
+        </pluginManagement>
+      </build>
+    </profile>
+  </profiles>
+
 </project>
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 744457b..1b7e9b9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1442,42 +1442,6 @@
       </build>
     </profile>
 
-    <!--
-      It seems Java 8 has problems with the "illega-access" setting,
-      so we need to make this self-activating.
-    -->
-    <profile>
-      <id>_allow_illegal_access_reflection_in_tests</id>
-      <activation>
-        <jdk>[1.9,)</jdk>
-      </activation>
-      <build>
-        <pluginManagement>
-          <plugins>
-            <plugin>
-              <groupId>org.apache.maven.plugins</groupId>
-              <artifactId>maven-surefire-plugin</artifactId>
-              <configuration>
-                <argLine>
-                  --illegal-access=permit
-                </argLine>
-              </configuration>
-            </plugin>
-
-            <plugin>
-              <groupId>org.apache.maven.plugins</groupId>
-              <artifactId>maven-failsafe-plugin</artifactId>
-              <configuration>
-                <argLine>
-                  --illegal-access=permit
-                </argLine>
-              </configuration>
-            </plugin>
-          </plugins>
-        </pluginManagement>
-      </build>
-    </profile>
-
     <!-- Build PLC4X including the Sandbox modules -->
     <profile>
       <id>with-sandbox</id>