|
40 | 40 | <option.with-proxies>OFF</option.with-proxies> |
41 | 41 | </properties> |
42 | 42 |
|
43 | | - <profiles> |
44 | | - <profile> |
45 | | - <id>update-generated-code</id> |
46 | | - <build> |
47 | | - <plugins> |
48 | | - <plugin> |
49 | | - <groupId>org.apache.plc4x.plugins</groupId> |
50 | | - <artifactId>plc4x-maven-plugin</artifactId> |
51 | | - <executions> |
52 | | - <execution> |
53 | | - <id>generate-modbus-driver</id> |
54 | | - <phase>generate-sources</phase> |
55 | | - <goals> |
56 | | - <goal>generate-driver</goal> |
57 | | - </goals> |
58 | | - <configuration> |
59 | | - <protocolName>modbus</protocolName> |
60 | | - <languageName>python</languageName> |
61 | | - <outputFlavor>read-write</outputFlavor> |
62 | | - <outputDir>${project.basedir}/plc4py/protocols</outputDir> |
63 | | - </configuration> |
64 | | - </execution> |
65 | | - <execution> |
66 | | - <id>generate-simulated-driver</id> |
67 | | - <phase>generate-sources</phase> |
68 | | - <goals> |
69 | | - <goal>generate-driver</goal> |
70 | | - </goals> |
71 | | - <configuration> |
72 | | - <protocolName>simulated</protocolName> |
73 | | - <languageName>python</languageName> |
74 | | - <outputFlavor>read-write</outputFlavor> |
75 | | - <outputDir>${project.basedir}/plc4py/protocols</outputDir> |
76 | | - </configuration> |
77 | | - </execution> |
78 | | - <execution> |
79 | | - <id>generate-umas-driver</id> |
80 | | - <phase>generate-sources</phase> |
81 | | - <goals> |
82 | | - <goal>generate-driver</goal> |
83 | | - </goals> |
84 | | - <configuration> |
85 | | - <protocolName>umas</protocolName> |
86 | | - <languageName>python</languageName> |
87 | | - <outputFlavor>read-write</outputFlavor> |
88 | | - <outputDir>${project.basedir}/plc4py/protocols</outputDir> |
89 | | - </configuration> |
90 | | - </execution> |
91 | | - </executions> |
92 | | - </plugin> |
93 | | - </plugins> |
94 | | - </build> |
95 | | - |
96 | | - <dependencies> |
97 | | - <dependency> |
98 | | - <groupId>org.apache.plc4x</groupId> |
99 | | - <artifactId>plc4x-code-generation-language-python</artifactId> |
100 | | - <version>0.14.0-SNAPSHOT</version> |
101 | | - <!-- Scope is 'provided' as this way it's not shipped with the driver --> |
102 | | - <scope>provided</scope> |
103 | | - </dependency> |
104 | | - |
105 | | - <dependency> |
106 | | - <groupId>org.apache.plc4x</groupId> |
107 | | - <artifactId>plc4x-protocols-modbus</artifactId> |
108 | | - <version>0.14.0-SNAPSHOT</version> |
109 | | - <!-- Scope is 'provided' as this way it's not shipped with the driver --> |
110 | | - <scope>provided</scope> |
111 | | - </dependency> |
112 | | - |
113 | | - <dependency> |
114 | | - <groupId>org.apache.plc4x</groupId> |
115 | | - <artifactId>plc4x-protocols-simulated</artifactId> |
116 | | - <version>0.14.0-SNAPSHOT</version> |
117 | | - <!-- Scope is 'provided' as this way it's not shipped with the driver --> |
118 | | - <scope>provided</scope> |
119 | | - </dependency> |
120 | | - |
121 | | - <dependency> |
122 | | - <groupId>org.apache.plc4x</groupId> |
123 | | - <artifactId>plc4x-protocols-umas</artifactId> |
124 | | - <version>0.14.0-SNAPSHOT</version> |
125 | | - <!-- Scope is 'provided' as this way it's not shipped with the driver --> |
126 | | - <scope>provided</scope> |
127 | | - </dependency> |
128 | | - </dependencies> |
129 | | - </profile> |
130 | | - </profiles> |
131 | | - |
132 | 43 | <build> |
133 | 44 | <sourceDirectory>src/main/python</sourceDirectory> |
134 | 45 | <testSourceDirectory>src/test/python</testSourceDirectory> |
|
332 | 243 | </plugins> |
333 | 244 | </build> |
334 | 245 |
|
| 246 | + <profiles> |
| 247 | + <profile> |
| 248 | + <id>update-generated-code</id> |
| 249 | + <build> |
| 250 | + <plugins> |
| 251 | + <plugin> |
| 252 | + <groupId>org.apache.plc4x.plugins</groupId> |
| 253 | + <artifactId>plc4x-maven-plugin</artifactId> |
| 254 | + <executions> |
| 255 | + <execution> |
| 256 | + <id>generate-modbus-driver</id> |
| 257 | + <phase>generate-sources</phase> |
| 258 | + <goals> |
| 259 | + <goal>generate-driver</goal> |
| 260 | + </goals> |
| 261 | + <configuration> |
| 262 | + <protocolName>modbus</protocolName> |
| 263 | + <languageName>python</languageName> |
| 264 | + <outputFlavor>read-write</outputFlavor> |
| 265 | + <outputDir>${project.basedir}/plc4py/protocols</outputDir> |
| 266 | + </configuration> |
| 267 | + </execution> |
| 268 | + <execution> |
| 269 | + <id>generate-simulated-driver</id> |
| 270 | + <phase>generate-sources</phase> |
| 271 | + <goals> |
| 272 | + <goal>generate-driver</goal> |
| 273 | + </goals> |
| 274 | + <configuration> |
| 275 | + <protocolName>simulated</protocolName> |
| 276 | + <languageName>python</languageName> |
| 277 | + <outputFlavor>read-write</outputFlavor> |
| 278 | + <outputDir>${project.basedir}/plc4py/protocols</outputDir> |
| 279 | + </configuration> |
| 280 | + </execution> |
| 281 | + <execution> |
| 282 | + <id>generate-umas-driver</id> |
| 283 | + <phase>generate-sources</phase> |
| 284 | + <goals> |
| 285 | + <goal>generate-driver</goal> |
| 286 | + </goals> |
| 287 | + <configuration> |
| 288 | + <protocolName>umas</protocolName> |
| 289 | + <languageName>python</languageName> |
| 290 | + <outputFlavor>read-write</outputFlavor> |
| 291 | + <outputDir>${project.basedir}/plc4py/protocols</outputDir> |
| 292 | + </configuration> |
| 293 | + </execution> |
| 294 | + </executions> |
| 295 | + </plugin> |
| 296 | + </plugins> |
| 297 | + </build> |
| 298 | + |
| 299 | + <dependencies> |
| 300 | + <dependency> |
| 301 | + <groupId>org.apache.plc4x</groupId> |
| 302 | + <artifactId>plc4x-code-generation-language-python</artifactId> |
| 303 | + <version>0.14.0-SNAPSHOT</version> |
| 304 | + <!-- Scope is 'provided' as this way it's not shipped with the driver --> |
| 305 | + <scope>provided</scope> |
| 306 | + </dependency> |
| 307 | + |
| 308 | + <dependency> |
| 309 | + <groupId>org.apache.plc4x</groupId> |
| 310 | + <artifactId>plc4x-protocols-modbus</artifactId> |
| 311 | + <version>0.14.0-SNAPSHOT</version> |
| 312 | + <!-- Scope is 'provided' as this way it's not shipped with the driver --> |
| 313 | + <scope>provided</scope> |
| 314 | + </dependency> |
| 315 | + |
| 316 | + <dependency> |
| 317 | + <groupId>org.apache.plc4x</groupId> |
| 318 | + <artifactId>plc4x-protocols-simulated</artifactId> |
| 319 | + <version>0.14.0-SNAPSHOT</version> |
| 320 | + <!-- Scope is 'provided' as this way it's not shipped with the driver --> |
| 321 | + <scope>provided</scope> |
| 322 | + </dependency> |
335 | 323 |
|
| 324 | + <dependency> |
| 325 | + <groupId>org.apache.plc4x</groupId> |
| 326 | + <artifactId>plc4x-protocols-umas</artifactId> |
| 327 | + <version>0.14.0-SNAPSHOT</version> |
| 328 | + <!-- Scope is 'provided' as this way it's not shipped with the driver --> |
| 329 | + <scope>provided</scope> |
| 330 | + </dependency> |
| 331 | + </dependencies> |
| 332 | + </profile> |
| 333 | + </profiles> |
336 | 334 |
|
337 | 335 | </project> |
0 commit comments