Maven

Aus Tutorials
Zur Navigation springen Zur Suche springen

Pfade

Windows

JAVA_HOME = <path to jdk>
M2_HOME = <path to maven>

Profile

mvn install -P <profil1>[,<profile2>]

Warnungen

[WARNING] Using platform encoding (windows-1252 actually) to copy filtered resources, i.e. build is platform dependent!

<project>
  ...
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-resources-plugin</artifactId>
        <version>2.7</version>
        <configuration>
          ...
          <encoding>UTF-8</encoding>
          ...
        </configuration>
      </plugin>
    </plugins>
    ...
  </build>
  ...
</project>


Zurück zu Java