Initial revision

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112724 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
jvanzyl
2003-01-24 03:44:26 +00:00
parent 66e44f2734
commit 530c640d4f
821 changed files with 55754 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
maven.log
target
lib
velocity.log

View File

@@ -0,0 +1,17 @@
This project is a simple set of java classes.
It illustrates what Maven can do for a developer with the addition of
a single file - project.xml
To try it out:
- Make sure Maven is installed on your machine
- change to this directory (e.g. cd "Program Files\Maven\examples\simple-java" )
- Try some Maven goals:
maven jar (builds a jar file)
maven site (creates a web site of documentation based on the project)
etc...
For a full list of goals, use:
maven -g

View File

@@ -0,0 +1,62 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<project>
<!-- the version of maven's project object model -->
<pomVersion>3</pomVersion>
<!-- a unique name for this project -->
<id>maven-examples-simple-java</id>
<!-- a short but descriptive name for the project -->
<name>Simple Java</name>
<!-- The version of the project under development, e.g.
1.1, 1.2, 2.0-dev -->
<currentVersion>1.0-SNAPSHOT</currentVersion>
<!-- details about the organization that 'owns' the project -->
<organization>
<name>Apache Software Foundation</name>
<url>http://jakarta.apache.org/</url>
</organization>
<!-- the year the project started -->
<inceptionYear>2002</inceptionYear>
<!-- the top level of java packages that this project defines
e.g. if your project contains the packages
com.mycompany.accounts.reports, com.mycompany.accounts.reports
and com.mycompany.accounts.utils, the package would be
'com.mycompany.accounts' -->
<package>org.apache.maven.examples.simplejava</package>
<!-- a short description of what the project does -->
<shortDescription>A simple java project</shortDescription>
<!-- the project home page -->
<url>http://jakarta.apache.org/turbine/maven/</url>
<!-- the version control repository and http url for online access
the connection element has the form:
scm:<system>:<system specific connection string> -->
<repository>
<connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:jakarta-turbine-maven</connection>
<url>http://cvs.apache.org/viewcvs/jakarta-turbine-maven/</url>
</repository>
<!-- any mailing lists for the project -->
<mailingLists/>
<!-- who the developers are for the project -->
<developers />
<!-- jar files the project is dependent on -->
<dependencies/>
<!-- build information for the project -->
<build>
<sourceDirectory>src/java</sourceDirectory>
</build>
</project>

View File

@@ -0,0 +1,15 @@
package org.apache.maven.examples.simplejava;
/**
* A really simple java class
* @author dIon
*/
public class SimpleJava {
/**
* Print a message
* @param args unused
*/
public static void main(String[] args) {
System.out.println("Hello from Maven's SimpleJava");
}
}