Maven

Maven-Konfiguration mit Eclipse

Damit Eclipse mit der Maven-Verzeichnisstruktur arbeitetn kann muß man Maven innerhalb von Eclipse kongigurieren. Als erstes muß man maven auf sein Sytem kopieren und ein paar Umgebungsvariablen einstellen.M2_HOME: C:/Programme/Apache Software Foundation/apache-maven-2.2.1JAVA_HOME: C:/Programme/IBM/SDP/jdkPath: %M2_HOME%bin Installation von Maven muß ein einem Verzeichnis ein. das zweite bild zweites bild

Maven

validate – validate the project is correct and all necessary information is available compile – compile the source code of the project test – test the compiled source code using a suitable unit testing framework. These tests should not require the code be packaged or deployed package – take the compiled code and package it …

Maven Read More »

Cross join

Cross join mostly used: By learning sql you will soon get in touch with joins. The following examples show this type of join which is called cross join. The result is a Cartesian product between the two tables. select * from a, b In more complex queries you have to use the ansi syntax to …

Cross join Read More »

maven-scm-provider-svnjava

If you whant to use a pure java implementation of a cvs client you got to download the latest version of it. com.google.code.maven-scm-provider-svnjava maven-scm-provider-svnjava 2.1.1 compile https://oss.sonatype.org/content/repositories/releases https://oss.sonatype.org/content/repositories/releases/com/google/code/maven-scm-provider-svnjava/maven-scm-provider-svnjava/2.1.1/

repo.maven.org repo1.maven.org

Apache maven is searching in the wrong repository. https://repo.maven.org/maven2/ But it should point to https://repo1.maven.org/maven2/ If you call https://repo.maven.org/maven2/ with a browser you will be redirected to https://repo1.maven.org/maven2/ . But other programs can’t follow the redirect. In my case it was maven itself who wanted to download a plugin. To fix this issue you have …

repo.maven.org repo1.maven.org Read More »

Maven and Eclipse

Previous steps to make: Install Maven Install Eclipse (luna) mvn archetype:generate -DgroupId=org.apache.maven.archetypes -DartifactId=wwsservices -DarchetypeArtifactId=maven-archetype-webapp -DinteractiveMode=false mvn archetype:generate -DgroupId=com.porsche.wwsp -DartifactId=wwsframework -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false – src – main – java – resources – webapp – test – java – resources – target create a maven projekt A pom.xml-File is created create eclipse projekt mvn eclipse:eclipse Convert to Maven …

Maven and Eclipse Read More »

Martin Rocks