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

cdutz pushed a commit to branch feature/code-generation-in-profile
in repository https://gitbox.apache.org/repos/asf/plc4x.git


The following commit(s) were added to 
refs/heads/feature/code-generation-in-profile by this push:
     new a62529da49 fix: Moved the declaration of the dependencies needed by 
the code generation into the correct profile.
a62529da49 is described below

commit a62529da49731cde8281e358a18fe2c8b254f2a4
Author: Christofer Dutz <[email protected]>
AuthorDate: Wed Oct 25 11:17:13 2023 +0200

    fix: Moved the declaration of the dependencies needed by the code 
generation into the correct profile.
---
 plc4c/pom.xml | 66 ++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 34 insertions(+), 32 deletions(-)

diff --git a/plc4c/pom.xml b/plc4c/pom.xml
index 63472c81e9..2edb42d244 100644
--- a/plc4c/pom.xml
+++ b/plc4c/pom.xml
@@ -326,7 +326,41 @@
           </plugin>
         </plugins>
       </build>
+
+
+      <dependencies>
+        <dependency>
+          <groupId>org.apache.plc4x</groupId>
+          <artifactId>plc4x-code-generation-language-c</artifactId>
+          <version>0.12.0-SNAPSHOT</version>
+          <!-- Scope is 'provided' as this way it's not shipped with the 
driver -->
+          <scope>provided</scope>
+        </dependency>
+
+        <dependency>
+          <groupId>org.apache.plc4x</groupId>
+          <artifactId>plc4x-protocols-modbus</artifactId>
+          <version>0.12.0-SNAPSHOT</version>
+          <!-- Scope is 'provided' as this way it's not shipped with the 
driver -->
+          <scope>provided</scope>
+        </dependency>
+        <dependency>
+          <groupId>org.apache.plc4x</groupId>
+          <artifactId>plc4x-protocols-plc4x</artifactId>
+          <version>0.12.0-SNAPSHOT</version>
+          <!-- Scope is 'provided' as this way it's not shipped with the 
driver -->
+          <scope>provided</scope>
+        </dependency>
+        <dependency>
+          <groupId>org.apache.plc4x</groupId>
+          <artifactId>plc4x-protocols-s7</artifactId>
+          <version>0.12.0-SNAPSHOT</version>
+          <!-- Scope is 'provided' as this way it's not shipped with the 
driver -->
+          <scope>provided</scope>
+        </dependency>
+      </dependencies>
     </profile>
+
     <!-- When running on jenkins, download the sonar build-wrapper, so we can 
do a code analysis -->
     <profile>
       <id>jenkins-build</id>
@@ -383,38 +417,6 @@
           </plugin>
         </plugins>
       </build>
-
-      <dependencies>
-        <dependency>
-          <groupId>org.apache.plc4x</groupId>
-          <artifactId>plc4x-code-generation-language-c</artifactId>
-          <version>0.12.0-SNAPSHOT</version>
-          <!-- Scope is 'provided' as this way it's not shipped with the 
driver -->
-          <scope>provided</scope>
-        </dependency>
-
-        <dependency>
-          <groupId>org.apache.plc4x</groupId>
-          <artifactId>plc4x-protocols-modbus</artifactId>
-          <version>0.12.0-SNAPSHOT</version>
-          <!-- Scope is 'provided' as this way it's not shipped with the 
driver -->
-          <scope>provided</scope>
-        </dependency>
-        <dependency>
-          <groupId>org.apache.plc4x</groupId>
-          <artifactId>plc4x-protocols-plc4x</artifactId>
-          <version>0.12.0-SNAPSHOT</version>
-          <!-- Scope is 'provided' as this way it's not shipped with the 
driver -->
-          <scope>provided</scope>
-        </dependency>
-        <dependency>
-          <groupId>org.apache.plc4x</groupId>
-          <artifactId>plc4x-protocols-s7</artifactId>
-          <version>0.12.0-SNAPSHOT</version>
-          <!-- Scope is 'provided' as this way it's not shipped with the 
driver -->
-          <scope>provided</scope>
-        </dependency>
-      </dependencies>
     </profile>
   </profiles>
 

Reply via email to