You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Richard Eckart de Castilho (JIRA)" <de...@uima.apache.org> on 2014/06/07 19:49:01 UTC

[jira] [Comment Edited] (UIMA-3869) Better maven-plugin-plugin configuration

    [ https://issues.apache.org/jira/browse/UIMA-3869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14020891#comment-14020891 ] 

Richard Eckart de Castilho edited comment on UIMA-3869 at 6/7/14 5:48 PM:
--------------------------------------------------------------------------

Since this change is removing the option to ignore whether descriptors have been generated, it also requires that the phase of the help-mojo is set to "process-classes":

{noformat}
<execution>
  <id>help-goal</id>
  <phase>process-classes</phase>
  <goals><goal>helpmojo</goal></goals>
</execution>
{noformat}

Since we do not configure the helpmojo in the uima-parent-pom, this needs to be fixed in the individual Maven plugin modules.

Two options: 

   # really fix it in the modules
   # remove the help-mojo config in the modules and add it in the parent-pom

I'd opt for the second option. Opinions?


was (Author: rec):
Since this change is removing the option to ignore whether descriptors have been generated, it also requires that the phase of the help-mojo is set to "process-classes":

{noformat}
<execution>
  <id>help-goal</id>
  <phase>process-classes</phase>
  <goals><goal>helpmojo</goal></goals>
</execution>
{noformat}

Since we do not configure the helpmojo in the uima-parent-pom, this needs to be fixed in the individual Maven plugin modules.

Two options: 

   1 really fix it in the modules
   1 remove the help-mojo config in the modules and add it in the parent-pom

I'd opt for the second option. Opinions?

> Better maven-plugin-plugin configuration
> ----------------------------------------
>
>                 Key: UIMA-3869
>                 URL: https://issues.apache.org/jira/browse/UIMA-3869
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Build, Packaging and Test
>            Reporter: Richard Eckart de Castilho
>            Assignee: Richard Eckart de Castilho
>            Priority: Trivial
>             Fix For: parent-pom-10
>
>
> Better workaround to fix missing descriptors failure:
> http://jira.codehaus.org/browse/MPLUGIN-267
> {noformat}
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-plugin-plugin</artifactId>
>         <version>3.3</version>
>         <executions>
>           <execution>
>             <id>default-descriptor</id>
>             <phase>process-classes</phase>
>           </execution>
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)