Maven: Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
Zeile 12: Zeile 12:
<pre>
<pre>
mvn install -P <profil1>[,<profile2>]
mvn install -P <profil1>[,<profile2>]
</pre>
== Warnungen ==
=== [WARNING] Using platform encoding (windows-1252 actually) to copy filtered resources, i.e. build is platform dependent! ===
<pre>
<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>
</pre>
</pre>




Zurück zu [[Java]]
Zurück zu [[Java]]

Version vom 12. April 2016, 12:25 Uhr

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