[
https://issues.apache.org/jira/browse/JCRVLT-237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konrad Windszus updated JCRVLT-237:
-----------------------------------
Description: The documentation at
http://jackrabbit.apache.org/filevault-package-maven-plugin/import_package.html
for HTL scripts should it make more obvious that the phase of the {{validate}}
goal needs to be overwritten to let the {{maven-compiler-plugin}} pick up those
sources as well (see SLING-7274). Also now version 1.1.0 of the
htl-maven-plugin has been released. (was: The documentation at
http://jackrabbit.apache.org/filevault-package-maven-plugin/import_package.html
for HTL scripts should it make more obvious that the phase of the {{validate}}
goal needs to be overwritten to let the {{maven-compiler-plugin}} pick up those
sources as well (see SLING-7274).
Unfortunately some dependencies needed for the compilation are by default not
known. Some of the missing dependencies are
{code}
[ERROR] ... package org.apache.sling.scripting.sightly.java.compiler does not
exist
[ERROR] ... package org.apache.sling.scripting.sightly.render does not exist
[ERROR] ... cannot find symbol
symbol: class RenderUnit
{code}
The {{htl-maven-plugin}} even in version 1.1.0 will only generate java files,
but not the according class files. Please include the configuration of the
maven-compiler-plugin to include the compilation of the transpiled HTLs (from
{{target/generated-sources/htl}}.
Also it would make sense to pick up those classes from a dedicated)
> Fix description on how import-package manifests are generated
> -------------------------------------------------------------
>
> Key: JCRVLT-237
> URL: https://issues.apache.org/jira/browse/JCRVLT-237
> Project: Jackrabbit FileVault
> Issue Type: Bug
> Components: package maven plugin
> Affects Versions: package-maven-plugin-1.0.0
> Reporter: Konrad Windszus
>
> The documentation at
> http://jackrabbit.apache.org/filevault-package-maven-plugin/import_package.html
> for HTL scripts should it make more obvious that the phase of the
> {{validate}} goal needs to be overwritten to let the
> {{maven-compiler-plugin}} pick up those sources as well (see SLING-7274).
> Also now version 1.1.0 of the htl-maven-plugin has been released.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)