[ 
https://jira.codehaus.org/browse/MPLUGIN-273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Scholte closed MPLUGIN-273.
----------------------------------

    Resolution: Cannot Reproduce
      Assignee: Robert Scholte

Hi, I've tested it with you project, but made a small adjustment to make sure 
it picks up {{maven-plugin-plugin:3.3}}. Now it succeeds.

{code:xml}
<project>
...
<build>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-compiler-plugin</artifactId>
          <version>2.4</version>
        </plugin>
      </plugins>
    </pluginManagement>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-plugin-plugin</artifactId>
        <version>3.3</version>
        <configuration>
          <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
        </configuration>
        <executions>
          <execution>
            <id>mojo-descriptor</id>
            <goals>
              <goal>descriptor</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
...
</project>
{code}

> Classes using Java 8 Lambdas cause goal descriptor to fail
> ----------------------------------------------------------
>
>                 Key: MPLUGIN-273
>                 URL: https://jira.codehaus.org/browse/MPLUGIN-273
>             Project: Maven Plugin Tools
>          Issue Type: Bug
>          Components: maven-plugin-annotations
>    Affects Versions: 3.3
>         Environment: Maven 3.2.3, maven-plugin-annotations 3.3
>            Reporter: Martin Dreier
>            Assignee: Robert Scholte
>         Attachments: callstack.txt, java8-maven-plugin.zip
>
>
> When the annotations scanner encounters a class which uses Java 8 Lambdas, 
> the scanning fails. Removing the lambda construct resolves the error.
> Reproduction:
> 1) Extract the attached maven project
> 2) run mvn install in the project



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to