Skip to content

Commit b9912ec

Browse files
committed
fix format violations
1 parent 72d8bab commit b9912ec

File tree

1 file changed

+29
-32
lines changed
  • bundles/org.openhab.automation.pythonscripting

1 file changed

+29
-32
lines changed

bundles/org.openhab.automation.pythonscripting/pom.xml

+29-32
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
44

55
<modelVersion>4.0.0</modelVersion>
66

@@ -15,17 +15,37 @@
1515
<name>openHAB Add-ons :: Bundles :: Automation :: Python Scripting</name>
1616

1717
<properties>
18-
<bnd.importpackage>
19-
!sun.misc.*,
18+
<bnd.importpackage>!sun.misc.*,
2019
!sun.reflect.*,
2120
!com.sun.management.*,
2221
!jdk.internal.reflect.*,
23-
!jdk.vm.ci.services
24-
</bnd.importpackage>
22+
!jdk.vm.ci.services</bnd.importpackage>
2523

2624
<graalpy.version>24.1.2</graalpy.version>
2725
</properties>
2826

27+
<dependencies>
28+
<!-- Graal Polyglot Framework -->
29+
<dependency>
30+
<groupId>org.graalvm.polyglot</groupId>
31+
<artifactId>polyglot</artifactId>
32+
<version>${graalpy.version}</version>
33+
</dependency>
34+
<!-- Graal TRegex engine (internally used by Graal Python engine) -->
35+
<dependency>
36+
<groupId>org.graalvm.regex</groupId>
37+
<artifactId>regex</artifactId>
38+
<version>${graalpy.version}</version>
39+
</dependency>
40+
<!-- Graal Python engine (depends on Graal TRegex engine, must be added after it) -->
41+
<dependency>
42+
<groupId>org.graalvm.polyglot</groupId>
43+
<artifactId>python-community</artifactId>
44+
<version>${graalpy.version}</version>
45+
<type>pom</type>
46+
</dependency>
47+
</dependencies>
48+
2949
<build>
3050
<plugins>
3151
<plugin>
@@ -78,10 +98,10 @@
7898
<executions>
7999
<execution>
80100
<id>copy-openhab-python</id>
81-
<phase>process-resources</phase>
82101
<goals>
83102
<goal>copy-resources</goal>
84103
</goals>
104+
<phase>process-resources</phase>
85105
<configuration>
86106
<outputDirectory>${project.build.directory}/classes/lib/openhab/</outputDirectory>
87107
<resources>
@@ -100,10 +120,10 @@
100120
<version>3.6.0</version>
101121
<executions>
102122
<execution>
103-
<phase>package</phase>
104123
<goals>
105124
<goal>shade</goal>
106125
</goals>
126+
<phase>package</phase>
107127
<configuration>
108128
<artifactSet>
109129
<excludes>
@@ -123,8 +143,7 @@
123143
<transformers>
124144
<!-- Transformer to merge module-info.class
125145
files, if needed -->
126-
<transformer
127-
implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
146+
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
128147
</transformers>
129148
</configuration>
130149
</execution>
@@ -141,28 +160,6 @@
141160
</plugins>
142161
</build>
143162

144-
<dependencies>
145-
<!-- Graal Polyglot Framework -->
146-
<dependency>
147-
<groupId>org.graalvm.polyglot</groupId>
148-
<artifactId>polyglot</artifactId>
149-
<version>${graalpy.version}</version>
150-
</dependency>
151-
<!-- Graal TRegex engine (internally used by Graal Python engine) -->
152-
<dependency>
153-
<groupId>org.graalvm.regex</groupId>
154-
<artifactId>regex</artifactId>
155-
<version>${graalpy.version}</version>
156-
</dependency>
157-
<!-- Graal Python engine (depends on Graal TRegex engine, must be added after it) -->
158-
<dependency>
159-
<groupId>org.graalvm.polyglot</groupId>
160-
<artifactId>python-community</artifactId>
161-
<version>${graalpy.version}</version>
162-
<type>pom</type>
163-
</dependency>
164-
</dependencies>
165-
166163
<!--
167164
<dependencies>
168165
<dependency>

0 commit comments

Comments
 (0)