[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Maven: Skip compilation of source file is artifactId missing



Le 12/11/2018 à 16:46, Mathieu Malaterre a écrit :

> When building fop, I'd like to skip building the following source file:
> 
> ./fop-core/src/main/java/org/apache/fop/util/bitmap/JAIMonochromeBitmapConverter.java

Try this:

https://stackoverflow.com/questions/17920920/maven-excluding-java-files-in-compilation

  <plugin>
    <artifactId>maven-compiler-plugin</artifactId>
    <configuration>
      <excludes>
        <exclude>**/JAI*.java</exclude>
      </excludes>
    </configuration>
  </plugin>

Emmanuel Bourg


Reply to: