Skip to content

Commit

Permalink
Fixes wisdom-framework#171 by rewriting the pom organisation.
Browse files Browse the repository at this point in the history
Building wisdom is now a three-step build :

1 - Go into your wisdom/wisdom-framework folder and "mvn install". It will build wisdom framework base pom. This pom is used by both core and components, and define common dependencies, and so on
2 - Go into your wisdom/core folder and "mvn install". it will build wisdom core (and the in-famous maven plugin)
3 - Then go into wisdom/components subfolder and "mvn install". it will build framework, extensions and documentation-base (in this order)

How release work ? Well, exactly the same way, excpeted one also need to change reference to wisdom-framework parent pom in core and components poms before trying to release them.

Having no experience of such a splitted release with git, I don't know which form the tags/branchs will take .. However, i think it is by far simpler than current build process. in fact, the only thing missing would be a shortcut in root folder allowing one to call all three maven builds.
  • Loading branch information
Riduidel committed Apr 18, 2014
1 parent f2491b6 commit f17175b
Show file tree
Hide file tree
Showing 28 changed files with 290 additions and 105 deletions.
2 changes: 1 addition & 1 deletion core/akka-system/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<groupId>org.wisdom-framework</groupId>
<artifactId>wisdom-framework</artifactId>
<version>0.5-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>akka-system</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core/application-configuration/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<groupId>org.wisdom-framework</groupId>
<artifactId>wisdom-framework</artifactId>
<version>0.5-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>application-configuration</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core/content-manager/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<groupId>org.wisdom-framework</groupId>
<artifactId>wisdom-framework</artifactId>
<version>0.5-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
<relativePath>../pom.xml</relativePath>
</parent>


Expand Down
2 changes: 1 addition & 1 deletion core/crypto/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<groupId>org.wisdom-framework</groupId>
<artifactId>wisdom-framework</artifactId>
<version>0.5-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>crypto</artifactId>
Expand Down
58 changes: 58 additions & 0 deletions core/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.wisdom-framework</groupId>
<artifactId>wisdom-framework</artifactId>
<version>0.5-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<groupId>org.wisdom-framework</groupId>
<artifactId>core</artifactId>
<version>0.5-SNAPSHOT</version>

<packaging>pom</packaging>

<licenses>
<license>
<name>Apache License 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
</license>
</licenses>

<scm>
<url>https://github.com/wisdom-framework/wisdom/core/</url>
<connection>scm:git:[email protected]:wisdom-framework/wisdom.git</connection>
<developerConnection>scm:git:[email protected]:wisdom-framework/wisdom.git</developerConnection>
</scm>

<inceptionYear>2013</inceptionYear>

<issueManagement>
<system>github</system>
<url>https://github.com/wisdom-framework/wisdom/issues</url>
</issueManagement>

<organization>
<name>Wisdom Framework</name>
<url>http://wisdom-framework.org</url>
</organization>

<modules>
<module>wisdom-api</module>
<module>wisdom-maven-plugin</module>
<module>wisdom-test</module>
<module>wisdom-ipojo-module</module>

<module>wisdom-engine</module>
<module>application-configuration</module>
<module>content-manager</module>
<module>router</module>
<module>crypto</module>
<module>akka-system</module>
<module>wisdom-base-runtime</module>
</modules>
</project>
2 changes: 1 addition & 1 deletion core/router/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<groupId>org.wisdom-framework</groupId>
<artifactId>wisdom-framework</artifactId>
<version>0.5-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>router</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core/wisdom-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<groupId>org.wisdom-framework</groupId>
<artifactId>wisdom-framework</artifactId>
<version>0.5-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>wisdom-api</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core/wisdom-base-runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<groupId>org.wisdom-framework</groupId>
<artifactId>wisdom-framework</artifactId>
<version>0.5-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>wisdom-base-runtime</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core/wisdom-engine/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<groupId>org.wisdom-framework</groupId>
<artifactId>wisdom-framework</artifactId>
<version>0.5-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>wisdom-engine</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core/wisdom-ipojo-module/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<groupId>org.wisdom-framework</groupId>
<artifactId>wisdom-framework</artifactId>
<version>0.5-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>wisdom-ipojo-module</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core/wisdom-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<groupId>org.wisdom-framework</groupId>
<artifactId>wisdom-framework</artifactId>
<version>0.5-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>wisdom-maven-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core/wisdom-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<groupId>org.wisdom-framework</groupId>
<artifactId>wisdom-framework</artifactId>
<version>0.5-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>wisdom-test</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions documentation-base/documentation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

<parent>
<groupId>org.wisdom-framework</groupId>
<artifactId>wisdom-framework</artifactId>
<artifactId>wisdom-components</artifactId>
<version>0.5-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>documentation</artifactId>
Expand Down
48 changes: 48 additions & 0 deletions documentation-base/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.wisdom-framework</groupId>
<artifactId>wisdom-components</artifactId>
<version>0.5-SNAPSHOT</version>
<relativePath>../wisdom-components/pom.xml</relativePath>
</parent>

<groupId>org.wisdom-framework</groupId>
<artifactId>documentation-base</artifactId>
<version>0.5-SNAPSHOT</version>

<packaging>pom</packaging>

<licenses>
<license>
<name>Apache License 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
</license>
</licenses>

<scm>
<url>https://github.com/wisdom-framework/wisdom/documentation/</url>
<connection>scm:git:[email protected]:wisdom-framework/wisdom.git</connection>
<developerConnection>scm:git:[email protected]:wisdom-framework/wisdom.git</developerConnection>
</scm>

<inceptionYear>2013</inceptionYear>

<issueManagement>
<system>github</system>
<url>https://github.com/wisdom-framework/wisdom/issues</url>
</issueManagement>

<organization>
<name>Wisdom Framework</name>
<url>http://wisdom-framework.org</url>
</organization>

<modules>
<module>documentation</module>
<module>samples</module>
</modules>
</project>
4 changes: 2 additions & 2 deletions documentation-base/samples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

<parent>
<groupId>org.wisdom-framework</groupId>
<artifactId>wisdom-framework</artifactId>
<artifactId>wisdom-components</artifactId>
<version>0.5-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>samples</artifactId>
Expand Down
48 changes: 48 additions & 0 deletions extensions/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.wisdom-framework</groupId>
<artifactId>wisdom-components</artifactId>
<version>0.5-SNAPSHOT</version>
<relativePath>../wisdom-components/pom.xml</relativePath>
</parent>

<groupId>org.wisdom-framework</groupId>
<artifactId>extensions</artifactId>
<version>0.5-SNAPSHOT</version>

<packaging>pom</packaging>

<licenses>
<license>
<name>Apache License 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
</license>
</licenses>

<scm>
<url>https://github.com/wisdom-framework/wisdom/framework/</url>
<connection>scm:git:[email protected]:wisdom-framework/wisdom.git</connection>
<developerConnection>scm:git:[email protected]:wisdom-framework/wisdom.git</developerConnection>
</scm>

<inceptionYear>2013</inceptionYear>

<issueManagement>
<system>github</system>
<url>https://github.com/wisdom-framework/wisdom/issues</url>
</issueManagement>

<organization>
<name>Wisdom Framework</name>
<url>http://wisdom-framework.org</url>
</organization>

<modules>
<module>wisdom-asciidoc-maven-plugin</module>
<module>wisdom-monitor</module>
</modules>
</project>
4 changes: 2 additions & 2 deletions extensions/wisdom-asciidoc-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

<parent>
<groupId>org.wisdom-framework</groupId>
<artifactId>wisdom-framework</artifactId>
<artifactId>wisdom-components</artifactId>
<version>0.5-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>wisdom-asciidoc-maven-plugin</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions extensions/wisdom-monitor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@

<parent>
<groupId>org.wisdom-framework</groupId>
<artifactId>wisdom-framework</artifactId>
<artifactId>wisdom-components</artifactId>
<version>0.5-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>wisdom-monitor</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions framework/default-error-handler/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

<parent>
<groupId>org.wisdom-framework</groupId>
<artifactId>wisdom-framework</artifactId>
<artifactId>wisdom-components</artifactId>
<version>0.5-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>default-error-handler</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions framework/ehcache-cache-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

<parent>
<groupId>org.wisdom-framework</groupId>
<artifactId>wisdom-framework</artifactId>
<artifactId>wisdom-components</artifactId>
<version>0.5-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>ehcache-cache-service</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions framework/hibernate-validation-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

<parent>
<groupId>org.wisdom-framework</groupId>
<artifactId>wisdom-framework</artifactId>
<artifactId>wisdom-components</artifactId>
<version>0.5-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>hibernate-validation-service</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions framework/i18n-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

<parent>
<groupId>org.wisdom-framework</groupId>
<artifactId>wisdom-framework</artifactId>
<artifactId>wisdom-components</artifactId>
<version>0.5-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>i18n-service</artifactId>
Expand Down
Loading

0 comments on commit f17175b

Please sign in to comment.