> On Jun 5, 2015, at 12:18 PM, Stefan Seelmann <[email protected]> wrote:
>
> You want to create a new git repo for fortress-master and remain the
> (core|realm|web|rest) in their own git repos?
>
> Or should all code be moved to a new git repo, with fortress-master as
> parent?
>
> In any case, when fortress-master is parent to (core|realm|web|rest) as
> well as consumes those artifacts you run into a circular dependency.
>
> I think it makes more sense to have (if possible all in one git repo):
>
> * a parent POM (fortress-master) for dependency managnement and common
> properties, child apache directory project pomof
> * the existing (core|realm|web|rest), childs of fortress-master
> * additional project/module(s) for docs, tools, tests, etc, that have
> dependency to (core|realm|web|rest)
+1 on the idea of combining all into a common repo and restructuring the maven
projects accordingly. I have pasted the directory structure of what a combined
repo would look like below. Each maven project is contained in brackets.
The associated pom’s are listed as well.
[directory-fortress-master]
pom.xml
---- [directory-fortress-core]
pom.xml
----- src
---- main
---- java
---- org
---- apache
---- directory
---- fortress
---- core
...
---- test
---- java
---- org
---- apache
---- directory
---- fortress
---- core
...
---- [directory-fortress-rest]
pom.xml
----- src
---- main
---- assembly
...
---- java
---- org
---- apache
---- directory
---- fortress
---- rest
...
---- resources
---- META-INF
---- webapp
---- WEB-INF
---- test
---- java
---- org
---- apache
---- directory
---- fortress
---- rest
...
---- [directory-fortress-realm]
pom.xml
----- src
---- main
---- java
---- org
---- apache
---- directory
---- fortress
---- realm
...
---- impl
pom.xml
----- src
---- main
---- java
---- org
---- apache
---- directory
---- fortress
---- realm
...
---- proxy
pom.xml
----- src
---- main
---- java
---- org
---- apache
---- directory
---- fortress
---- realm
...
---- [directory-fortress-web]
pom.xml
----- src
---- main
---- assembly
...
---- java
---- org
---- apache
---- directory
---- fortress
---- web
...
---- resources
---- META-INF
---- org
---- apache
---- directory
---- fortress
---- web
...
---- webapp
---- css
---- images
---- login
---- WEB-INF
---- test
---- java
---- org
---- apache
---- directory
---- fortress
---- web
...
Shawn
[email protected]