headwirecom / peregrine-cms

an api first, head optional cms with based on vuejs and apache sling
Apache License 2.0
52 stars 31 forks source link

Graphql module fails as slingfeature #1184

Open orx0815 opened 4 months ago

orx0815 commented 4 months ago

Hi,

I'm currently playing around building my own feature-model with Peregrine on top.

Had a problem in platform/graphql/ui.apps that wasn't starting.

With my new approach (starting from sling-archetype instead of forking the sling-starter) it's already predicting that on build-time:

[ERROR] Failed to execute goal org.apache.sling:slingfeature-maven-plugin:1.8.2:analyse-features (prepare-features) on project launcher: Exception during analysing feature org.motorbrot:launcher:slingosgifeature:app:1.0-SNAPSHOT : graphql-java-15.0.jar has no maven coordinates!

I was able to fix that by replacing the wcmio-content-package-maven-plugin by jackrabbit's filevault-package-maven-plugin. So I feel obliged to contribute back to this amazing but underappreciated project.

Change is only on the problematic graphql module. It's only for the part of building the content-packages, wcm.io one still can be used for up/downloading content. [1]

I was starting to change everything, but that would be a lot of changes. Maybe I can pick this up later. [2] It's not necessary to start Peregrine via slingfeature-maven-plugin.

[1] https://wcm-io.atlassian.net/wiki/spaces/WCMIO/pages/91586585/Migrate+content+package+projects+from+wcmio-content-package-maven-plugin+to+Jackrabbit+filevault-package-maven-plugin

[2] https://wcm-io.atlassian.net/wiki/spaces/WCMIO/pages/1353056261/How+to+make+your+content+packages+comply+with+Jackrabbit+FileVault+Validation

orx0815 commented 4 months ago

From travis-build:

No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.

Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received

The build has been terminated

Don't know what I could do about it :(