Expand my Community achievements bar.

SOLVED

6.3 - aem-multimodule-project - Bundle Structure?

Avatar

Level 3

We are currently in the process of upgrading to 6.3 and wanted to update our project structure as well.

I ran Lazybones and generated the project structure and noticed it created an "artifactId.core" folder for my java files.

How would I structure multiple OSGI bundle services in this structure? Would it be the same way as it was structured in the "bundles" folder in the old archetype?

i.e.

artifactId.core

--bundle1-service

----pom.xml

--bundle2-service

----pom.xml

pom.xml

All the examples I'm finding online for 6.3 project structures have everything dumped under artifactId.core which would whats currently separate bundles into one big bundle.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

When I see the need to have multiple bundles (for whatever reason) I typically create separate maven projects next to the core maven project.

Jörg

View solution in original post

2 Replies

Avatar

Correct answer by
Employee Advisor

When I see the need to have multiple bundles (for whatever reason) I typically create separate maven projects next to the core maven project.

Jörg

Avatar

Level 3

Thanks Jörg, ill go with that structure.