Hi,

I am trying out moving the launchpad-testing module to the sling
starter. This is just an experiment for now, will get back to the list
in case I am successful for a proper discussion.

The launchpad-testing module has its own limited provisioning model
file [1]. I am trying to add it to the sling starter, without having it
end up in the main jar file.

Just copy-pasting it to src/test/provisioning/model.text lead to and
error

  [ERROR] Recursive model dependency list including project MavenProject: 
org.apache.sling:org.apache.sling.starter:12-SNAPSHOT @ 
/home/robert/sources/apache/sling/org-apache-sling-starter/pom.xml -> [Help 1]

I guess that's warranted, so next I removed it, but got scolded because

  [ERROR] No launchpad feature found. -> [Help 1]

I guess that the Maven plug-in expects a full provisioning model under
src/test/provisioning, while I'm looking to:

- build a main jar from src/main/provisioning
- build a test jar from src/test/provisioning, extending the main jar

Is there a way to achieve that with the provisioning model? I'm also
open to alternative suggestions on how I can build a main + test jar
for the Sling Starter.

Thanks,
Robert

[1]: 
https://github.com/apache/sling-org-apache-sling-launchpad-testing/blob/master/src/main/provisioning/model.txt

Reply via email to