[
https://issues.apache.org/jira/browse/SLING-7274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16266945#comment-16266945
]
Konrad Windszus commented on SLING-7274:
----------------------------------------
Actually moving the {{phase}} has the implication that the
{{maven-source-compiler}} will automatically compile those. Therefore it would
be good to have an explicit flag (if possible) to either only generate java
sources, or also afterwards compile those.
> Move default phase of goal "validate" from "compile" to "generate-sources"
> --------------------------------------------------------------------------
>
> Key: SLING-7274
> URL: https://issues.apache.org/jira/browse/SLING-7274
> Project: Sling
> Issue Type: Improvement
> Components: Maven Plugins and Archetypes
> Affects Versions: HTL Maven Plugin 1.1.0
> Reporter: Konrad Windszus
>
> As with SLING-7155 the goal optionally generates Java sources and you might
> be interested to even compile those to Java class files (see JCRVLT-237) it
> is reasonable to execute the goal by default in another lifecycle phase.
> According to
> https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Lifecycle_Reference
> the phase {{generate-sources}} should be used instead of {{compile}}.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)