The maven-antrun-plugin allows us to run Ant tasks in Maven. On the contrary, there is no Ant task for running Maven in Ant.
Continue reading Run Maven in Ant
Tag Archives: Maven
Maven – Set Java Heap Memory for JUnit in maven-surefire-plugin
Previously i have talked about setting Java Heap Memory in Maven.
Continue reading Maven – Set Java Heap Memory for JUnit in maven-surefire-plugin
Maven – Set Java Heap Memory on m2eclipse
For m2eclipse, you can set the Java Heap Memory in the Run Configurations as follow.
Continue reading Maven – Set Java Heap Memory on m2eclipse
Maven – How to set Java Heap Memory
You may encounter the error java.lang.OutOfMemoryError: Java heap space when running Maven. You can set the heap memory by setting the MAVEN_OPTS environmental variable.
Continue reading Maven – How to set Java Heap Memory
Maven – Using AntInstaller in Maven
You have to specific the plugin dependency in the pom.xml if u want to use the installer task of AntInstaller in Maven.
Continue reading Maven – Using AntInstaller in Maven
Maven – Change Javadoc Directory
In Maven, u can create the javadoc by the maven-javadoc-plugin. Just include it in the pom.xml as follow.
Continue reading Maven – Change Javadoc Directory
Maven – Add ant-contrib Ant Tasks in maven-antrun-plugin
Ant Tasks, such as <if>, belongs to ant-contrib.jar. So in order to use them in maven-antrun-plugin, you have to add this dependency explicitly in the pom.xml.
Continue reading Maven – Add ant-contrib Ant Tasks in maven-antrun-plugin
Maven – Using Ant tasks with maven-antrun-plugin
maven-antrun-plugin allows maven user to add ant tasks in different maven life cycle phases. To use the maven-antrun-plugin, add the following text in the pom.xml.
Continue reading Maven – Using Ant tasks with maven-antrun-plugin
Check out a Maven Project from SVN in Eclipse
We did talk about how to use Maven in Eclipse. So let’s move on to see how to integrate SVN and Maven in Eclipse.
Continue reading Check out a Maven Project from SVN in Eclipse
Eclipse and Maven – m2eclipse
m2eclipse is an Eclipse plugin for developing Maven project. Here shows u how to install it in Eclipse.
Continue reading Eclipse and Maven – m2eclipse