[
https://issues.apache.org/jira/browse/SLING-7274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16279052#comment-16279052
]
Konrad Windszus commented on SLING-7274:
----------------------------------------
I don't think it is actually possible to influence the default phase through
Mojo parameters. Therefore closing as Won't Fix.
> 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)