diff --git a/README.md b/README.md
index 99d4da8a6..a46094343 100644
--- a/README.md
+++ b/README.md
@@ -8,23 +8,52 @@
A fork of the com.sun.codemodel 2.7-SNAPSHOT.
The classes in this project use a different package name `com.helger.jcodemodel` to avoid conflicts
with other `com.sun.codemodel` instances that might be floating around in the classpath.
-That of course implies, that this artefact cannot directly be used with JAXB, since the configuration of
+That of course implies, that this artifact cannot directly be used with JAXB, since the configuration of
this would be very tricky.
A site with the links to the [API docs](http://phax.github.io/jcodemodel/) etc. is available.
-## Maven usage
+## Import in Maven
+
+### Straightforward import
Add the following to your pom.xml to use this artifact (where `x.y.z` denotes the version):
```xml
-
- com.helger
- jcodemodel
- x.y.z
-
+
+
+
+ com.helger
+ jcodemodel
+ x.y.z
+
```
+### Bill Of Materials import
+
+In case you want to use several of our projects, you may import the bom first, then the required modules :
+
+```xml
+
+
+
+
+ com.helger.jcodemodel
+ bom
+ x.y.z
+ pom
+ import
+
+...
+
+
+ com.helger
+ jcodemodel
+
+```
+
+In that case, the bom import defines the version of the other projects.
+
# News and noteworthy
v4.2.0 - work in progress
diff --git a/bom/pom.xml b/bom/pom.xml
new file mode 100644
index 000000000..abf74be27
--- /dev/null
+++ b/bom/pom.xml
@@ -0,0 +1,49 @@
+
+ 4.0.0
+
+ com.helger.jcodemodel
+ jcodemodel-parent-pom
+ 4.2.0-SNAPSHOT
+
+ bom
+ POM JCM BOM
+ pom
+
+
+
+
+
+ com.helger
+ jcodemodel
+ ${project.version}
+
+
+ com.helger.jcodemodel.plugin.generators
+ csv
+ ${project.version}
+
+
+ com.helger.jcodemodel.plugin.generators
+ json
+ ${project.version}
+
+
+ com.helger.jcodemodel.plugin.generators
+ yaml
+ ${project.version}
+
+
+
+
+
+
+
+
+ com.helger.jcodemodel
+ jcodemodel-maven-plugin
+ ${project.version}
+
+
+
+
+
\ No newline at end of file
diff --git a/examples/pom.xml b/examples/pom.xml
index b7958ac48..b34d10a2f 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -19,8 +19,9 @@
4.0.0
com.helger.jcodemodel
- jcodemodel-parent-pom
+ bom
4.2.0-SNAPSHOT
+ ../bom
examples
pom
diff --git a/jcodemodel/pom.xml b/jcodemodel/pom.xml
index e56e03821..e2041aeaa 100644
--- a/jcodemodel/pom.xml
+++ b/jcodemodel/pom.xml
@@ -45,8 +45,9 @@
4.0.0
com.helger.jcodemodel
- jcodemodel-parent-pom
+ bom
4.2.0-SNAPSHOT
+ ../bom
com.helger
jcodemodel
diff --git a/jcodemodeltests/pom.xml b/jcodemodeltests/pom.xml
index ccc3abb09..ed2af35c9 100644
--- a/jcodemodeltests/pom.xml
+++ b/jcodemodeltests/pom.xml
@@ -2,8 +2,9 @@
4.0.0
com.helger.jcodemodel
- jcodemodel-parent-pom
+ bom
4.2.0-SNAPSHOT
+ ../bom
JCodeModel-Tests
diff --git a/plugin/pom.xml b/plugin/pom.xml
index 2492d07dd..30347dbdb 100644
--- a/plugin/pom.xml
+++ b/plugin/pom.xml
@@ -19,8 +19,9 @@
4.0.0
com.helger.jcodemodel
- jcodemodel-parent-pom
+ bom
4.2.0-SNAPSHOT
+ ../bom
plugin
pom
diff --git a/pom.xml b/pom.xml
index 09e5ca42c..d34836ac0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -112,6 +112,7 @@
+ bom
jcodemodel
plugin
examples
@@ -128,25 +129,7 @@
pom
import
-
-
-
- com.helger
- jcodemodel
- ${project.version}
-
-
-
-
-
- com.helger.jcodemodel
- jcodemodel-maven-plugin
- ${project.version}
-
-
-
-