Maven
mvn -version
Create html dependency report:
mvn versions:display-dependency-updates
mvn dependency:tree
mvn project-inf-reports:dependencies
Create project:
mvn archetype:generate -DgroupId=com.foo.someproject -DartifactId=some-project -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false
Create eclipse project:
mvn eclipse:clean eclipse:eclipse
Run jetty from maven:
mvn jetty:run
Create packge:
mvn package
mvn -U clean package -DskipTests
Compile test:
mvn clean compile test
Generate Javadoc:
mvn javadoc:javadoc
see here for howto create and embed UML in javadoc automatically
sudo apt-get install graphviz
Create html dependency report:
mvn versions:display-dependency-updates
mvn dependency:tree
mvn project-inf-reports:dependencies
mvn archetype:generate -DgroupId=com.foo.someproject -DartifactId=some-project -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false
Create eclipse project:
mvn eclipse:clean eclipse:eclipse
Run jetty from maven:
mvn jetty:run
Create packge:
mvn package
mvn -U clean package -DskipTests
Compile test:
mvn clean compile test
Generate Javadoc:
mvn javadoc:javadoc
see here for howto create and embed UML in javadoc automatically
sudo apt-get install graphviz
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.9</version> <configuration> <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet> <docletArtifact> <groupId>org.umlgraph</groupId> <artifactId>umlgraph</artifactId> <version>5.6</version> </docletArtifact> <additionalparam>-views -all</additionalparam> <useStandardDocletOptions>true</useStandardDocletOptions> </configuration> </plugin>
Comments