Comments (3)
I also tested with and without the maven-processor-plugin version 3.3.3
EDIT ... sorry it does work for the maven-processor-plugin
if you delegate to in the project configuration as per the README but the error messages for the annotations then happen on the POM instead of the Java file (Eclipse UI).
I can't decide which behavior is better. False errors on Java files or positive hard to read errors on the POM file.
from m2e-apt.
For other that may have this problem:
The best work around I have found is to turn on default m2e-apt
and then have Maven copy the resources:
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-resources</id>
<phase>validate</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/target/generated-sources/annotations</outputDirectory>
<resources>
<resource>
<directory>${basedir}/src/main/resources</directory>
<includes>
<include>META-INF/**/*.sql</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
I'm not entirely sure how the above works. I know its copying the resources and I know the m2e plugin will do that but I'm not sure if it invalidates some things for incremental build or the above always causes a full build.
from m2e-apt.
m2e-apt's code is now included in https://github.com/eclipse-m2e/m2e-core , please consider reporting issue to https://github.com/eclipse-m2e/m2e-core/issues if it's still relevant.
from m2e-apt.
Related Issues (20)
- Question: Could pom.xml force Eclipse to enable APT processing? HOT 2
- Error with eclipse m2e-apt HOT 1
- annotationProcessorPaths alone does not enable annotation processing HOT 5
- Annotation processing is not enabled with compilerId javac-with-errorprone
- Support <annotationProcessors> configuration element HOT 3
- Update Site (even bleeding/nightly) for 1.4.0 HOT 4
- maven-compiler-plugin dependencies such as error-prone should not all be put on the APT Factory Path HOT 2
- .factorypath lacks jars, when corresponding projects are opened in Eclipse HOT 5
- Control adding plugin processors to factorypath HOT 6
- Inconsistent results in incremental vs full build HOT 15
- New m2e.disableTestClasspathFlag property does work with APT
- Please sign the binaries HOT 11
- Out-of-sync composite*.xml files HOT 3
- Everything after whitespace in processor options cut off. HOT 6
- Error dowloading from website HOT 1
- Eclipse 2020-09: broken plugin HOT 8
- Eclipse 2021-12: org.eclipse.m2e.editor.xml installation issue HOT 2
- remove dependency on WTP pom editor ?
- HTTP Server 'Gateway Timeout': https://download.jboss.org/jbosstools/updates/m2e-extensions/m2e-apt/... HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from m2e-apt.