MavenBuild

HomePage | RecentChanges | Preferences

Difference (from prior major revision) (no other diffs)

Changed: 1,74c1
Moving on... Maven2

Notes on building projects with Maven 1.0




* Download Maven 1.0.x
** http://maven.apache.org/maven-1.x/start/download.html

* To change the location of the .maven directory where it keeps a .jar file repository:

In your 'home' directory (C:\Documents and Settings\username.DOMAIN on Windows) place a 'build.properties file:

# Properties file for Maven builds
# maven.home.local tells it where to put all the .jars it downloads
maven.home.local=c:/java/m1-repository


* To run a single unit test with Maven 1.0.2
maven test:single  -Dtestcase=TestClassName





Text editors can validate project.xml if you provide the schema:


<project xmlns="http://maven.apache.org/POM/3.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/3.0.0 http://maven.apache.org/maven-v3_0_0.xsd">






http://jira.codehaus.org/browse/MPANT-21

* 'maven ant' generates a build.xml file which downloads dependencies to the maven repository.
* if you have a dependency on something that was built and installed locally, it still checks the maven repository to see if the file has changed



Articles and Tutorials




* [Apache Maven Simplifies the Java Build Process—Even More Than Ant]
* [Maven: Trove of Tips]

* [Maven Will Change Your Life by James Mitchell] or [here]

* http://www.theserverside.com/articles/article.tss?l=MavenMagic



Maven and IDEs




* [IBM Developer Works Eclipse + Maven]



Plugins




Maven Plugin for IntelliJ? IDEA http://mevenide.codehaus.org/mevenide-idea/



HowTo




* MavenWarSource
* MavenResource
* MavenMultiProjectSite
* MavenPdfPlugin
* MavenConditionalDependency

* Jelly Script
** http://maven.apache.org/maven-1.x/reference/scripting.html
** http://maven.apache.org/maven-1.x/using/developing-plugins.html



Plugins




* MavenWarPlugin



HomePage | RecentChanges | Preferences
This page is read-only | View other revisions
Last edited December 22, 2019 10:21 am by 78-93-98-198.dsl.wavetel.us (diff)
Search: