You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ca...@apache.org on 2007/02/04 21:48:49 UTC
svn commit: r503477 - in /maven/sandbox/plugins: ./
maven-component-it-plugin/src/site/fml/ maven-ejb3-plugin/
maven-ejb3-plugin/src/main/java/org/apache/maven/plugin/ejb3/
maven-it-plugin/test-with-goals-file/src/it/test1/ maven-jdeveloper-plugin/
mav...
Author: carlos
Date: Sun Feb 4 12:48:47 2007
New Revision: 503477
URL: http://svn.apache.org/viewvc?view=rev&rev=503477
Log:
Set svn properties
Modified:
maven/sandbox/plugins/maven-component-it-plugin/src/site/fml/faq.fml (props changed)
maven/sandbox/plugins/maven-ejb3-plugin/pom.xml (contents, props changed)
maven/sandbox/plugins/maven-ejb3-plugin/src/main/java/org/apache/maven/plugin/ejb3/Ejb3Mojo.java (contents, props changed)
maven/sandbox/plugins/maven-it-plugin/test-with-goals-file/src/it/test1/build.log (props changed)
maven/sandbox/plugins/maven-jdeveloper-plugin/pom.xml (props changed)
maven/sandbox/plugins/maven-jdeveloper-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/jdeveloper/JDeveloperMojo.java (props changed)
maven/sandbox/plugins/maven-jdeveloper-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/jdeveloper/10.1.3.0.2/project.xml (props changed)
maven/sandbox/plugins/maven-jdeveloper-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/jdeveloper/10.1.3.0.2/workspace.xml (props changed)
maven/sandbox/plugins/maven-license-plugin/src/main/javacc/Java1.5.jj (props changed)
maven/sandbox/plugins/maven-license-plugin/src/main/sablecc/java.grammar (props changed)
maven/sandbox/plugins/maven-license-plugin/src/test/filetypes/LICENSE (props changed)
maven/sandbox/plugins/maven-license-plugin/src/test/filetypes/properties/inject-1-expected.properties (props changed)
maven/sandbox/plugins/maven-license-plugin/src/test/filetypes/properties/inject-1.properties (props changed)
maven/sandbox/plugins/maven-par-plugin/pom.xml (contents, props changed)
maven/sandbox/plugins/maven-par-plugin/src/main/java/org/apache/maven/plugin/par/ParMojo.java (contents, props changed)
maven/sandbox/plugins/maven-plug-it-plugin/src/site/fml/faq.fml (props changed)
maven/sandbox/plugins/maven-remote-resources-plugin/README.txt (props changed)
maven/sandbox/plugins/maven-remote-resources-plugin/src/main/mdo/remote-resources.mdo (props changed)
maven/sandbox/plugins/maven-swizzle-plugin/pom.xml (props changed)
maven/sandbox/plugins/maven-swizzle-plugin/src/main/java/org/apache/maven/plugin/swizzle/ReportMojo.java (props changed)
maven/sandbox/plugins/maven-swizzle-plugin/src/site/apt/examples/generating-custom-report.apt (props changed)
maven/sandbox/plugins/maven-swizzle-plugin/src/site/apt/examples/generating-release-report.apt (contents, props changed)
maven/sandbox/plugins/maven-swizzle-plugin/src/site/apt/examples/generating-resolved-issues-report.apt (props changed)
maven/sandbox/plugins/maven-swizzle-plugin/src/site/apt/examples/generating-votes-report.apt (props changed)
maven/sandbox/plugins/maven-swizzle-plugin/src/site/apt/index.apt (props changed)
maven/sandbox/plugins/maven-swizzle-plugin/src/site/apt/usage.apt (props changed)
maven/sandbox/plugins/maven-swizzle-plugin/src/site/fml/faq.fml (props changed)
maven/sandbox/plugins/maven-swizzle-plugin/src/site/site.xml (props changed)
maven/sandbox/plugins/maven-swizzle-plugin/src/test/java/org/apache/maven/plugin/swizzle/ReportMojoTest.java (props changed)
maven/sandbox/plugins/maven-swizzle-plugin/src/test/resources/unit/MyResolvedIssuesExpectedResult.txt (props changed)
maven/sandbox/plugins/maven-swizzle-plugin/src/test/resources/unit/MyResolvedIssuesTemplate.vm (props changed)
maven/sandbox/plugins/maven-swizzle-plugin/src/test/resources/unit/ReleaseExpectedResult.txt (props changed)
maven/sandbox/plugins/maven-swizzle-plugin/src/test/resources/unit/ResolvedIssuesExpectedResult.txt (props changed)
maven/sandbox/plugins/maven-swizzle-plugin/src/test/resources/unit/VotesExpectedResult.txt (props changed)
maven/sandbox/plugins/maven-swizzle-plugin/src/test/resources/unit/blank-output-file-configuration-test.xml (props changed)
maven/sandbox/plugins/maven-swizzle-plugin/src/test/resources/unit/blank-template-configuration-test.xml (props changed)
maven/sandbox/plugins/maven-swizzle-plugin/src/test/resources/unit/custom-template-configuration-test.xml (props changed)
maven/sandbox/plugins/maven-swizzle-plugin/src/test/resources/unit/docck-successful.txt (props changed)
maven/sandbox/plugins/maven-swizzle-plugin/src/test/resources/unit/license-failed.txt (props changed)
maven/sandbox/plugins/maven-swizzle-plugin/src/test/resources/unit/release-configuration-test.xml (props changed)
maven/sandbox/plugins/maven-swizzle-plugin/src/test/resources/unit/resolved-issues-configuration-test.xml (props changed)
maven/sandbox/plugins/maven-swizzle-plugin/src/test/resources/unit/simple.xml (props changed)
maven/sandbox/plugins/maven-swizzle-plugin/src/test/resources/unit/votes-configuration-test.xml (props changed)
maven/sandbox/plugins/pom.xml (props changed)
Propchange: maven/sandbox/plugins/maven-component-it-plugin/src/site/fml/faq.fml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/sandbox/plugins/maven-component-it-plugin/src/site/fml/faq.fml
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Modified: maven/sandbox/plugins/maven-ejb3-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-ejb3-plugin/pom.xml?view=diff&rev=503477&r1=503476&r2=503477
==============================================================================
--- maven/sandbox/plugins/maven-ejb3-plugin/pom.xml (original)
+++ maven/sandbox/plugins/maven-ejb3-plugin/pom.xml Sun Feb 4 12:48:47 2007
@@ -1,23 +1,23 @@
-<model>
- <parent>
- <artifactId>maven-plugin-parent</artifactId>
- <groupId>org.apache.maven.plugins</groupId>
- <version>2.0</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>maven-ejb3-plugin</artifactId>
- <packaging>maven-plugin</packaging>
- <name>Maven EJB3 plugin</name>
- <version>2.1-SNAPSHOT</version>
- <dependencies>
- <dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-project</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-archiver</artifactId>
- <version>2.0</version>
- </dependency>
- </dependencies>
-</model>
+<model>
+ <parent>
+ <artifactId>maven-plugin-parent</artifactId>
+ <groupId>org.apache.maven.plugins</groupId>
+ <version>2.0</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>maven-ejb3-plugin</artifactId>
+ <packaging>maven-plugin</packaging>
+ <name>Maven EJB3 plugin</name>
+ <version>2.1-SNAPSHOT</version>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-project</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-archiver</artifactId>
+ <version>2.0</version>
+ </dependency>
+ </dependencies>
+</model>
Propchange: maven/sandbox/plugins/maven-ejb3-plugin/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/sandbox/plugins/maven-ejb3-plugin/pom.xml
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Modified: maven/sandbox/plugins/maven-ejb3-plugin/src/main/java/org/apache/maven/plugin/ejb3/Ejb3Mojo.java
URL: http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-ejb3-plugin/src/main/java/org/apache/maven/plugin/ejb3/Ejb3Mojo.java?view=diff&rev=503477&r1=503476&r2=503477
==============================================================================
--- maven/sandbox/plugins/maven-ejb3-plugin/src/main/java/org/apache/maven/plugin/ejb3/Ejb3Mojo.java (original)
+++ maven/sandbox/plugins/maven-ejb3-plugin/src/main/java/org/apache/maven/plugin/ejb3/Ejb3Mojo.java Sun Feb 4 12:48:47 2007
@@ -1,283 +1,283 @@
-package org.apache.maven.plugin.ejb3;
-
-/*
- * Copyright 2001-2005 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import org.apache.maven.archiver.MavenArchiveConfiguration;
-import org.apache.maven.archiver.MavenArchiver;
-import org.apache.maven.artifact.DependencyResolutionRequiredException;
-import org.apache.maven.plugin.AbstractMojo;
-import org.apache.maven.plugin.MojoExecutionException;
-import org.apache.maven.project.MavenProject;
-import org.apache.maven.project.MavenProjectHelper;
-import org.codehaus.plexus.archiver.ArchiverException;
-import org.codehaus.plexus.archiver.jar.ManifestException;
-import org.codehaus.plexus.util.FileUtils;
-import org.codehaus.plexus.archiver.jar.JarArchiver;
-
-import java.io.File;
-import java.io.IOException;
-import java.util.List;
-
-/**
- * Builds J2EE EJB3 archive.
- *
- * @author <a href="piotr@bzdyl.net">Piotr Bzdyl</a>
- * @version $Id$
- * @goal ejb3
- * @phase package
- * @description build an ejb3
- *
- * @todo Add deployment descriptor file handling
- */
-public class Ejb3Mojo
- extends AbstractMojo
-{
- private static final String[] DEFAULT_EXCLUDES = new String[]{"**/package.html"};
-
- private static final String[] DEFAULT_INCLUDES = new String[]{"**/**"};
-
- private static final String[] DEFAULT_CLIENT_INCLUDES = new String[]{"**/**"};
-
- private static final String[] DEFAULT_CLIENT_EXCLUDES = new String[]{"**/*Bean.class",
- "**/*CMP.class", "**/*Session.class", "**/package.html"};
-
- /**
- * Directory containing the generated EJB3.
- *
- * @parameter expression="${project.build.directory}"
- * @required
- * @readonly
- */
- private File basedir;
-
- /**
- * Name of the generated EJB3.
- *
- * @parameter alias="parName" expression="${project.build.finalName}"
- * @required
- */
- private String jarName;
-
- /**
- * Directory containing the classes.
- *
- * @parameter expression="${project.build.outputDirectory}"
- * @required
- * @readonly
- */
- private File outputDirectory;
-
- /**
- * Single directory for extra files to include in the ejb3.
- *
- * @parameter expression="${basedir}/src/main/ejb3"
- * @required
- */
- private File ejb3SourceDirectory;
-
- /**
- * Whether the ejb client jar should be generated or not. Default
- * is false.
- *
- * @parameter
- * @todo boolean instead
- */
- private String generateClient = Boolean.FALSE.toString();
-
- /**
- * Excludes.
- *
- * <br/>Usage:
- * <pre>
- * <clientIncludes>
- * <clientInclude>**/*Ejb.class</clientInclude>
- * <clientInclude>**/*Bean.class</clientInclude>
- * </clientIncludes>
- * </pre>
- * <br/>Attribute is used only if client jar is generated.
- * <br/>Default exclusions: **/*Bean.class, **/*CMP.class, **/*Session.class, **/package.html
- * @parameter
- */
- private List clientExcludes;
-
- /**
- * Includes.
- *
- * <br/>Usage:
- * <pre>
- * <clientIncludes>
- * <clientInclude>**/*</clientInclude>
- * </clientIncludes>
- * </pre>
- * <br/>Attribute is used only if client jar is generated.
- * <br/>Default value: **/**
- * @parameter
- */
- private List clientIncludes;
-
- /**
- * The maven project.
- *
- * @parameter expression="${project}"
- * @required
- * @readonly
- */
- private MavenProject project;
-
- /**
- * The maven archiver to use.
- *
- * @parameter
- */
- private MavenArchiveConfiguration archive = new MavenArchiveConfiguration();
-
- /**
- * The Jar archiver.
- *
- * @parameter expression="${component.org.codehaus.plexus.archiver.Archiver#jar}"
- * @required
- */
- private JarArchiver jarArchiver;
-
- /**
- * The client Jar archiver.
- *
- * @parameter expression="${component.org.codehaus.plexus.archiver.Archiver#jar}"
- * @required
- */
- private JarArchiver clientJarArchiver;
-
- /**
- * The maven project's helper.
- *
- * @parameter expression="${component.org.apache.maven.project.MavenProjectHelper}"
- * @required
- * @readonly
- */
- private MavenProjectHelper projectHelper;
-
- /**
- * Generates the EJB3.
- *
- * @todo Add license files in META-INF directory.
- */
- public void execute()
- throws MojoExecutionException
- {
- try
- {
- copyResources();
- }
- catch ( IOException e )
- {
- throw new MojoExecutionException( "Error copying EJB3 resources", e );
- }
-
- try
- {
- generateEJB3Archive();
- }
- catch ( Exception e )
- {
- throw new MojoExecutionException( "Error assembling EJB3", e );
- }
-
- try
- {
- generateClient( jarName );
- }
- catch ( Exception e )
- {
- throw new MojoExecutionException( "Error creating client archive", e );
- }
- }
-
- private void copyResources()
- throws IOException
- {
- if ( ejb3SourceDirectory != null
- && ejb3SourceDirectory.exists() )
- {
- getLog().info( "Copy ejb3 resources to " + outputDirectory.getAbsolutePath() );
- FileUtils.copyDirectoryStructure( ejb3SourceDirectory, outputDirectory );
- }
- }
-
-
- private void generateEJB3Archive()
- throws ArchiverException, ManifestException, IOException, DependencyResolutionRequiredException
- {
- File ejb3File = new File( basedir, jarName + ".ejb3" );
-
- MavenArchiver archiver = new MavenArchiver();
- archiver.setArchiver( jarArchiver );
-
- archiver.setOutputFile( ejb3File );
-
- if ( outputDirectory == null || !outputDirectory.exists() )
- {
- getLog().warn( "EJB3 will be empty - no content was marked for inclusion!" );
- }
- else
- {
- archiver.getArchiver().addDirectory( outputDirectory, DEFAULT_INCLUDES, DEFAULT_EXCLUDES );
- }
-
- archiver.createArchive( project, archive );
-
- project.getArtifact().setFile( ejb3File );
- }
-
- private void generateClient( String jarName )
- throws ArchiverException, ManifestException, IOException, DependencyResolutionRequiredException
- {
- if ( new Boolean( generateClient ).booleanValue() )
- {
- getLog().info( "Building ejb client " + jarName + "-client" );
-
- String[] includes = DEFAULT_CLIENT_INCLUDES;
- String[] excludes = DEFAULT_CLIENT_EXCLUDES;
-
- if ( clientIncludes != null && !clientIncludes.isEmpty() )
- {
- includes = (String[]) clientIncludes.toArray( new String[clientIncludes.size()] );
- }
-
- if ( clientExcludes != null && !clientExcludes.isEmpty() )
- {
- excludes = (String[]) clientExcludes.toArray( new String[clientExcludes.size()] );
- }
-
- File clientJarFile = new File( basedir, jarName + "-client.jar" );
-
- MavenArchiver clientArchiver = new MavenArchiver();
-
- clientArchiver.setArchiver( clientJarArchiver );
-
- clientArchiver.setOutputFile( clientJarFile );
-
- clientArchiver.getArchiver().addDirectory( outputDirectory, includes, excludes );
-
- // create archive
- clientArchiver.createArchive( project, archive );
-
- projectHelper.attachArtifact( project, "jar", "client", clientJarFile );
- }
-
- }
-
-}
+package org.apache.maven.plugin.ejb3;
+
+/*
+ * Copyright 2001-2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import org.apache.maven.archiver.MavenArchiveConfiguration;
+import org.apache.maven.archiver.MavenArchiver;
+import org.apache.maven.artifact.DependencyResolutionRequiredException;
+import org.apache.maven.plugin.AbstractMojo;
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.project.MavenProject;
+import org.apache.maven.project.MavenProjectHelper;
+import org.codehaus.plexus.archiver.ArchiverException;
+import org.codehaus.plexus.archiver.jar.ManifestException;
+import org.codehaus.plexus.util.FileUtils;
+import org.codehaus.plexus.archiver.jar.JarArchiver;
+
+import java.io.File;
+import java.io.IOException;
+import java.util.List;
+
+/**
+ * Builds J2EE EJB3 archive.
+ *
+ * @author <a href="piotr@bzdyl.net">Piotr Bzdyl</a>
+ * @version $Id$
+ * @goal ejb3
+ * @phase package
+ * @description build an ejb3
+ *
+ * @todo Add deployment descriptor file handling
+ */
+public class Ejb3Mojo
+ extends AbstractMojo
+{
+ private static final String[] DEFAULT_EXCLUDES = new String[]{"**/package.html"};
+
+ private static final String[] DEFAULT_INCLUDES = new String[]{"**/**"};
+
+ private static final String[] DEFAULT_CLIENT_INCLUDES = new String[]{"**/**"};
+
+ private static final String[] DEFAULT_CLIENT_EXCLUDES = new String[]{"**/*Bean.class",
+ "**/*CMP.class", "**/*Session.class", "**/package.html"};
+
+ /**
+ * Directory containing the generated EJB3.
+ *
+ * @parameter expression="${project.build.directory}"
+ * @required
+ * @readonly
+ */
+ private File basedir;
+
+ /**
+ * Name of the generated EJB3.
+ *
+ * @parameter alias="parName" expression="${project.build.finalName}"
+ * @required
+ */
+ private String jarName;
+
+ /**
+ * Directory containing the classes.
+ *
+ * @parameter expression="${project.build.outputDirectory}"
+ * @required
+ * @readonly
+ */
+ private File outputDirectory;
+
+ /**
+ * Single directory for extra files to include in the ejb3.
+ *
+ * @parameter expression="${basedir}/src/main/ejb3"
+ * @required
+ */
+ private File ejb3SourceDirectory;
+
+ /**
+ * Whether the ejb client jar should be generated or not. Default
+ * is false.
+ *
+ * @parameter
+ * @todo boolean instead
+ */
+ private String generateClient = Boolean.FALSE.toString();
+
+ /**
+ * Excludes.
+ *
+ * <br/>Usage:
+ * <pre>
+ * <clientIncludes>
+ * <clientInclude>**/*Ejb.class</clientInclude>
+ * <clientInclude>**/*Bean.class</clientInclude>
+ * </clientIncludes>
+ * </pre>
+ * <br/>Attribute is used only if client jar is generated.
+ * <br/>Default exclusions: **/*Bean.class, **/*CMP.class, **/*Session.class, **/package.html
+ * @parameter
+ */
+ private List clientExcludes;
+
+ /**
+ * Includes.
+ *
+ * <br/>Usage:
+ * <pre>
+ * <clientIncludes>
+ * <clientInclude>**/*</clientInclude>
+ * </clientIncludes>
+ * </pre>
+ * <br/>Attribute is used only if client jar is generated.
+ * <br/>Default value: **/**
+ * @parameter
+ */
+ private List clientIncludes;
+
+ /**
+ * The maven project.
+ *
+ * @parameter expression="${project}"
+ * @required
+ * @readonly
+ */
+ private MavenProject project;
+
+ /**
+ * The maven archiver to use.
+ *
+ * @parameter
+ */
+ private MavenArchiveConfiguration archive = new MavenArchiveConfiguration();
+
+ /**
+ * The Jar archiver.
+ *
+ * @parameter expression="${component.org.codehaus.plexus.archiver.Archiver#jar}"
+ * @required
+ */
+ private JarArchiver jarArchiver;
+
+ /**
+ * The client Jar archiver.
+ *
+ * @parameter expression="${component.org.codehaus.plexus.archiver.Archiver#jar}"
+ * @required
+ */
+ private JarArchiver clientJarArchiver;
+
+ /**
+ * The maven project's helper.
+ *
+ * @parameter expression="${component.org.apache.maven.project.MavenProjectHelper}"
+ * @required
+ * @readonly
+ */
+ private MavenProjectHelper projectHelper;
+
+ /**
+ * Generates the EJB3.
+ *
+ * @todo Add license files in META-INF directory.
+ */
+ public void execute()
+ throws MojoExecutionException
+ {
+ try
+ {
+ copyResources();
+ }
+ catch ( IOException e )
+ {
+ throw new MojoExecutionException( "Error copying EJB3 resources", e );
+ }
+
+ try
+ {
+ generateEJB3Archive();
+ }
+ catch ( Exception e )
+ {
+ throw new MojoExecutionException( "Error assembling EJB3", e );
+ }
+
+ try
+ {
+ generateClient( jarName );
+ }
+ catch ( Exception e )
+ {
+ throw new MojoExecutionException( "Error creating client archive", e );
+ }
+ }
+
+ private void copyResources()
+ throws IOException
+ {
+ if ( ejb3SourceDirectory != null
+ && ejb3SourceDirectory.exists() )
+ {
+ getLog().info( "Copy ejb3 resources to " + outputDirectory.getAbsolutePath() );
+ FileUtils.copyDirectoryStructure( ejb3SourceDirectory, outputDirectory );
+ }
+ }
+
+
+ private void generateEJB3Archive()
+ throws ArchiverException, ManifestException, IOException, DependencyResolutionRequiredException
+ {
+ File ejb3File = new File( basedir, jarName + ".ejb3" );
+
+ MavenArchiver archiver = new MavenArchiver();
+ archiver.setArchiver( jarArchiver );
+
+ archiver.setOutputFile( ejb3File );
+
+ if ( outputDirectory == null || !outputDirectory.exists() )
+ {
+ getLog().warn( "EJB3 will be empty - no content was marked for inclusion!" );
+ }
+ else
+ {
+ archiver.getArchiver().addDirectory( outputDirectory, DEFAULT_INCLUDES, DEFAULT_EXCLUDES );
+ }
+
+ archiver.createArchive( project, archive );
+
+ project.getArtifact().setFile( ejb3File );
+ }
+
+ private void generateClient( String jarName )
+ throws ArchiverException, ManifestException, IOException, DependencyResolutionRequiredException
+ {
+ if ( new Boolean( generateClient ).booleanValue() )
+ {
+ getLog().info( "Building ejb client " + jarName + "-client" );
+
+ String[] includes = DEFAULT_CLIENT_INCLUDES;
+ String[] excludes = DEFAULT_CLIENT_EXCLUDES;
+
+ if ( clientIncludes != null && !clientIncludes.isEmpty() )
+ {
+ includes = (String[]) clientIncludes.toArray( new String[clientIncludes.size()] );
+ }
+
+ if ( clientExcludes != null && !clientExcludes.isEmpty() )
+ {
+ excludes = (String[]) clientExcludes.toArray( new String[clientExcludes.size()] );
+ }
+
+ File clientJarFile = new File( basedir, jarName + "-client.jar" );
+
+ MavenArchiver clientArchiver = new MavenArchiver();
+
+ clientArchiver.setArchiver( clientJarArchiver );
+
+ clientArchiver.setOutputFile( clientJarFile );
+
+ clientArchiver.getArchiver().addDirectory( outputDirectory, includes, excludes );
+
+ // create archive
+ clientArchiver.createArchive( project, archive );
+
+ projectHelper.attachArtifact( project, "jar", "client", clientJarFile );
+ }
+
+ }
+
+}
Propchange: maven/sandbox/plugins/maven-ejb3-plugin/src/main/java/org/apache/maven/plugin/ejb3/Ejb3Mojo.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/sandbox/plugins/maven-ejb3-plugin/src/main/java/org/apache/maven/plugin/ejb3/Ejb3Mojo.java
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/maven-it-plugin/test-with-goals-file/src/it/test1/build.log
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/sandbox/plugins/maven-it-plugin/test-with-goals-file/src/it/test1/build.log
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/maven-jdeveloper-plugin/pom.xml
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/maven-jdeveloper-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/jdeveloper/JDeveloperMojo.java
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/maven-jdeveloper-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/jdeveloper/10.1.3.0.2/project.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/sandbox/plugins/maven-jdeveloper-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/jdeveloper/10.1.3.0.2/project.xml
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/maven-jdeveloper-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/jdeveloper/10.1.3.0.2/workspace.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/sandbox/plugins/maven-jdeveloper-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/jdeveloper/10.1.3.0.2/workspace.xml
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/maven-license-plugin/src/main/javacc/Java1.5.jj
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/sandbox/plugins/maven-license-plugin/src/main/javacc/Java1.5.jj
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/maven-license-plugin/src/main/sablecc/java.grammar
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/sandbox/plugins/maven-license-plugin/src/main/sablecc/java.grammar
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/maven-license-plugin/src/test/filetypes/LICENSE
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/sandbox/plugins/maven-license-plugin/src/test/filetypes/LICENSE
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/maven-license-plugin/src/test/filetypes/properties/inject-1-expected.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/sandbox/plugins/maven-license-plugin/src/test/filetypes/properties/inject-1-expected.properties
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/maven-license-plugin/src/test/filetypes/properties/inject-1.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/sandbox/plugins/maven-license-plugin/src/test/filetypes/properties/inject-1.properties
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Modified: maven/sandbox/plugins/maven-par-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-par-plugin/pom.xml?view=diff&rev=503477&r1=503476&r2=503477
==============================================================================
--- maven/sandbox/plugins/maven-par-plugin/pom.xml (original)
+++ maven/sandbox/plugins/maven-par-plugin/pom.xml Sun Feb 4 12:48:47 2007
@@ -1,23 +1,23 @@
-<model>
- <parent>
- <artifactId>maven-plugin-parent</artifactId>
- <groupId>org.apache.maven.plugins</groupId>
- <version>2.0</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>maven-par-plugin</artifactId>
- <packaging>maven-plugin</packaging>
- <name>Maven Par plugin</name>
- <version>2.1-SNAPSHOT</version>
- <dependencies>
- <dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-project</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-archiver</artifactId>
- <version>2.1-SNAPSHOT</version>
- </dependency>
- </dependencies>
-</model>
+<model>
+ <parent>
+ <artifactId>maven-plugin-parent</artifactId>
+ <groupId>org.apache.maven.plugins</groupId>
+ <version>2.0</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>maven-par-plugin</artifactId>
+ <packaging>maven-plugin</packaging>
+ <name>Maven Par plugin</name>
+ <version>2.1-SNAPSHOT</version>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-project</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-archiver</artifactId>
+ <version>2.1-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+</model>
Propchange: maven/sandbox/plugins/maven-par-plugin/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/sandbox/plugins/maven-par-plugin/pom.xml
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Modified: maven/sandbox/plugins/maven-par-plugin/src/main/java/org/apache/maven/plugin/par/ParMojo.java
URL: http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-par-plugin/src/main/java/org/apache/maven/plugin/par/ParMojo.java?view=diff&rev=503477&r1=503476&r2=503477
==============================================================================
--- maven/sandbox/plugins/maven-par-plugin/src/main/java/org/apache/maven/plugin/par/ParMojo.java (original)
+++ maven/sandbox/plugins/maven-par-plugin/src/main/java/org/apache/maven/plugin/par/ParMojo.java Sun Feb 4 12:48:47 2007
@@ -1,174 +1,174 @@
-package org.apache.maven.plugin.par;
-
-/*
- * Copyright 2001-2005 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import org.apache.maven.archiver.MavenArchiveConfiguration;
-import org.apache.maven.archiver.MavenArchiver;
-import org.apache.maven.plugin.AbstractMojo;
-import org.apache.maven.plugin.MojoExecutionException;
-import org.apache.maven.project.MavenProject;
-import org.codehaus.plexus.util.FileUtils;
-import org.codehaus.plexus.archiver.jar.JarArchiver;
-
-import java.io.File;
-import java.io.IOException;
-
-/**
- * Builds J2EE5 Persistence Archive (PAR) files.
- *
- * @author <a href="piotr@bzdyl.net">Piotr Bzdyl</a>
- * @version $Id$
- * @goal par
- * @phase package
- * @description build a par
- */
-public class ParMojo
- extends AbstractMojo
-{
-
- private static final String[] DEFAULT_EXCLUDES = new String[]{"**/package.html"};
-
- private static final String[] DEFAULT_INCLUDES = new String[]{"**/**"};
-
-
- /**
- * Directory containing the generated PAR.
- *
- * @parameter expression="${project.build.directory}"
- * @required
- * @readonly
- */
- private File basedir;
-
- /**
- * Name of the generated PAR.
- *
- * @parameter alias="parName" expression="${project.build.finalName}"
- * @required
- */
- private String finalName;
-
- /**
- * Directory containing the classes.
- *
- * @parameter expression="${project.build.outputDirectory}"
- * @required
- * @readonly
- */
- private File outputDirectory;
-
- /**
- * Single directory for extra files to include in the PAR.
- *
- * @parameter expression="${basedir}/src/main/par"
- * @required
- */
- private File parSourceDirectory;
-
- /**
- * The location of the persistence.xml file to be used within the par file.
- *
- * @parameter expression="${basedir}/src/main/par/META-INF/persistence.xml"
- */
- private File persistenceXmlLocation;
-
- /**
- * The maven project.
- *
- * @parameter expression="${project}"
- * @required
- * @readonly
- */
- private MavenProject project;
-
- /**
- * The maven archiver to use.
- *
- * @parameter
- */
- private MavenArchiveConfiguration archive = new MavenArchiveConfiguration();
-
- /**
- * The Jar archiver.
- *
- * @parameter expression="${component.org.codehaus.plexus.archiver.Archiver#jar}"
- * @required
- */
- private JarArchiver jarArchiver;
-
- /**
- * Generates the PAR.
- *
- * @todo Add license files in META-INF directory.
- */
- public void execute()
- throws MojoExecutionException
- {
- // Copy source files
- try
- {
- if ( parSourceDirectory != null
- && parSourceDirectory.exists() )
- {
- getLog().info( "Copy par resources to " + outputDirectory.getAbsolutePath() );
- FileUtils.copyDirectoryStructure( parSourceDirectory, outputDirectory );
- }
- }
- catch ( IOException e )
- {
- throw new MojoExecutionException( "Error copying PAR resources", e );
- }
-
- // Check if persistence deployment descriptor is there
- if ( persistenceXmlLocation == null
- || !persistenceXmlLocation.exists() )
- {
- getLog().warn(
- "Persistence deployment descriptor: " + persistenceXmlLocation + " does not exist." );
- }
-
-
-
- File parFile = new File( basedir, finalName + ".par" );
-
- MavenArchiver archiver = new MavenArchiver();
- archiver.setArchiver( jarArchiver );
-
- archiver.setOutputFile( parFile );
-
- try
- {
- if ( outputDirectory == null || !outputDirectory.exists() )
- {
- getLog().warn( "PAR will be empty - no content was marked for inclusion!" );
- }
- else
- {
- archiver.getArchiver().addDirectory( outputDirectory, DEFAULT_INCLUDES, DEFAULT_EXCLUDES );
- }
-
- archiver.createArchive( project, archive );
-
- project.getArtifact().setFile( parFile );
- }
- catch ( Exception e )
- {
- // TODO: improve error handling
- throw new MojoExecutionException( "Error assembling PAR", e );
- }
- }
-}
+package org.apache.maven.plugin.par;
+
+/*
+ * Copyright 2001-2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import org.apache.maven.archiver.MavenArchiveConfiguration;
+import org.apache.maven.archiver.MavenArchiver;
+import org.apache.maven.plugin.AbstractMojo;
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.project.MavenProject;
+import org.codehaus.plexus.util.FileUtils;
+import org.codehaus.plexus.archiver.jar.JarArchiver;
+
+import java.io.File;
+import java.io.IOException;
+
+/**
+ * Builds J2EE5 Persistence Archive (PAR) files.
+ *
+ * @author <a href="piotr@bzdyl.net">Piotr Bzdyl</a>
+ * @version $Id$
+ * @goal par
+ * @phase package
+ * @description build a par
+ */
+public class ParMojo
+ extends AbstractMojo
+{
+
+ private static final String[] DEFAULT_EXCLUDES = new String[]{"**/package.html"};
+
+ private static final String[] DEFAULT_INCLUDES = new String[]{"**/**"};
+
+
+ /**
+ * Directory containing the generated PAR.
+ *
+ * @parameter expression="${project.build.directory}"
+ * @required
+ * @readonly
+ */
+ private File basedir;
+
+ /**
+ * Name of the generated PAR.
+ *
+ * @parameter alias="parName" expression="${project.build.finalName}"
+ * @required
+ */
+ private String finalName;
+
+ /**
+ * Directory containing the classes.
+ *
+ * @parameter expression="${project.build.outputDirectory}"
+ * @required
+ * @readonly
+ */
+ private File outputDirectory;
+
+ /**
+ * Single directory for extra files to include in the PAR.
+ *
+ * @parameter expression="${basedir}/src/main/par"
+ * @required
+ */
+ private File parSourceDirectory;
+
+ /**
+ * The location of the persistence.xml file to be used within the par file.
+ *
+ * @parameter expression="${basedir}/src/main/par/META-INF/persistence.xml"
+ */
+ private File persistenceXmlLocation;
+
+ /**
+ * The maven project.
+ *
+ * @parameter expression="${project}"
+ * @required
+ * @readonly
+ */
+ private MavenProject project;
+
+ /**
+ * The maven archiver to use.
+ *
+ * @parameter
+ */
+ private MavenArchiveConfiguration archive = new MavenArchiveConfiguration();
+
+ /**
+ * The Jar archiver.
+ *
+ * @parameter expression="${component.org.codehaus.plexus.archiver.Archiver#jar}"
+ * @required
+ */
+ private JarArchiver jarArchiver;
+
+ /**
+ * Generates the PAR.
+ *
+ * @todo Add license files in META-INF directory.
+ */
+ public void execute()
+ throws MojoExecutionException
+ {
+ // Copy source files
+ try
+ {
+ if ( parSourceDirectory != null
+ && parSourceDirectory.exists() )
+ {
+ getLog().info( "Copy par resources to " + outputDirectory.getAbsolutePath() );
+ FileUtils.copyDirectoryStructure( parSourceDirectory, outputDirectory );
+ }
+ }
+ catch ( IOException e )
+ {
+ throw new MojoExecutionException( "Error copying PAR resources", e );
+ }
+
+ // Check if persistence deployment descriptor is there
+ if ( persistenceXmlLocation == null
+ || !persistenceXmlLocation.exists() )
+ {
+ getLog().warn(
+ "Persistence deployment descriptor: " + persistenceXmlLocation + " does not exist." );
+ }
+
+
+
+ File parFile = new File( basedir, finalName + ".par" );
+
+ MavenArchiver archiver = new MavenArchiver();
+ archiver.setArchiver( jarArchiver );
+
+ archiver.setOutputFile( parFile );
+
+ try
+ {
+ if ( outputDirectory == null || !outputDirectory.exists() )
+ {
+ getLog().warn( "PAR will be empty - no content was marked for inclusion!" );
+ }
+ else
+ {
+ archiver.getArchiver().addDirectory( outputDirectory, DEFAULT_INCLUDES, DEFAULT_EXCLUDES );
+ }
+
+ archiver.createArchive( project, archive );
+
+ project.getArtifact().setFile( parFile );
+ }
+ catch ( Exception e )
+ {
+ // TODO: improve error handling
+ throw new MojoExecutionException( "Error assembling PAR", e );
+ }
+ }
+}
Propchange: maven/sandbox/plugins/maven-par-plugin/src/main/java/org/apache/maven/plugin/par/ParMojo.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/sandbox/plugins/maven-par-plugin/src/main/java/org/apache/maven/plugin/par/ParMojo.java
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/maven-plug-it-plugin/src/site/fml/faq.fml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/sandbox/plugins/maven-plug-it-plugin/src/site/fml/faq.fml
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/maven-remote-resources-plugin/README.txt
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/maven-remote-resources-plugin/src/main/mdo/remote-resources.mdo
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/sandbox/plugins/maven-remote-resources-plugin/src/main/mdo/remote-resources.mdo
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/maven-swizzle-plugin/pom.xml
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/maven-swizzle-plugin/src/main/java/org/apache/maven/plugin/swizzle/ReportMojo.java
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/maven-swizzle-plugin/src/site/apt/examples/generating-custom-report.apt
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Modified: maven/sandbox/plugins/maven-swizzle-plugin/src/site/apt/examples/generating-release-report.apt
URL: http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-swizzle-plugin/src/site/apt/examples/generating-release-report.apt?view=diff&rev=503477&r1=503476&r2=503477
==============================================================================
--- maven/sandbox/plugins/maven-swizzle-plugin/src/site/apt/examples/generating-release-report.apt (original)
+++ maven/sandbox/plugins/maven-swizzle-plugin/src/site/apt/examples/generating-release-report.apt Sun Feb 4 12:48:47 2007
@@ -1,188 +1,188 @@
- ------
- Generating Resolved Issues Report
- ------
- John Tolentino
- ------
- 09 December 2006
-
-~~ Copyright 2006 The Apache Software Foundation.
-~~
-~~ Licensed under the Apache License, Version 2.0 (the "License");
-~~ you may not use this file except in compliance with the License.
-~~ You may obtain a copy of the License at
-~~
-~~ http://www.apache.org/licenses/LICENSE-2.0
-~~
-~~ Unless required by applicable law or agreed to in writing, software
-~~ distributed under the License is distributed on an "AS IS" BASIS,
-~~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-~~ See the License for the specific language governing permissions and
-~~ limitations under the License.
-
-~~ NOTE: For help with the syntax of this file, see:
-~~ http://maven.apache.org/guides/mini/guide-apt-format.html
-
-Generating Resolved Issues Report
-
- You can use the supplied velocity template of plexus-swizzle by specifying
- <<<RELEASE>>> as your template. Generated report will be in xdoc format. See
- {{{http://maven.apache.org/maven-1.x/plugins/xdoc/}Maven 1.x XDoc Plug-in}}
- for more details on xdoc.
-
-*POM configuration
-
- Here's a rundown of the POM fields where the plugin retrieves the values for the report.
-
-+-------+
-<project>
- [...]
- <artifactId>maven-swizzle-plugin</artifactId>
- <groupId>org.apache.maven.plugins</artifactId>
- <version>1.0-SNAPSHOT</version>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-swizzle-plugin</artifactId>
- <configuration>
- <projectKey>SWIZZLE</projectKey>
- <template>RELEASE</template>
- <result>target/test-classes/unit/release-report.xml</result>
- <scmRevisionId>107</scmRevisionId>
- <docckPassed>true</docckPassed>
- <docckResultDetails>target/test-classes/unit/docck-successful.txt</docckResultDetails>
- <licenseCheckPassed>false</licenseCheckPassed>
- <licenseCheckResultDetails>target/test-classes/unit/license-failed.txt</licenseCheckResultDetails>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <scm>
- <connection>scm:svn:http://svn.yoursvn.org/yourproject/trunk</connection>
- </scm>
- <distributionManagement>
- <downloadUrl>http://download-it-here.org/repo</downloadUrl>
- <site>
- <url>http://yoururl.org/~yourname/yourstagingsite</url>
- </site>
- </distributionManagement>
- [...]
-</project>
-+-------+
-
-*Maven WAR Plugin example
-
- Here's an example on how to generate a report on resolved issues for the maven-war-plugin that is scheduled for its
- 2.0.2 release:
-
-+-------+
-<project>
- [...]
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-swizzle-plugin</artifactId>
- <version>1.0-SNAPSHOT</version>
- <configuration>
- <projectKey>MWAR</projectKey>
- <template>RELEASE</template>
- <result>target/test-classes/unit/release-report.xml</result>
- <scmRevisionId>107</scmRevisionId>
- <docckPassed>true</docckPassed>
- <docckResultDetails>target/test-classes/unit/docck-successful.txt</docckResultDetails>
- <licenseCheckPassed>false</licenseCheckPassed>
- <licenseCheckResultDetails>target/test-classes/unit/license-failed.txt</licenseCheckResultDetails>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <scm>
- <connection>scm:svn:http://svn.yoursvn.org/yourproject/trunk</connection>
- </scm>
- <distributionManagement>
- <downloadUrl>http://download-it-here.org/repo</downloadUrl>
- <site>
- <url>http://yoururl.org/~yourname/yourstagingsite</url>
- </site>
- </distributionManagement>
- [...]
-</project>
-+-------+
-
-*Default Values example
-
- We're using default values already found in this project's POM or provided through default values in the parameters
- so the configuration will be shorter:
-
-+-------+
-<project>
- [...]
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-swizzle-plugin</artifactId>
- <version>1.0-SNAPSHOT</version>
- <configuration>
- <projectKey>MWAR</projectKey>
- <template>RELEASE</template>
- <result>target/test-classes/unit/release-report.xml</result>
- <scmRevisionId>107</scmRevisionId>
- <docckPassed>true</docckPassed>
- <licenseCheckPassed>false</licenseCheckPassed>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <scm>
- <connection>scm:svn:http://svn.yoursvn.org/yourproject/trunk</connection>
- </scm>
- <distributionManagement>
- <downloadUrl>http://download-it-here.org/repo</downloadUrl>
- <site>
- <url>http://yoururl.org/~yourname/yourstagingsite</url>
- </site>
- </distributionManagement>
- [...]
-</project>
-+-------+
-
-*Overriding Default Values example
-
- Here's an example of how to override all the default values of available parameters:
-
-+-------+
-<project>
- [...]
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-swizzle-plugin</artifactId>
- <version>1.0-SNAPSHOT</version>
- <configuration>
- <username>swizzletester</username>
- <password>swizzle</password>
- <jiraServerUrl>http://jira.codehaus.org</jiraServerUrl>
- <projectKey>SWIZZLE</projectKey>
- <projectVersion>Test 0.3.0</projectVersion>
- <template>RELEASE</template>
- <result>target/test-classes/unit/my-release-report.xml</result>
- <groupId>org.codehaus.plexus.swizzle</groupId>
- <scmConnection>scm:svn:http://svn.mysvn.org/myproject/trunk</scmConnection>
- <artifactId>swizzle</artifactId>
- <scmRevisionId>107</scmRevisionId>
- <downloadUrl>http://myurl.org/repo/myproject-1.0.jar</downloadUrl>
- <stagingSiteUrl>http://myurl.org/release-reports</stagingSiteUrl>
- <docckPassed>true</docckPassed>
- <docckResultDetails>mytestresults/docck-successful.txt</docckResultDetails>
- <licenseCheckPassed>false</licenseCheckPassed>
- <licenseCheckResultDetails>mytestresults/license-failed.txt</licenseCheckResultDetails>
- <dateFormat>MM/dd/yy hh:mm</dateFormat>
- </configuration>
- </plugin>
- </plugins>
- </build>
- [...]
-</project>
-+-------+
+ ------
+ Generating Resolved Issues Report
+ ------
+ John Tolentino
+ ------
+ 09 December 2006
+
+~~ Copyright 2006 The Apache Software Foundation.
+~~
+~~ Licensed under the Apache License, Version 2.0 (the "License");
+~~ you may not use this file except in compliance with the License.
+~~ You may obtain a copy of the License at
+~~
+~~ http://www.apache.org/licenses/LICENSE-2.0
+~~
+~~ Unless required by applicable law or agreed to in writing, software
+~~ distributed under the License is distributed on an "AS IS" BASIS,
+~~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+~~ See the License for the specific language governing permissions and
+~~ limitations under the License.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+
+Generating Resolved Issues Report
+
+ You can use the supplied velocity template of plexus-swizzle by specifying
+ <<<RELEASE>>> as your template. Generated report will be in xdoc format. See
+ {{{http://maven.apache.org/maven-1.x/plugins/xdoc/}Maven 1.x XDoc Plug-in}}
+ for more details on xdoc.
+
+*POM configuration
+
+ Here's a rundown of the POM fields where the plugin retrieves the values for the report.
+
++-------+
+<project>
+ [...]
+ <artifactId>maven-swizzle-plugin</artifactId>
+ <groupId>org.apache.maven.plugins</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-swizzle-plugin</artifactId>
+ <configuration>
+ <projectKey>SWIZZLE</projectKey>
+ <template>RELEASE</template>
+ <result>target/test-classes/unit/release-report.xml</result>
+ <scmRevisionId>107</scmRevisionId>
+ <docckPassed>true</docckPassed>
+ <docckResultDetails>target/test-classes/unit/docck-successful.txt</docckResultDetails>
+ <licenseCheckPassed>false</licenseCheckPassed>
+ <licenseCheckResultDetails>target/test-classes/unit/license-failed.txt</licenseCheckResultDetails>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <scm>
+ <connection>scm:svn:http://svn.yoursvn.org/yourproject/trunk</connection>
+ </scm>
+ <distributionManagement>
+ <downloadUrl>http://download-it-here.org/repo</downloadUrl>
+ <site>
+ <url>http://yoururl.org/~yourname/yourstagingsite</url>
+ </site>
+ </distributionManagement>
+ [...]
+</project>
++-------+
+
+*Maven WAR Plugin example
+
+ Here's an example on how to generate a report on resolved issues for the maven-war-plugin that is scheduled for its
+ 2.0.2 release:
+
++-------+
+<project>
+ [...]
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-swizzle-plugin</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <configuration>
+ <projectKey>MWAR</projectKey>
+ <template>RELEASE</template>
+ <result>target/test-classes/unit/release-report.xml</result>
+ <scmRevisionId>107</scmRevisionId>
+ <docckPassed>true</docckPassed>
+ <docckResultDetails>target/test-classes/unit/docck-successful.txt</docckResultDetails>
+ <licenseCheckPassed>false</licenseCheckPassed>
+ <licenseCheckResultDetails>target/test-classes/unit/license-failed.txt</licenseCheckResultDetails>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <scm>
+ <connection>scm:svn:http://svn.yoursvn.org/yourproject/trunk</connection>
+ </scm>
+ <distributionManagement>
+ <downloadUrl>http://download-it-here.org/repo</downloadUrl>
+ <site>
+ <url>http://yoururl.org/~yourname/yourstagingsite</url>
+ </site>
+ </distributionManagement>
+ [...]
+</project>
++-------+
+
+*Default Values example
+
+ We're using default values already found in this project's POM or provided through default values in the parameters
+ so the configuration will be shorter:
+
++-------+
+<project>
+ [...]
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-swizzle-plugin</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <configuration>
+ <projectKey>MWAR</projectKey>
+ <template>RELEASE</template>
+ <result>target/test-classes/unit/release-report.xml</result>
+ <scmRevisionId>107</scmRevisionId>
+ <docckPassed>true</docckPassed>
+ <licenseCheckPassed>false</licenseCheckPassed>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <scm>
+ <connection>scm:svn:http://svn.yoursvn.org/yourproject/trunk</connection>
+ </scm>
+ <distributionManagement>
+ <downloadUrl>http://download-it-here.org/repo</downloadUrl>
+ <site>
+ <url>http://yoururl.org/~yourname/yourstagingsite</url>
+ </site>
+ </distributionManagement>
+ [...]
+</project>
++-------+
+
+*Overriding Default Values example
+
+ Here's an example of how to override all the default values of available parameters:
+
++-------+
+<project>
+ [...]
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-swizzle-plugin</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <configuration>
+ <username>swizzletester</username>
+ <password>swizzle</password>
+ <jiraServerUrl>http://jira.codehaus.org</jiraServerUrl>
+ <projectKey>SWIZZLE</projectKey>
+ <projectVersion>Test 0.3.0</projectVersion>
+ <template>RELEASE</template>
+ <result>target/test-classes/unit/my-release-report.xml</result>
+ <groupId>org.codehaus.plexus.swizzle</groupId>
+ <scmConnection>scm:svn:http://svn.mysvn.org/myproject/trunk</scmConnection>
+ <artifactId>swizzle</artifactId>
+ <scmRevisionId>107</scmRevisionId>
+ <downloadUrl>http://myurl.org/repo/myproject-1.0.jar</downloadUrl>
+ <stagingSiteUrl>http://myurl.org/release-reports</stagingSiteUrl>
+ <docckPassed>true</docckPassed>
+ <docckResultDetails>mytestresults/docck-successful.txt</docckResultDetails>
+ <licenseCheckPassed>false</licenseCheckPassed>
+ <licenseCheckResultDetails>mytestresults/license-failed.txt</licenseCheckResultDetails>
+ <dateFormat>MM/dd/yy hh:mm</dateFormat>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ [...]
+</project>
++-------+
Propchange: maven/sandbox/plugins/maven-swizzle-plugin/src/site/apt/examples/generating-release-report.apt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/sandbox/plugins/maven-swizzle-plugin/src/site/apt/examples/generating-release-report.apt
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/maven-swizzle-plugin/src/site/apt/examples/generating-resolved-issues-report.apt
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/maven-swizzle-plugin/src/site/apt/examples/generating-votes-report.apt
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/maven-swizzle-plugin/src/site/apt/index.apt
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/maven-swizzle-plugin/src/site/apt/usage.apt
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/maven-swizzle-plugin/src/site/fml/faq.fml
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/maven-swizzle-plugin/src/site/site.xml
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/maven-swizzle-plugin/src/test/java/org/apache/maven/plugin/swizzle/ReportMojoTest.java
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/maven-swizzle-plugin/src/test/resources/unit/MyResolvedIssuesExpectedResult.txt
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/maven-swizzle-plugin/src/test/resources/unit/MyResolvedIssuesTemplate.vm
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/maven-swizzle-plugin/src/test/resources/unit/ReleaseExpectedResult.txt
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/maven-swizzle-plugin/src/test/resources/unit/ResolvedIssuesExpectedResult.txt
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/maven-swizzle-plugin/src/test/resources/unit/VotesExpectedResult.txt
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/maven-swizzle-plugin/src/test/resources/unit/blank-output-file-configuration-test.xml
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/maven-swizzle-plugin/src/test/resources/unit/blank-template-configuration-test.xml
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/maven-swizzle-plugin/src/test/resources/unit/custom-template-configuration-test.xml
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/maven-swizzle-plugin/src/test/resources/unit/docck-successful.txt
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/maven-swizzle-plugin/src/test/resources/unit/license-failed.txt
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/maven-swizzle-plugin/src/test/resources/unit/release-configuration-test.xml
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/maven-swizzle-plugin/src/test/resources/unit/resolved-issues-configuration-test.xml
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/maven-swizzle-plugin/src/test/resources/unit/simple.xml
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/maven-swizzle-plugin/src/test/resources/unit/votes-configuration-test.xml
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Propchange: maven/sandbox/plugins/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native