Bug 519027 - org.eclipse.birt.runtime 4.6.0-20160607 breaks QueryDsl annotation processing in maven
Summary: org.eclipse.birt.runtime 4.6.0-20160607 breaks QueryDsl annotation processing...
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 4.6.0   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Birt-Build CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-30 07:08 EDT by Anton Kirilchik CLA
Modified: 2017-06-30 07:11 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Kirilchik CLA 2017-06-30 07:08:32 EDT
When i add dependency to my pom.xml:

<dependency>
    <groupId>org.eclipse.birt.runtime</groupId>
    <artifactId>org.eclipse.birt.runtime</artifactId>
    <version>4.6.0-20160607</version>

    <exclusions>
        <exclusion>
            <groupId>org.eclipse.birt.runtime</groupId>
            <artifactId>org.eclipse.orbit.mongodb</artifactId>
        </exclusion>
    </exclusions>
</dependency>

With this plugin confgiguration:

<plugin>
    <groupId>com.mysema.maven</groupId>
    <artifactId>apt-maven-plugin</artifactId>
    <version>1.1.3</version>
    <executions>
        <execution>
        <phase>generate-sources</phase>
        <goals>
            <goal>process</goal>
        </goals>
        <configuration>
            <outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
            <processor>com.querydsl.apt.jpa.JPAAnnotationProcessor</processor>
        </configuration>
        </execution>
    </executions>
    <dependencies>
    <dependency>
        <groupId>com.querydsl</groupId>
        <artifactId>querydsl-apt</artifactId>
        <version>${querydsl.version}</version>
    </dependency>
    </dependencies>
</plugin>

I have this error:

[INFO] --- apt-maven-plugin:1.1.3:process (default) @ constructr ---
Downloading: https://repo.maven.apache.org/maven2/org/eclipse/jdt/core/compiler/ecj/4.3.1/ecj-4.3.1.pom
Downloaded: https://repo.maven.apache.org/maven2/org/eclipse/jdt/core/compiler/ecj/4.3.1/ecj-4.3.1.pom (2 KB at 10.8 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/eclipse/jdt/core/compiler/ecj/4.3.1/ecj-4.3.1.jar
Downloaded: https://repo.maven.apache.org/maven2/org/eclipse/jdt/core/compiler/ecj/4.3.1/ecj-4.3.1.jar (1788 KB at 1046.2 KB/sec)
error: Could not instantiate an instance of processor 'com.querydsl.apt.jpa.JPAAnnotationProcessor'
1 error


And when i remove MEAT-INF/ECLIPSE_.SF and META-INF/ECLIPSE_.RSA from .m2\repository\org\eclipse\birt\runtime\org.eclipse.birt.runtime\4.6.0-20160607\org.eclipse.birt.runtime-4.6.0-20160607.jar error disappeared...