Skip to content

Commit 884c4a7

Browse files
committed
Introduce maven dependency management section for plc4x project.
Signed-off-by: Łukasz Dywicki <[email protected]>
1 parent 4468010 commit 884c4a7

File tree

73 files changed

+353
-274
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+353
-274
lines changed

code-generation/language-base-freemarker/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
<dependency>
4141
<groupId>org.apache.plc4x</groupId>
4242
<artifactId>plc4x-code-generation-protocol-base-mspec</artifactId>
43-
<version>0.13.0-SNAPSHOT</version>
4443
</dependency>
4544

4645
<dependency>

code-generation/language-c/pom.xml

+1-4
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@
8888
<dependency>
8989
<groupId>org.apache.plc4x</groupId>
9090
<artifactId>plc4x-code-generation-language-base-freemarker</artifactId>
91-
<version>0.13.0-SNAPSHOT</version>
9291
</dependency>
9392

9493
<dependency>
@@ -107,21 +106,19 @@
107106
<dependency>
108107
<groupId>org.apache.plc4x</groupId>
109108
<artifactId>plc4x-code-generation-protocol-base-mspec</artifactId>
110-
<version>0.13.0-SNAPSHOT</version>
111109
<scope>compile</scope>
112110
</dependency>
113111

114112
<!-- Make sure the dependencies of the module are built first -->
115113
<dependency>
116114
<groupId>org.apache.plc4x</groupId>
117115
<artifactId>plc4x-code-generation-protocol-test</artifactId>
118-
<version>0.13.0-SNAPSHOT</version>
119116
<scope>test</scope>
120117
</dependency>
121118
<dependency>
122119
<groupId>org.apache.plc4x</groupId>
123120
<artifactId>plc4x-code-generation-protocol-test</artifactId>
124-
<version>0.13.0-SNAPSHOT</version>
121+
<version>${project.version}</version>
125122
<classifier>tests</classifier>
126123
<type>test-jar</type>
127124
<scope>test</scope>

code-generation/language-cs/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
<dependency>
4242
<groupId>org.apache.plc4x</groupId>
4343
<artifactId>plc4x-code-generation-language-base-freemarker</artifactId>
44-
<version>0.13.0-SNAPSHOT</version>
4544
</dependency>
4645

4746
<dependency>

code-generation/language-go/pom.xml

+1-4
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@
8888
<dependency>
8989
<groupId>org.apache.plc4x</groupId>
9090
<artifactId>plc4x-code-generation-language-base-freemarker</artifactId>
91-
<version>0.13.0-SNAPSHOT</version>
9291
</dependency>
9392

9493
<dependency>
@@ -107,21 +106,19 @@
107106
<dependency>
108107
<groupId>org.apache.plc4x</groupId>
109108
<artifactId>plc4x-code-generation-protocol-base-mspec</artifactId>
110-
<version>0.13.0-SNAPSHOT</version>
111109
<scope>compile</scope>
112110
</dependency>
113111

114112
<!-- Make sure the dependencies of the module are built first -->
115113
<dependency>
116114
<groupId>org.apache.plc4x</groupId>
117115
<artifactId>plc4x-code-generation-protocol-test</artifactId>
118-
<version>0.13.0-SNAPSHOT</version>
119116
<scope>test</scope>
120117
</dependency>
121118
<dependency>
122119
<groupId>org.apache.plc4x</groupId>
123120
<artifactId>plc4x-code-generation-protocol-test</artifactId>
124-
<version>0.13.0-SNAPSHOT</version>
121+
<version>${project.version}</version>
125122
<classifier>tests</classifier>
126123
<type>test-jar</type>
127124
<scope>test</scope>

code-generation/language-java/pom.xml

+1-8
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,10 @@
8787
<dependency>
8888
<groupId>org.apache.plc4x</groupId>
8989
<artifactId>plc4x-code-generation-language-base-freemarker</artifactId>
90-
<version>0.13.0-SNAPSHOT</version>
9190
</dependency>
9291
<dependency>
9392
<groupId>org.apache.plc4x</groupId>
9493
<artifactId>plc4x-code-generation-protocol-base-mspec</artifactId>
95-
<version>0.13.0-SNAPSHOT</version>
9694
</dependency>
9795

9896
<dependency>
@@ -117,37 +115,32 @@
117115
<dependency>
118116
<groupId>org.apache.plc4x</groupId>
119117
<artifactId>plc4j-api</artifactId>
120-
<version>0.13.0-SNAPSHOT</version>
121118
<scope>test</scope>
122119
</dependency>
123120
<dependency>
124121
<groupId>org.apache.plc4x</groupId>
125122
<artifactId>plc4j-spi</artifactId>
126-
<version>0.13.0-SNAPSHOT</version>
127123
<scope>test</scope>
128124
</dependency>
129125
<dependency>
130126
<groupId>org.apache.plc4x</groupId>
131127
<artifactId>plc4j-transport-tcp</artifactId>
132-
<version>0.13.0-SNAPSHOT</version>
133128
<scope>test</scope>
134129
</dependency>
135130
<dependency>
136131
<groupId>org.apache.plc4x</groupId>
137132
<artifactId>plc4j-utils-test-utils</artifactId>
138-
<version>0.13.0-SNAPSHOT</version>
139133
<scope>test</scope>
140134
</dependency>
141135
<dependency>
142136
<groupId>org.apache.plc4x</groupId>
143137
<artifactId>plc4x-code-generation-protocol-test</artifactId>
144-
<version>0.13.0-SNAPSHOT</version>
145138
<scope>test</scope>
146139
</dependency>
147140
<dependency>
148141
<groupId>org.apache.plc4x</groupId>
149142
<artifactId>plc4x-code-generation-protocol-test</artifactId>
150-
<version>0.13.0-SNAPSHOT</version>
143+
<version>${project.version}</version>
151144
<classifier>tests</classifier>
152145
<type>test-jar</type>
153146
<scope>test</scope>

code-generation/language-python/pom.xml

+1-4
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,10 @@
8787
<dependency>
8888
<groupId>org.apache.plc4x</groupId>
8989
<artifactId>plc4x-code-generation-language-base-freemarker</artifactId>
90-
<version>0.13.0-SNAPSHOT</version>
9190
</dependency>
9291
<dependency>
9392
<groupId>org.apache.plc4x</groupId>
9493
<artifactId>plc4x-code-generation-protocol-base-mspec</artifactId>
95-
<version>0.13.0-SNAPSHOT</version>
9694
</dependency>
9795

9896
<dependency>
@@ -112,13 +110,12 @@
112110
<dependency>
113111
<groupId>org.apache.plc4x</groupId>
114112
<artifactId>plc4x-code-generation-protocol-test</artifactId>
115-
<version>0.13.0-SNAPSHOT</version>
116113
<scope>test</scope>
117114
</dependency>
118115
<dependency>
119116
<groupId>org.apache.plc4x</groupId>
120117
<artifactId>plc4x-code-generation-protocol-test</artifactId>
121-
<version>0.13.0-SNAPSHOT</version>
118+
<version>${project.version}</version>
122119
<classifier>tests</classifier>
123120
<type>test-jar</type>
124121
<scope>test</scope>

code-generation/protocol-test/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,6 @@
216216
<dependency>
217217
<groupId>org.apache.plc4x</groupId>
218218
<artifactId>plc4x-code-generation-protocol-base-mspec</artifactId>
219-
<version>0.13.0-SNAPSHOT</version>
220219
</dependency>
221220
</dependencies>
222221

plc4c/pom.xml

-3
Original file line numberDiff line numberDiff line change
@@ -353,21 +353,18 @@
353353
<dependency>
354354
<groupId>org.apache.plc4x</groupId>
355355
<artifactId>plc4x-protocols-modbus</artifactId>
356-
<version>0.13.0-SNAPSHOT</version>
357356
<!-- Scope is 'provided' as this way it's not shipped with the driver -->
358357
<scope>provided</scope>
359358
</dependency>
360359
<dependency>
361360
<groupId>org.apache.plc4x</groupId>
362361
<artifactId>plc4x-protocols-plc4x</artifactId>
363-
<version>0.13.0-SNAPSHOT</version>
364362
<!-- Scope is 'provided' as this way it's not shipped with the driver -->
365363
<scope>provided</scope>
366364
</dependency>
367365
<dependency>
368366
<groupId>org.apache.plc4x</groupId>
369367
<artifactId>plc4x-protocols-s7</artifactId>
370-
<version>0.13.0-SNAPSHOT</version>
371368
<!-- Scope is 'provided' as this way it's not shipped with the driver -->
372369
<scope>provided</scope>
373370
</dependency>

plc4go/pom.xml

-13
Original file line numberDiff line numberDiff line change
@@ -732,92 +732,79 @@
732732
<dependency>
733733
<groupId>org.apache.plc4x</groupId>
734734
<artifactId>plc4x-code-generation-language-go</artifactId>
735-
<version>0.13.0-SNAPSHOT</version>
736735
<!-- Scope is 'provided' as this way it's not shipped with the driver -->
737736
<scope>provided</scope>
738737
</dependency>
739738

740739
<dependency>
741740
<groupId>org.apache.plc4x</groupId>
742741
<artifactId>plc4x-protocols-ab-eth</artifactId>
743-
<version>0.13.0-SNAPSHOT</version>
744742
<!-- Scope is 'provided' as this way it's not shipped with the driver -->
745743
<scope>provided</scope>
746744
</dependency>
747745
<dependency>
748746
<groupId>org.apache.plc4x</groupId>
749747
<artifactId>plc4x-protocols-ads</artifactId>
750-
<version>0.13.0-SNAPSHOT</version>
751748
<!-- Scope is 'provided' as this way it's not shipped with the driver -->
752749
<scope>provided</scope>
753750
</dependency>
754751
<dependency>
755752
<groupId>org.apache.plc4x</groupId>
756753
<artifactId>plc4x-protocols-bacnetip</artifactId>
757-
<version>0.13.0-SNAPSHOT</version>
758754
<!-- Scope is 'provided' as this way it's not shipped with the driver -->
759755
<scope>provided</scope>
760756
</dependency>
761757
<dependency>
762758
<groupId>org.apache.plc4x</groupId>
763759
<artifactId>plc4x-protocols-c-bus</artifactId>
764-
<version>0.13.0-SNAPSHOT</version>
765760
<!-- Scope is 'provided' as this way it's not shipped with the driver -->
766761
<scope>provided</scope>
767762
</dependency>
768763
<dependency>
769764
<groupId>org.apache.plc4x</groupId>
770765
<artifactId>plc4x-protocols-df1</artifactId>
771-
<version>0.13.0-SNAPSHOT</version>
772766
<!-- Scope is 'provided' as this way it's not shipped with the driver -->
773767
<scope>provided</scope>
774768
</dependency>
775769
<dependency>
776770
<groupId>org.apache.plc4x</groupId>
777771
<artifactId>plc4x-protocols-eip</artifactId>
778-
<version>0.13.0-SNAPSHOT</version>
779772
<!-- Scope is 'provided' as this way it's not shipped with the driver -->
780773
<scope>provided</scope>
781774
</dependency>
782775
<dependency>
783776
<groupId>org.apache.plc4x</groupId>
784777
<artifactId>plc4x-protocols-firmata</artifactId>
785-
<version>0.13.0-SNAPSHOT</version>
786778
<!-- Scope is 'provided' as this way it's not shipped with the driver -->
787779
<scope>provided</scope>
788780
</dependency>
789781
<dependency>
790782
<groupId>org.apache.plc4x</groupId>
791783
<artifactId>plc4x-protocols-knxnetip</artifactId>
792-
<version>0.13.0-SNAPSHOT</version>
793784
<!-- Scope is 'provided' as this way it's not shipped with the driver -->
794785
<scope>provided</scope>
795786
</dependency>
796787
<dependency>
797788
<groupId>org.apache.plc4x</groupId>
798789
<artifactId>plc4x-protocols-modbus</artifactId>
799-
<version>0.13.0-SNAPSHOT</version>
800790
<!-- Scope is 'provided' as this way it's not shipped with the driver -->
801791
<scope>provided</scope>
802792
</dependency>
803793
<dependency>
804794
<groupId>org.apache.plc4x</groupId>
805795
<artifactId>plc4x-protocols-opcua</artifactId>
806-
<version>0.13.0-SNAPSHOT</version>
807796
<!-- Scope is 'provided' as this way it's not shipped with the driver -->
808797
<scope>provided</scope>
809798
</dependency>
810799
<dependency>
811800
<groupId>org.apache.plc4x</groupId>
812801
<artifactId>plc4x-protocols-s7</artifactId>
813-
<version>0.13.0-SNAPSHOT</version>
814802
<!-- Scope is 'provided' as this way it's not shipped with the driver -->
815803
<scope>provided</scope>
816804
</dependency>
817805
<dependency>
818806
<groupId>org.apache.plc4x</groupId>
819807
<artifactId>plc4x-protocols-simulated</artifactId>
820-
<version>0.13.0-SNAPSHOT</version>
821808
<!-- Scope is 'provided' as this way it's not shipped with the driver -->
822809
<scope>provided</scope>
823810
</dependency>

plc4j/drivers/ab-eth/pom.xml

+1-7
Original file line numberDiff line numberDiff line change
@@ -90,18 +90,15 @@
9090
<dependency>
9191
<groupId>org.apache.plc4x</groupId>
9292
<artifactId>plc4j-api</artifactId>
93-
<version>0.13.0-SNAPSHOT</version>
9493
</dependency>
9594
<dependency>
9695
<groupId>org.apache.plc4x</groupId>
9796
<artifactId>plc4j-spi</artifactId>
98-
<version>0.13.0-SNAPSHOT</version>
9997
</dependency>
10098

10199
<dependency>
102100
<groupId>org.apache.plc4x</groupId>
103101
<artifactId>plc4j-transport-tcp</artifactId>
104-
<version>0.13.0-SNAPSHOT</version>
105102
</dependency>
106103

107104
<dependency>
@@ -116,14 +113,13 @@
116113
<dependency>
117114
<groupId>org.apache.plc4x</groupId>
118115
<artifactId>plc4j-utils-test-utils</artifactId>
119-
<version>0.13.0-SNAPSHOT</version>
120116
<scope>test</scope>
121117
</dependency>
122118

123119
<dependency>
124120
<groupId>org.apache.plc4x</groupId>
125121
<artifactId>plc4x-protocols-ab-eth</artifactId>
126-
<version>0.13.0-SNAPSHOT</version>
122+
<version>${project.version}</version>
127123
<classifier>tests</classifier>
128124
<type>test-jar</type>
129125
<scope>test</scope>
@@ -161,15 +157,13 @@
161157
<dependency>
162158
<groupId>org.apache.plc4x</groupId>
163159
<artifactId>plc4x-code-generation-language-java</artifactId>
164-
<version>0.13.0-SNAPSHOT</version>
165160
<!-- Scope is 'provided' as this way it's not shipped with the driver -->
166161
<scope>provided</scope>
167162
</dependency>
168163

169164
<dependency>
170165
<groupId>org.apache.plc4x</groupId>
171166
<artifactId>plc4x-protocols-ab-eth</artifactId>
172-
<version>0.13.0-SNAPSHOT</version>
173167
<!-- Scope is 'provided' as this way it's not shipped with the driver -->
174168
<scope>provided</scope>
175169
</dependency>

plc4j/drivers/ads/pom.xml

+1-7
Original file line numberDiff line numberDiff line change
@@ -89,18 +89,15 @@
8989
<dependency>
9090
<groupId>org.apache.plc4x</groupId>
9191
<artifactId>plc4j-api</artifactId>
92-
<version>0.13.0-SNAPSHOT</version>
9392
</dependency>
9493
<dependency>
9594
<groupId>org.apache.plc4x</groupId>
9695
<artifactId>plc4j-spi</artifactId>
97-
<version>0.13.0-SNAPSHOT</version>
9896
</dependency>
9997

10098
<dependency>
10199
<groupId>org.apache.plc4x</groupId>
102100
<artifactId>plc4j-transport-tcp</artifactId>
103-
<version>0.13.0-SNAPSHOT</version>
104101
</dependency>
105102

106103
<dependency>
@@ -129,7 +126,6 @@
129126
<dependency>
130127
<groupId>org.apache.plc4x</groupId>
131128
<artifactId>plc4j-utils-test-utils</artifactId>
132-
<version>0.13.0-SNAPSHOT</version>
133129
<scope>test</scope>
134130
</dependency>
135131
<dependency>
@@ -141,7 +137,7 @@
141137
<dependency>
142138
<groupId>org.apache.plc4x</groupId>
143139
<artifactId>plc4x-protocols-ads</artifactId>
144-
<version>0.13.0-SNAPSHOT</version>
140+
<version>${project.version}</version>
145141
<classifier>tests</classifier>
146142
<type>test-jar</type>
147143
<scope>test</scope>
@@ -192,15 +188,13 @@
192188
<dependency>
193189
<groupId>org.apache.plc4x</groupId>
194190
<artifactId>plc4x-protocols-ads</artifactId>
195-
<version>0.13.0-SNAPSHOT</version>
196191
<!-- Scope is 'provided' as this way it's not shipped with the driver -->
197192
<scope>provided</scope>
198193
</dependency>
199194

200195
<dependency>
201196
<groupId>org.apache.plc4x</groupId>
202197
<artifactId>plc4x-code-generation-language-java</artifactId>
203-
<version>0.13.0-SNAPSHOT</version>
204198
<!-- Scope is 'provided' as this way it's not shipped with the driver -->
205199
<scope>provided</scope>
206200
</dependency>

0 commit comments

Comments
 (0)