diff --git a/.circleci/config.yml b/.circleci/config.yml
new file mode 100644
index 0000000000..78a9c5e3a1
--- /dev/null
+++ b/.circleci/config.yml
@@ -0,0 +1,58 @@
+version: 2.1
+
+orbs:
+ onegini-build: onegini/onegini-build@3
+
+shared: &shared
+ component_type: library
+ context: dev-context
+ executor:
+ name: onegini-build/maven-builder
+ tag: "17.0"
+ projects: core,test
+
+
+tags_only: &tags_only
+ filters:
+ branches:
+ ignore: /.*/
+ tags:
+ only: /.*/
+
+tags_and_branches_only: &tags_and_branches_only
+ filters:
+ branches:
+ only: /.*/
+ tags:
+ only: /.*/
+
+workflows:
+ version: 2
+ library-workflow:
+ jobs:
+ - onegini-build/build-install:
+ name: build
+ <<: *shared
+ <<: *tags_and_branches_only
+ skip_tests: true
+
+ - onegini-build/test:
+ name: test
+ <<: *shared
+ <<: *tags_and_branches_only
+ requires:
+ - build
+
+ - onegini-build/deploy:
+ name: deploy
+ <<: *shared
+ <<: *tags_and_branches_only
+ requires:
+ - build
+ - test
+
+ - onegini-build/notify-released:
+ context: dev-context
+ <<: *tags_only
+ requires:
+ - deploy
diff --git a/amqp/pom.xml b/amqp/pom.xml
index 29de4120fb..4673fcccb7 100644
--- a/amqp/pom.xml
+++ b/amqp/pom.xml
@@ -19,7 +19,7 @@
axon
org.axonframework
- 2.4.7-SNAPSHOT
+ ${revision}
4.0.0
diff --git a/core/pom.xml b/core/pom.xml
index 80a02c2132..28af4c16e3 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -19,51 +19,17 @@
org.axonframework
axon
- 2.4.7-SNAPSHOT
+ ${revision}
4.0.0
axon-core
Axon Framework core
- bundle
+ jar
-
- org.apache.felix
- maven-bundle-plugin
- ${felix.bundle.plugin.version}
- true
-
-
- ${project.groupId}.${project.artifactId}
- ${project.artifactId}
- High Performance and Scalability framework for Java application based on the
- CQRS principles
-
- ${project.version}
-
- org.axonframework.*
-
-
- org.slf4j.*,
- *;resolution:=optional
-
-
-
-
-
-
-
- manifest
-
-
-
-
org.apache.maven.plugins
maven-jar-plugin
diff --git a/distributed-commandbus/pom.xml b/distributed-commandbus/pom.xml
index f39ba7b974..af19be5d50 100644
--- a/distributed-commandbus/pom.xml
+++ b/distributed-commandbus/pom.xml
@@ -19,7 +19,7 @@
axon
org.axonframework
- 2.4.7-SNAPSHOT
+ ${revision}
4.0.0
diff --git a/documentation/pom.xml b/documentation/pom.xml
index 1d17b4dac4..df1ba0e2cb 100644
--- a/documentation/pom.xml
+++ b/documentation/pom.xml
@@ -19,7 +19,7 @@
org.axonframework
axon
- 2.4.7-SNAPSHOT
+ ${revision}
4.0.0
axon-documentation
@@ -128,4 +128,4 @@
-
\ No newline at end of file
+
diff --git a/incubator/cassandra/pom.xml b/incubator/cassandra/pom.xml
index 26f7664422..2f11f78252 100644
--- a/incubator/cassandra/pom.xml
+++ b/incubator/cassandra/pom.xml
@@ -19,7 +19,7 @@
axon
org.axonframework
- 2.4.7-SNAPSHOT
+ ${revision}
../../pom.xml
4.0.0
diff --git a/incubator/google-app-engine/pom.xml b/incubator/google-app-engine/pom.xml
index d64a1b6521..d06c296e0d 100644
--- a/incubator/google-app-engine/pom.xml
+++ b/incubator/google-app-engine/pom.xml
@@ -20,7 +20,7 @@
axon
org.axonframework
- 2.4.7-SNAPSHOT
+ ${revision}
../../pom.xml
@@ -84,4 +84,4 @@
test
-
\ No newline at end of file
+
diff --git a/incubator/redis/pom.xml b/incubator/redis/pom.xml
index d2f04d73c0..1c1360287c 100644
--- a/incubator/redis/pom.xml
+++ b/incubator/redis/pom.xml
@@ -19,7 +19,7 @@
axon
org.axonframework
- 2.4.7-SNAPSHOT
+ ${revision}
../../pom.xml
4.0.0
@@ -68,4 +68,4 @@
test
-
\ No newline at end of file
+
diff --git a/integration/pom.xml b/integration/pom.xml
index 17527374c0..dced6ca038 100644
--- a/integration/pom.xml
+++ b/integration/pom.xml
@@ -19,7 +19,7 @@
axon
org.axonframework
- 2.4.7-SNAPSHOT
+ ${revision}
4.0.0
@@ -75,4 +75,4 @@
-
\ No newline at end of file
+
diff --git a/integrationtests/pom.xml b/integrationtests/pom.xml
index 5d24e40e56..87faa389ee 100644
--- a/integrationtests/pom.xml
+++ b/integrationtests/pom.xml
@@ -19,7 +19,7 @@
axon
org.axonframework
- 2.4.7-SNAPSHOT
+ ${revision}
4.0.0
@@ -211,4 +211,4 @@
-
\ No newline at end of file
+
diff --git a/mongo/pom.xml b/mongo/pom.xml
index ab5df66b40..58bb047185 100644
--- a/mongo/pom.xml
+++ b/mongo/pom.xml
@@ -20,7 +20,7 @@
org.axonframework
axon
- 2.4.7-SNAPSHOT
+ ${revision}
axon-mongo
diff --git a/mongo3/pom.xml b/mongo3/pom.xml
index 8dda86a5e1..e3609e8a18 100644
--- a/mongo3/pom.xml
+++ b/mongo3/pom.xml
@@ -20,7 +20,7 @@
org.axonframework
axon
- 2.4.7-SNAPSHOT
+ ${revision}
axon-mongo3
diff --git a/monitoring-jmx/pom.xml b/monitoring-jmx/pom.xml
index ca8eb294f0..e2ca07127c 100644
--- a/monitoring-jmx/pom.xml
+++ b/monitoring-jmx/pom.xml
@@ -19,7 +19,7 @@
axon
org.axonframework
- 2.4.7-SNAPSHOT
+ ${revision}
4.0.0
@@ -59,4 +59,4 @@
${project.version}
-
\ No newline at end of file
+
diff --git a/pom.xml b/pom.xml
index 734b4f7c81..6caafbc1e8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -17,9 +17,15 @@
+
+ com.onegini
+ og-parent
+ 62
+
+
org.axonframework
axon
- 2.4.7-SNAPSHOT
+ ${revision}
core
integration
@@ -117,7 +123,7 @@
6.1.11
6.3.1
5.19.0
- 2.4.0
+ 6.0.0
4.2.1
3.4.0
1.6.0
@@ -381,27 +387,6 @@
-
-
- maven-enforcer-plugin
- 1.1.1
-
-
- enforce-java
- deploy
-
- enforce
-
-
-
-
- 1.6
-
-
-
-
-
-
diff --git a/quickstart/pom.xml b/quickstart/pom.xml
index a57d9fc19b..19d844d951 100644
--- a/quickstart/pom.xml
+++ b/quickstart/pom.xml
@@ -20,7 +20,7 @@
org.axonframework
axon
- 2.4.7-SNAPSHOT
+ ${revision}
axon-quickstart
@@ -128,4 +128,4 @@
-
\ No newline at end of file
+
diff --git a/springmessaging/pom.xml b/springmessaging/pom.xml
index 0b05086467..06d455f08f 100644
--- a/springmessaging/pom.xml
+++ b/springmessaging/pom.xml
@@ -19,7 +19,7 @@
axon
org.axonframework
- 2.4.7-SNAPSHOT
+ ${revision}
4.0.0
@@ -74,4 +74,4 @@
-
\ No newline at end of file
+
diff --git a/test/pom.xml b/test/pom.xml
index 8d85172571..28e676c3a7 100644
--- a/test/pom.xml
+++ b/test/pom.xml
@@ -19,7 +19,7 @@
axon
org.axonframework
- 2.4.7-SNAPSHOT
+ ${revision}
4.0.0