joerghoh / cq5-healthcheck

CQ5 Healthcheck code
Apache License 2.0
28 stars 15 forks source link

Errors when trying to create package for release-1.0-cq54 #36

Closed petre closed 11 years ago

petre commented 11 years ago

When running mvn package in the release-1.0-cq54 branch the following error occurs: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on project core: Compilation failure: Compilation failure: [ERROR] /Users/pghita/Documents/Projects/cq5-healthcheck/core/src/main/java/de/joerghoh/cq5/healthcheck/impl/providers/MBeanStatusProvider.java:[31,32] package org.apache.commons.lang3 does not exist [ERROR] /Users/pghita/Documents/Projects/cq5-healthcheck/core/src/main/java/de/joerghoh/cq5/healthcheck/impl/providers/MBeanStatusProvider.java:[32,37] package org.apache.commons.lang3.math does not exist [ERROR] /Users/pghita/Documents/Projects/cq5-healthcheck/core/src/main/java/de/joerghoh/cq5/healthcheck/impl/providers/MBeanStatusProvider.java:[187,120] cannot find symbol

alexsaar commented 11 years ago

I pushed an update to the branch and added the required dependencies. Please update and try again.

petre commented 11 years ago

Hi, The package compiles now but when installed on a cq5.4 the component doesn't start. These components cannot be resolved:

org.apache.commons.lang3,version=3.0 -- Cannot be resolved org.apache.commons.lang3.math,version=3.0 -- Cannot be resolved

joerghoh commented 11 years ago

I just updated the code and downgraded commons.lang3 to commons.lang (v2.4), which is used by CQ 5.4. Plase try again.

petre commented 11 years ago

Thanks, it's working now!