Setup MavenPage edited by Ralf Eichinger
Installation
Configuration
Windows:
Command Prompt C:\> mkdir c:\Documents and Settings\<your_username>\.m2 C:\> copy "c:\Program Files\apache-maven-2.1.0\conf\settings.xml" "c:\Documents and Settings\<your_username>\.m2\" 1 file(s) copied.
File ${user.home}/.m2/settings.xml
<mirrors>
...
<mirror>
<id>archiva.central</id>
<mirrorOf>central</mirrorOf>
<name>Archiva mirror of central Maven repository.</name>
<url>http://_server_address_and_port_/archiva/repository/internal/</url>
</mirror>
...
</mirrors>
TestWindows:
Command Prompt C:\>mvn [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] You must specify at least one goal or lifecycle phase to perform build steps. The following list illustrates some commonly used build commands: mvn clean Deletes any build output (e.g. class files or JARs). mvn test Runs the unit tests for the project. mvn install Copies the project artifacts into your local repository. mvn deploy Copies the project artifacts into the remote repository. mvn site Creates project documentation (e.g. reports or Javadoc). Please see http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html for a complete description of available lifecycle phases. Use "mvn --help" to show general usage information about Maven's command line. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: < 1 second [INFO] Finished at: Wed May 06 12:37:24 CEST 2009 [INFO] Final Memory: 1M/4M [INFO] ------------------------------------------------------------------------ C:\> This behaviour is ok, because maven does not find a pom.xml file to process and you didn't specify a goal. Windows: Command Prompt C:\>mvn -version Apache Maven 2.1.0 (r755702; 2009-03-18 20:10:27+0100) Java version: 1.6.0_13 Java home: C:\Program Files\Java\jdk1.6.0_13\jre Default locale: de_DE, platform encoding: Cp1252 OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows" C:\> The platform encoding is not "UTF-8". TODO ??? (set to UTF-8) Documentation
Change Notification Preferences
View Online
|
View Change
|
Add Comment
|
- [CONF] Apache Wicket > Setup Maven confluence
- [CONF] Apache Wicket > Setup Maven confluence
- [CONF] Apache Wicket > Setup Maven confluence
- [CONF] Apache Wicket > Setup Maven confluence
- [CONF] Apache Wicket > Setup Maven confluence
