evenisse 2004/03/12 17:33:18
Added: maven-plugins/maven-hello-plugin .cvsignore project.xml
maven-plugins/maven-hello-plugin/src/java/org/apache/maven/plugin
HelloWorldPlugin.java
maven-plugins/maven-hello-plugin/src/resources/META-INF/maven
plugin.xml
maven-plugins/maven-hello-plugin/src/resources/META-INF/plexus
components.xml
Log:
Initial version
Revision Changes Path
1.1 maven-components/maven-plugins/maven-hello-plugin/.cvsignore
Index: .cvsignore
===================================================================
*~
*.log
target
*.ipr
*.iws
1.1 maven-components/maven-plugins/maven-hello-plugin/project.xml
Index: project.xml
===================================================================
<?xml version="1.0" encoding="ISO-8859-1"?>
<project>
<pomVersion>3</pomVersion>
<id>maven-hello-plugin</id>
<groupId>maven</groupId>
<artifactId>maven-hello-plugin</artifactId>
<name>Maven</name>
<currentVersion>1.0-SNAPSHOT</currentVersion>
<organization>
<name>Apache Software Foundation</name>
<url>http://www.apache.org/</url>
<logo>/images/apache-maven-project.png</logo>
</organization>
<inceptionYear>2001</inceptionYear>
<package>org.apache.maven</package>
<logo>/images/maven.gif</logo>
<repository>
<connection>scm:cvs:pserver:[EMAIL
PROTECTED]:/home/cvspublic:maven-components/maven-plugins/maven-hello-plugin</connection>
<developerConnection>scm:cvs:ext:[EMAIL
PROTECTED]:/home/cvs:maven-components/maven-plugins/maven-hello-plugin</developerConnection>
<url>http://cvs.apache.org/viewcvs.cgi/maven-components/maven-plugins/maven-hello-plugin</url>
</repository>
<versions/>
<branches/>
<mailingLists/>
<developers>
<developer>
<name>Emmanuel Venisse</name>
<id>evenisse</id>
<email>[EMAIL PROTECTED]</email>
<organization/>
<roles>
<role>Creator</role>
</roles>
</developer>
</developers>
<contributors/>
<licenses/>
<dependencies>
</dependencies>
<build>
<nagEmailAddress>[EMAIL PROTECTED]</nagEmailAddress>
<sourceDirectory>src/java</sourceDirectory>
<unitTestSourceDirectory>src/test</unitTestSourceDirectory>
<unitTest>
<includes>
<include>**/*Test.java</include>
</includes>
</unitTest>
<resources>
<resource>
<directory>src/resources</directory>
</resource>
</resources>
</build>
</project>
1.1
maven-components/maven-plugins/maven-hello-plugin/src/java/org/apache/maven/plugin/HelloWorldPlugin.java
Index: HelloWorldPlugin.java
===================================================================
package org.apache.maven.plugin;
/**
* @author <a href="mailto:[EMAIL PROTECTED]">Emmanuel Venisse</a>
*
* @version $Id: HelloWorldPlugin.java,v 1.1 2004/03/13 01:33:18 evenisse Exp $
*/
public class HelloWorldPlugin
{
public void execute()
throws Exception
{
System.out.println("Hello World");
}
}
1.1
maven-components/maven-plugins/maven-hello-plugin/src/resources/META-INF/maven/plugin.xml
Index: plugin.xml
===================================================================
<plugin>
<id>helloworld</id>
<goals>
<goal>
<name>hello</name>
<configuration>
</configuration>
</goal>
</goals>
</plugin>
1.1
maven-components/maven-plugins/maven-hello-plugin/src/resources/META-INF/plexus/components.xml
Index: components.xml
===================================================================
<component-set>
<components>
<component>
<role>org.apache.maven.plugin.Plugin</role>
<role-hint>helloworld</role-hint>
<implementation>org.apache.maven.plugin.HelloWorldPlugin</implementation>
</component>
</components>
</component-set>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]