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>
== Debugging ==
<pre>
mvn install -X
</pre>
</pre>



Version vom 20. Mai 2016, 11:39 Uhr

Pfade

Windows

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

Profile

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

Debugging

mvn install -X

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