Skip to content

Commit cf57361

Browse files
committed
Update jMolecules example to latest dependencies.
1 parent b21a664 commit cf57361

File tree

2 files changed

+42
-28
lines changed

2 files changed

+42
-28
lines changed

jdbc/jmolecules/pom.xml

+21-14
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,17 @@
1212
<name>Spring Data JDBC - jMolecules Example</name>
1313
<artifactId>spring-data-jdbc-jmolecules</artifactId>
1414

15-
<properties>
16-
<jmolecules.version>1.6.0-SNAPSHOT</jmolecules.version>
17-
<jmolecules-integration.version>0.11.0-SNAPSHOT</jmolecules-integration.version>
18-
</properties>
15+
<dependencyManagement>
16+
<dependencies>
17+
<dependency>
18+
<groupId>org.jmolecules</groupId>
19+
<artifactId>jmolecules-bom</artifactId>
20+
<version>2023.0.0</version>
21+
<type>pom</type>
22+
<scope>import</scope>
23+
</dependency>
24+
</dependencies>
25+
</dependencyManagement>
1926

2027
<dependencies>
2128

@@ -30,13 +37,17 @@
3037
<dependency>
3138
<groupId>org.jmolecules.integrations</groupId>
3239
<artifactId>jmolecules-spring</artifactId>
33-
<version>${jmolecules-integration.version}</version>
3440
</dependency>
3541

3642
<dependency>
3743
<groupId>org.jmolecules</groupId>
3844
<artifactId>jmolecules-events</artifactId>
39-
<version>${jmolecules.version}</version>
45+
</dependency>
46+
47+
<dependency>
48+
<groupId>org.jmolecules.integrations</groupId>
49+
<artifactId>jmolecules-bytebuddy-nodep</artifactId>
50+
<scope>provided</scope>
4051
</dependency>
4152

4253
</dependencies>
@@ -50,17 +61,13 @@
5061
<executions>
5162
<execution>
5263
<goals>
53-
<goal>transform</goal>
64+
<goal>transform-extended</goal>
5465
</goals>
5566
</execution>
5667
</executions>
57-
<dependencies>
58-
<dependency>
59-
<groupId>org.jmolecules.integrations</groupId>
60-
<artifactId>jmolecules-bytebuddy</artifactId>
61-
<version>${jmolecules-integration.version}</version>
62-
</dependency>
63-
</dependencies>
68+
<configuration>
69+
<classPathDiscovery>true</classPathDiscovery>
70+
</configuration>
6471
</plugin>
6572
</plugins>
6673
</build>

mongodb/jmolecules/pom.xml

+21-14
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,17 @@
1212
<name>Spring Data MongoDB - jMolecules Example</name>
1313
<artifactId>spring-data-mongodb-jmolecules</artifactId>
1414

15-
<properties>
16-
<jmolecules.version>1.3.0</jmolecules.version>
17-
<jmolecules-integration.version>0.5.0</jmolecules-integration.version>
18-
</properties>
15+
<dependencyManagement>
16+
<dependencies>
17+
<dependency>
18+
<groupId>org.jmolecules</groupId>
19+
<artifactId>jmolecules-bom</artifactId>
20+
<version>2023.0.0</version>
21+
<type>pom</type>
22+
<scope>import</scope>
23+
</dependency>
24+
</dependencies>
25+
</dependencyManagement>
1926

2027
<dependencies>
2128

@@ -24,13 +31,17 @@
2431
<dependency>
2532
<groupId>org.jmolecules.integrations</groupId>
2633
<artifactId>jmolecules-spring</artifactId>
27-
<version>${jmolecules-integration.version}</version>
2834
</dependency>
2935

3036
<dependency>
3137
<groupId>org.jmolecules</groupId>
3238
<artifactId>jmolecules-events</artifactId>
33-
<version>${jmolecules.version}</version>
39+
</dependency>
40+
41+
<dependency>
42+
<groupId>org.jmolecules.integrations</groupId>
43+
<artifactId>jmolecules-bytebuddy-nodep</artifactId>
44+
<scope>provided</scope>
3445
</dependency>
3546

3647
<dependency>
@@ -50,17 +61,13 @@
5061
<executions>
5162
<execution>
5263
<goals>
53-
<goal>transform</goal>
64+
<goal>transform-extended</goal>
5465
</goals>
5566
</execution>
5667
</executions>
57-
<dependencies>
58-
<dependency>
59-
<groupId>org.jmolecules.integrations</groupId>
60-
<artifactId>jmolecules-bytebuddy</artifactId>
61-
<version>${jmolecules-integration.version}</version>
62-
</dependency>
63-
</dependencies>
68+
<configuration>
69+
<classPathDiscovery>true</classPathDiscovery>
70+
</configuration>
6471
</plugin>
6572
</plugins>
6673
</build>

0 commit comments

Comments
 (0)