This is an automated email from the ASF dual-hosted git repository. khmarbaise pushed a commit to branch CLEANUP in repository https://gitbox.apache.org/repos/asf/maven-ear-plugin.git
commit 82d645e93f58678b96018e473d3654966eb73521 Author: Karl Heinz Marbaise <khmarba...@apache.org> AuthorDate: Wed Mar 7 23:22:56 2018 +0100 o Fixed JavaDoc issues o Removed all SVN version entries. o Fixed site issues. --- .../maven/plugins/ear/AbstractEarModule.java | 1 - .../apache/maven/plugins/ear/AbstractEarMojo.java | 1 - .../maven/plugins/ear/AbstractXmlWriter.java | 1 - .../org/apache/maven/plugins/ear/AcrModule.java | 3 +- .../maven/plugins/ear/ApplicationXmlWriter.java | 1 - .../plugins/ear/ApplicationXmlWriterContext.java | 1 - .../maven/plugins/ear/EarExecutionContext.java | 3 +- .../org/apache/maven/plugins/ear/EarModule.java | 5 +- .../apache/maven/plugins/ear/EarModuleFactory.java | 1 - .../java/org/apache/maven/plugins/ear/EarMojo.java | 3 +- .../maven/plugins/ear/EarPluginException.java | 1 - .../apache/maven/plugins/ear/EjbClientModule.java | 1 - .../org/apache/maven/plugins/ear/EjbModule.java | 1 - .../org/apache/maven/plugins/ear/EnvEntry.java | 1 - .../plugins/ear/GenerateApplicationXmlMojo.java | 1 - .../org/apache/maven/plugins/ear/HarModule.java | 1 - .../org/apache/maven/plugins/ear/JarModule.java | 8 +- .../maven/plugins/ear/JbossAppXmlWriter.java | 1 - .../maven/plugins/ear/JbossConfiguration.java | 1 - .../apache/maven/plugins/ear/JbossEarModule.java | 1 - .../org/apache/maven/plugins/ear/ParModule.java | 4 +- .../org/apache/maven/plugins/ear/RarModule.java | 1 - .../org/apache/maven/plugins/ear/SecurityRole.java | 1 - .../plugins/ear/UnknownArtifactTypeException.java | 1 - .../org/apache/maven/plugins/ear/WebModule.java | 3 +- .../org/apache/maven/plugins/ear/WsrModule.java | 4 +- .../maven/plugins/ear/util/ArtifactRepository.java | 21 +++-- .../ear/util/ArtifactTypeMappingService.java | 1 - src/site/apt/index.apt.vm | 9 ++- src/site/xdoc/download.xml.vm | 14 ++-- .../apache/maven/plugins/ear/EarModuleTest.java | 1 - .../maven/plugins/ear/it/AbstractEarPluginIT.java | 13 +-- .../org/apache/maven/plugins/ear/it/EarMojoIT.java | 94 ++++++++++++++++++++-- .../maven/plugins/ear/stub/ArtifactTestStub.java | 1 - .../plugins/ear/util/ArtifactRepositoryTest.java | 1 - .../ear/util/ArtifactTypeMappingServiceTest.java | 1 - 36 files changed, 128 insertions(+), 79 deletions(-) diff --git a/src/main/java/org/apache/maven/plugins/ear/AbstractEarModule.java b/src/main/java/org/apache/maven/plugins/ear/AbstractEarModule.java index e4743d9..34cda4c 100644 --- a/src/main/java/org/apache/maven/plugins/ear/AbstractEarModule.java +++ b/src/main/java/org/apache/maven/plugins/ear/AbstractEarModule.java @@ -32,7 +32,6 @@ import org.codehaus.plexus.util.xml.XMLWriter; * A base implementation of an {@link EarModule}. * * @author <a href="snic...@apache.org">Stephane Nicoll</a> - * @version $Id: AbstractEarModule.java 1645331 2014-12-13 17:31:09Z khmarbaise $ */ public abstract class AbstractEarModule implements EarModule diff --git a/src/main/java/org/apache/maven/plugins/ear/AbstractEarMojo.java b/src/main/java/org/apache/maven/plugins/ear/AbstractEarMojo.java index 2d5d05b..bc258db 100644 --- a/src/main/java/org/apache/maven/plugins/ear/AbstractEarMojo.java +++ b/src/main/java/org/apache/maven/plugins/ear/AbstractEarMojo.java @@ -42,7 +42,6 @@ import org.codehaus.plexus.configuration.PlexusConfigurationException; * A base class for EAR-processing related tasks. * * @author <a href="snic...@apache.org">Stephane Nicoll</a> - * @version $Id: AbstractEarMojo.java 1742027 2016-05-02 19:11:21Z khmarbaise $ */ public abstract class AbstractEarMojo extends AbstractMojo diff --git a/src/main/java/org/apache/maven/plugins/ear/AbstractXmlWriter.java b/src/main/java/org/apache/maven/plugins/ear/AbstractXmlWriter.java index f360c6a..fe3603b 100644 --- a/src/main/java/org/apache/maven/plugins/ear/AbstractXmlWriter.java +++ b/src/main/java/org/apache/maven/plugins/ear/AbstractXmlWriter.java @@ -31,7 +31,6 @@ import java.io.Writer; * A base class for deployment descriptor file generators. * * @author <a href="snic...@apache.org">Stephane Nicoll</a> - * @version $Id: AbstractXmlWriter.java 1636449 2014-11-03 21:27:36Z khmarbaise $ */ abstract class AbstractXmlWriter { diff --git a/src/main/java/org/apache/maven/plugins/ear/AcrModule.java b/src/main/java/org/apache/maven/plugins/ear/AcrModule.java index 3f4b14f..3342126 100644 --- a/src/main/java/org/apache/maven/plugins/ear/AcrModule.java +++ b/src/main/java/org/apache/maven/plugins/ear/AcrModule.java @@ -27,9 +27,8 @@ import java.util.Set; /** * The {@link EarModule} implementation for an Acr Module. - * <p/> * - * @author <a href="khmarba...@apache.org">Karl Heinz Marbaise</a> + * @author <a href="mailto:khmarba...@apache.org">Karl Heinz Marbaise</a> * @since 3.0.0 */ public class AcrModule diff --git a/src/main/java/org/apache/maven/plugins/ear/ApplicationXmlWriter.java b/src/main/java/org/apache/maven/plugins/ear/ApplicationXmlWriter.java index 65c7701..e5516e5 100644 --- a/src/main/java/org/apache/maven/plugins/ear/ApplicationXmlWriter.java +++ b/src/main/java/org/apache/maven/plugins/ear/ApplicationXmlWriter.java @@ -28,7 +28,6 @@ import org.codehaus.plexus.util.xml.XMLWriter; * An <tt>XmlWriter</tt> based implementation used to generate an <tt>application.xml</tt> file * * @author <a href="snic...@apache.org">Stephane Nicoll</a> - * @version $Id: ApplicationXmlWriter.java 1648055 2014-12-27 14:59:45Z khmarbaise $ */ final class ApplicationXmlWriter extends AbstractXmlWriter diff --git a/src/main/java/org/apache/maven/plugins/ear/ApplicationXmlWriterContext.java b/src/main/java/org/apache/maven/plugins/ear/ApplicationXmlWriterContext.java index 8156489..9730acc 100644 --- a/src/main/java/org/apache/maven/plugins/ear/ApplicationXmlWriterContext.java +++ b/src/main/java/org/apache/maven/plugins/ear/ApplicationXmlWriterContext.java @@ -26,7 +26,6 @@ import java.util.List; * A context for the {@link ApplicationXmlWriter}. * * @author <a href="snic...@apache.org">Stephane Nicoll</a> - * @version $Id: ApplicationXmlWriter.java 728546 2008-12-21 22:56:51Z bentmann $ */ class ApplicationXmlWriterContext { diff --git a/src/main/java/org/apache/maven/plugins/ear/EarExecutionContext.java b/src/main/java/org/apache/maven/plugins/ear/EarExecutionContext.java index b330f85..fab4838 100644 --- a/src/main/java/org/apache/maven/plugins/ear/EarExecutionContext.java +++ b/src/main/java/org/apache/maven/plugins/ear/EarExecutionContext.java @@ -27,7 +27,6 @@ import org.apache.maven.project.MavenProject; * Contains various runtime parameters used to customize the generated EAR file. * * @author <a href="snic...@apache.org">Stephane Nicoll</a> - * @version $Id: EarExecutionContext.java 1755538 2016-08-08 20:32:12Z rfscholte $ */ public class EarExecutionContext { @@ -73,7 +72,7 @@ public class EarExecutionContext } /** - * @return {@link #fileNameMapping} + * @return {@link #outputFileNameMapping} */ public String getOutputFileNameMapping() { diff --git a/src/main/java/org/apache/maven/plugins/ear/EarModule.java b/src/main/java/org/apache/maven/plugins/ear/EarModule.java index 9e38297..5b54a60 100644 --- a/src/main/java/org/apache/maven/plugins/ear/EarModule.java +++ b/src/main/java/org/apache/maven/plugins/ear/EarModule.java @@ -29,14 +29,13 @@ import java.util.Set; * The ear module interface. * * @author <a href="snic...@apache.org">Stephane Nicoll</a> - * @version $Id: EarModule.java 1645331 2014-12-13 17:31:09Z khmarbaise $ */ public interface EarModule { /** * Returns the {@link Artifact} representing this module. - * <p/> + * * Note that this might return <tt>null</tt> till the module has been resolved. * * @return the artifact @@ -67,7 +66,7 @@ public interface EarModule /** * Specify whether this module should be unpacked in the EAR archive or not. - * <p/> + * * Returns null if no configuration was specified so that defaulting may apply. * * @return true if this module should be bundled unpacked, false otherwise diff --git a/src/main/java/org/apache/maven/plugins/ear/EarModuleFactory.java b/src/main/java/org/apache/maven/plugins/ear/EarModuleFactory.java index 527a1fb..161e6bc 100644 --- a/src/main/java/org/apache/maven/plugins/ear/EarModuleFactory.java +++ b/src/main/java/org/apache/maven/plugins/ear/EarModuleFactory.java @@ -31,7 +31,6 @@ import org.apache.maven.plugins.ear.util.JavaEEVersion; * Builds an {@link EarModule} based on an <tt>Artifact</tt>. * * @author <a href="snic...@apache.org">Stephane Nicoll</a> - * @version $Id: EarModuleFactory.java 1755538 2016-08-08 20:32:12Z rfscholte $ */ public final class EarModuleFactory { diff --git a/src/main/java/org/apache/maven/plugins/ear/EarMojo.java b/src/main/java/org/apache/maven/plugins/ear/EarMojo.java index 1cc7b18..b671adf 100644 --- a/src/main/java/org/apache/maven/plugins/ear/EarMojo.java +++ b/src/main/java/org/apache/maven/plugins/ear/EarMojo.java @@ -64,7 +64,6 @@ import org.codehaus.plexus.util.StringUtils; * Builds J2EE Enterprise Archive (EAR) files. * * @author <a href="snic...@apache.org">Stephane Nicoll</a> - * @version $Id: EarMojo.java 1755539 2016-08-08 20:34:46Z rfscholte $ */ // CHECKSTYLE_OFF: LineLength @Mojo( name = "ear", defaultPhase = LifecyclePhase.PACKAGE, threadSafe = true, requiresDependencyResolution = ResolutionScope.TEST ) @@ -616,7 +615,7 @@ public class EarMojo /** * Returns the {@link JarArchiver} implementation used to package the EAR file. - * <p/> + * * By default the archiver is obtained from the Plexus container. * * @return the archiver diff --git a/src/main/java/org/apache/maven/plugins/ear/EarPluginException.java b/src/main/java/org/apache/maven/plugins/ear/EarPluginException.java index 54ba145..9243b9b 100644 --- a/src/main/java/org/apache/maven/plugins/ear/EarPluginException.java +++ b/src/main/java/org/apache/maven/plugins/ear/EarPluginException.java @@ -23,7 +23,6 @@ package org.apache.maven.plugins.ear; * The base exception of the EAR plugin. * * @author <a href="snic...@apache.org">Stephane Nicoll</a> - * @version $Id: EarPluginException.java 1645331 2014-12-13 17:31:09Z khmarbaise $ */ public class EarPluginException extends Exception diff --git a/src/main/java/org/apache/maven/plugins/ear/EjbClientModule.java b/src/main/java/org/apache/maven/plugins/ear/EjbClientModule.java index 5ae965d..186f893 100644 --- a/src/main/java/org/apache/maven/plugins/ear/EjbClientModule.java +++ b/src/main/java/org/apache/maven/plugins/ear/EjbClientModule.java @@ -25,7 +25,6 @@ import org.apache.maven.artifact.Artifact; * The {@link EarModule} implementation for an ejb client module. * * @author <a href="snic...@apache.org">Stephane Nicoll</a> - * @version $Id: EjbClientModule.java 1645331 2014-12-13 17:31:09Z khmarbaise $ */ public class EjbClientModule extends JarModule diff --git a/src/main/java/org/apache/maven/plugins/ear/EjbModule.java b/src/main/java/org/apache/maven/plugins/ear/EjbModule.java index 1c4ed25..d74b62d 100644 --- a/src/main/java/org/apache/maven/plugins/ear/EjbModule.java +++ b/src/main/java/org/apache/maven/plugins/ear/EjbModule.java @@ -26,7 +26,6 @@ import org.codehaus.plexus.util.xml.XMLWriter; * The {@link EarModule} implementation for an EJB module. * * @author <a href="snic...@apache.org">Stephane Nicoll</a> - * @version $Id: EjbModule.java 1645331 2014-12-13 17:31:09Z khmarbaise $ */ public class EjbModule extends AbstractEarModule diff --git a/src/main/java/org/apache/maven/plugins/ear/EnvEntry.java b/src/main/java/org/apache/maven/plugins/ear/EnvEntry.java index ce87323..34046c3 100644 --- a/src/main/java/org/apache/maven/plugins/ear/EnvEntry.java +++ b/src/main/java/org/apache/maven/plugins/ear/EnvEntry.java @@ -26,7 +26,6 @@ import org.codehaus.plexus.util.xml.XMLWriter; * The representation of a env-entry entry within an application.xml file. * * @author Jim Brownfield based on code by <a href="snic...@apache.org">Stephane Nicoll</a> - * @version $Id: EnvEntry.java 1648055 2014-12-27 14:59:45Z khmarbaise $ */ class EnvEntry { diff --git a/src/main/java/org/apache/maven/plugins/ear/GenerateApplicationXmlMojo.java b/src/main/java/org/apache/maven/plugins/ear/GenerateApplicationXmlMojo.java index 7a627fd..9d3565e 100644 --- a/src/main/java/org/apache/maven/plugins/ear/GenerateApplicationXmlMojo.java +++ b/src/main/java/org/apache/maven/plugins/ear/GenerateApplicationXmlMojo.java @@ -44,7 +44,6 @@ import org.codehaus.plexus.util.FileUtils; * Generates the EAR deployment descriptor file(s). * * @author <a href="snic...@apache.org">Stephane Nicoll</a> - * @version $Id: GenerateApplicationXmlMojo.java 1713543 2015-11-09 21:32:15Z khmarbaise $ */ // CHECKSTYLE_OFF: LineLength @Mojo( name = "generate-application-xml", defaultPhase = LifecyclePhase.GENERATE_RESOURCES, threadSafe = true, requiresDependencyResolution = ResolutionScope.TEST ) diff --git a/src/main/java/org/apache/maven/plugins/ear/HarModule.java b/src/main/java/org/apache/maven/plugins/ear/HarModule.java index 0f38df6..335b293 100644 --- a/src/main/java/org/apache/maven/plugins/ear/HarModule.java +++ b/src/main/java/org/apache/maven/plugins/ear/HarModule.java @@ -26,7 +26,6 @@ import org.codehaus.plexus.util.xml.XMLWriter; * The {@link EarModule} implementation for a JBoss Hibernate archive. * * @author <a href="snic...@apache.org">Stephane Nicoll</a> - * @version $Id: HarModule.java 1645331 2014-12-13 17:31:09Z khmarbaise $ */ public class HarModule extends AbstractEarModule diff --git a/src/main/java/org/apache/maven/plugins/ear/JarModule.java b/src/main/java/org/apache/maven/plugins/ear/JarModule.java index fd59898..baf30ff 100644 --- a/src/main/java/org/apache/maven/plugins/ear/JarModule.java +++ b/src/main/java/org/apache/maven/plugins/ear/JarModule.java @@ -27,15 +27,13 @@ import java.util.Set; /** * The {@link EarModule} implementation for a non J2EE module such as third party libraries. - * <p/> - * Such module is not incorporated in the generated <tt>application.xml<tt> + * + * <p>Such module is not incorporated in the generated <tt>application.xml</tt> * but some application servers support it. To include it in the generated * deployment descriptor anyway, set the <tt>includeInApplicationXml</tt> boolean flag. - * <p/> - * This class deprecates {@link org.apache.maven.plugins.ear.JavaModule}. + * </p> * * @author <a href="snic...@apache.org">Stephane Nicoll</a> - * @version $Id: JarModule.java 1648046 2014-12-27 11:07:02Z khmarbaise $ */ public class JarModule extends AbstractEarModule diff --git a/src/main/java/org/apache/maven/plugins/ear/JbossAppXmlWriter.java b/src/main/java/org/apache/maven/plugins/ear/JbossAppXmlWriter.java index 938231e..9825cf9 100644 --- a/src/main/java/org/apache/maven/plugins/ear/JbossAppXmlWriter.java +++ b/src/main/java/org/apache/maven/plugins/ear/JbossAppXmlWriter.java @@ -29,7 +29,6 @@ import org.codehaus.plexus.util.xml.XMLWriter; * An <tt>XmlWriter</tt> based implementation used to generate a <tt>jboss-app.xml</tt> file * * @author <a href="snic...@apache.org">Stephane Nicoll</a> - * @version $Id: JbossAppXmlWriter.java 1636449 2014-11-03 21:27:36Z khmarbaise $ */ final class JbossAppXmlWriter extends AbstractXmlWriter diff --git a/src/main/java/org/apache/maven/plugins/ear/JbossConfiguration.java b/src/main/java/org/apache/maven/plugins/ear/JbossConfiguration.java index 9e15a23..dd5dd11 100644 --- a/src/main/java/org/apache/maven/plugins/ear/JbossConfiguration.java +++ b/src/main/java/org/apache/maven/plugins/ear/JbossConfiguration.java @@ -25,7 +25,6 @@ import java.util.List; * The JBoss specific configuration, used to generate the jboss-app.xml deployment descriptor file * * @author <a href="snic...@apache.org">Stephane Nicoll</a> - * @version $Id: JbossConfiguration.java 1636449 2014-11-03 21:27:36Z khmarbaise $ */ class JbossConfiguration { diff --git a/src/main/java/org/apache/maven/plugins/ear/JbossEarModule.java b/src/main/java/org/apache/maven/plugins/ear/JbossEarModule.java index b8ea5b8..f0c4174 100644 --- a/src/main/java/org/apache/maven/plugins/ear/JbossEarModule.java +++ b/src/main/java/org/apache/maven/plugins/ear/JbossEarModule.java @@ -25,7 +25,6 @@ import org.codehaus.plexus.util.xml.XMLWriter; * Represents a JBoss specific ear module. * * @author <a href="snic...@apache.org">Stephane Nicoll</a> - * @version $Id: JbossEarModule.java 1542511 2013-11-16 13:33:56Z rfscholte $ */ public interface JbossEarModule { diff --git a/src/main/java/org/apache/maven/plugins/ear/ParModule.java b/src/main/java/org/apache/maven/plugins/ear/ParModule.java index be092a7..f88b479 100644 --- a/src/main/java/org/apache/maven/plugins/ear/ParModule.java +++ b/src/main/java/org/apache/maven/plugins/ear/ParModule.java @@ -24,9 +24,7 @@ import org.apache.maven.artifact.Artifact; /** * The {@link EarModule} implementation for a Par module. * - * @author Stephane Nicoll <snic...@apache.org> - * @author $Author: khmarbaise $ (last edit) - * @version $Revision: 1645331 $ + * @author <a href="snic...@apache.org">Stephane Nicoll</a> */ public class ParModule extends EjbModule diff --git a/src/main/java/org/apache/maven/plugins/ear/RarModule.java b/src/main/java/org/apache/maven/plugins/ear/RarModule.java index 8549cfb..e9af1cb 100644 --- a/src/main/java/org/apache/maven/plugins/ear/RarModule.java +++ b/src/main/java/org/apache/maven/plugins/ear/RarModule.java @@ -26,7 +26,6 @@ import org.codehaus.plexus.util.xml.XMLWriter; * The {@link EarModule} implementation for an J2EE connector module. * * @author <a href="snic...@apache.org">Stephane Nicoll</a> - * @version $Id: RarModule.java 1660473 2015-02-17 19:33:00Z khmarbaise $ */ public class RarModule extends AbstractEarModule diff --git a/src/main/java/org/apache/maven/plugins/ear/SecurityRole.java b/src/main/java/org/apache/maven/plugins/ear/SecurityRole.java index 6666a0a..90ee8f9 100644 --- a/src/main/java/org/apache/maven/plugins/ear/SecurityRole.java +++ b/src/main/java/org/apache/maven/plugins/ear/SecurityRole.java @@ -25,7 +25,6 @@ import org.codehaus.plexus.util.xml.XMLWriter; * The representation of a security-role entry within an application.xml file. * * @author <a href="snic...@apache.org">Stephane Nicoll</a> - * @version $Id: SecurityRole.java 1542508 2013-11-16 13:21:35Z rfscholte $ */ class SecurityRole { diff --git a/src/main/java/org/apache/maven/plugins/ear/UnknownArtifactTypeException.java b/src/main/java/org/apache/maven/plugins/ear/UnknownArtifactTypeException.java index dc200c0..ae4b507 100644 --- a/src/main/java/org/apache/maven/plugins/ear/UnknownArtifactTypeException.java +++ b/src/main/java/org/apache/maven/plugins/ear/UnknownArtifactTypeException.java @@ -23,7 +23,6 @@ package org.apache.maven.plugins.ear; * Thrown if an unknown artifact type is encountered. * * @author <a href="snic...@apache.org">Stephane Nicoll</a> - * @version $Id: UnknownArtifactTypeException.java 1645331 2014-12-13 17:31:09Z khmarbaise $ */ public class UnknownArtifactTypeException extends EarPluginException diff --git a/src/main/java/org/apache/maven/plugins/ear/WebModule.java b/src/main/java/org/apache/maven/plugins/ear/WebModule.java index b1fd84c..a719474 100644 --- a/src/main/java/org/apache/maven/plugins/ear/WebModule.java +++ b/src/main/java/org/apache/maven/plugins/ear/WebModule.java @@ -29,7 +29,6 @@ import java.util.Set; * The {@link EarModule} implementation for a Web application module. * * @author <a href="snic...@apache.org">Stephane Nicoll</a> - * @version $Id: WebModule.java 1645331 2014-12-13 17:31:09Z khmarbaise $ */ public class WebModule extends AbstractEarModule @@ -98,7 +97,7 @@ public class WebModule /** * Returns the context root to use for the web module. - * <p/> + * * Note that this might return <tt>null</tt> till the artifact has been resolved. * * @return the context root diff --git a/src/main/java/org/apache/maven/plugins/ear/WsrModule.java b/src/main/java/org/apache/maven/plugins/ear/WsrModule.java index 0c249dd..b1844a1 100644 --- a/src/main/java/org/apache/maven/plugins/ear/WsrModule.java +++ b/src/main/java/org/apache/maven/plugins/ear/WsrModule.java @@ -24,9 +24,7 @@ import org.apache.maven.artifact.Artifact; /** * The {@link EarModule} implementation for a JBoss wsr module. * - * @author Brad O'Hearne <br...@neurofire.com> - * @author $Author: khmarbaise $ (last edit) - * @version $Revision: 1645331 $ + * @author <a href="mailto:br...@neurofire.com">br...@neurofire.com</a> */ public class WsrModule extends RarModule diff --git a/src/main/java/org/apache/maven/plugins/ear/util/ArtifactRepository.java b/src/main/java/org/apache/maven/plugins/ear/util/ArtifactRepository.java index aa8e3aa..81faf7a 100644 --- a/src/main/java/org/apache/maven/plugins/ear/util/ArtifactRepository.java +++ b/src/main/java/org/apache/maven/plugins/ear/util/ArtifactRepository.java @@ -28,7 +28,6 @@ import org.apache.maven.artifact.Artifact; * An artifact repository used to resolve {@link org.apache.maven.plugins.ear.EarModule}. * * @author <a href="snic...@apache.org">Stephane Nicoll</a> - * @version $Id: ArtifactRepository.java 1645331 2014-12-13 17:31:09Z khmarbaise $ */ public class ArtifactRepository { @@ -55,13 +54,13 @@ public class ArtifactRepository /** * Returns the artifact with the specified parameters. - * <p/> + * <p> * If the artifact is classified and is the only one with the specified groupI, artifactId and type, it will be - * returned. - * <p/> + * returned.</p> + * <p> * If the artifact is classified and is not the only one with the specified groupI, artifactId and type, it returns - * null. - * <p/> + * null.</p> + * * If the artifact is not found, it returns null. * * @param groupId the group id @@ -101,13 +100,13 @@ public class ArtifactRepository /** * Returns the artifact with the specified parameters. - * <p/> + * <p> * If the artifact is classified and is the only one with the specified groupI, artifactId and type, it will be - * returned. - * <p/> + * returned.</p> + * <p> * If the artifact is classified and is not the only one with the specified groupI, artifactId and type, it returns - * null. - * <p/> + * null.</p> + * * If the artifact is not found, it returns null. * * @param groupId the group id diff --git a/src/main/java/org/apache/maven/plugins/ear/util/ArtifactTypeMappingService.java b/src/main/java/org/apache/maven/plugins/ear/util/ArtifactTypeMappingService.java index 7d3aeb7..e8631ae 100644 --- a/src/main/java/org/apache/maven/plugins/ear/util/ArtifactTypeMappingService.java +++ b/src/main/java/org/apache/maven/plugins/ear/util/ArtifactTypeMappingService.java @@ -34,7 +34,6 @@ import org.codehaus.plexus.configuration.PlexusConfigurationException; * Allows to map custom artifact type to standard type. * * @author <a href="snic...@apache.org">Stephane Nicoll</a> - * @version $Id: ArtifactTypeMappingService.java 1645331 2014-12-13 17:31:09Z khmarbaise $ */ public class ArtifactTypeMappingService { diff --git a/src/site/apt/index.apt.vm b/src/site/apt/index.apt.vm index 707ecb5..6caee14 100644 --- a/src/site/apt/index.apt.vm +++ b/src/site/apt/index.apt.vm @@ -29,7 +29,7 @@ ${project.name} This plugin generates Java EE Enterprise Archive (EAR) file. It can also generate - the deployment descriptor file (e.g. application.xml). + the deployment descriptor file (e.g. <<<application.xml>>>). The EAR plugin supports the following artifacts: @@ -63,8 +63,11 @@ ${project.name} For more information about the Java EE technology, please visit {{http://www.oracle.com/us/technologies/java/enterprise-edition/overview/index.html}}. - Note: Starting with version 3.0.0 the usage of <<<fileNameMapping>> has been removed. If you need - to use <<<fileNameMapping>> take a look at the new <<<outputFileNameMapping>>> which is more +* Version 3.0.0 + + Starting with version 3.0.0 the usage of <<fileNameMapping>> has been removed. If you need + to use a kind of file name mapping take a look at the new + {{{./ear-mojo.html#outputFileNameMapping}outputFileNameMapping}} which is more flexible. * Goals Overview diff --git a/src/site/xdoc/download.xml.vm b/src/site/xdoc/download.xml.vm index 09d4f42..18d24ab 100644 --- a/src/site/xdoc/download.xml.vm +++ b/src/site/xdoc/download.xml.vm @@ -33,11 +33,11 @@ under the License. hours to reach all mirrors.<p/> <p>In order to guard against corrupted downloads/installations, it is highly recommended to - <a href="http://www.apache.org/dev/release-signing#verifying-signature">verify the signature</a> - of the release bundles against the public <a href="http://www.apache.org/dist/maven/KEYS">KEYS</a> used by the Apache Maven + <a href="https://www.apache.org/dev/release-signing#verifying-signature">verify the signature</a> + of the release bundles against the public <a href="https://www.apache.org/dist/maven/KEYS">KEYS</a> used by the Apache Maven developers.</p> - <p>${project.name} is distributed under the <a href="http://www.apache.org/licenses/">Apache License, version 2.0</a>.</p> + <p>${project.name} is distributed under the <a href="https://www.apache.org/licenses/">Apache License, version 2.0</a>.</p> <p></p>We <b>strongly</b> encourage our users to configure a Maven repository mirror closer to their location, please read <a href="/guides/mini/guide-mirror-settings.html">How to Use Mirrors for Repositories</a>.</p> @@ -85,7 +85,7 @@ under the License. <p> You may also consult the - <a href="http://www.apache.org/mirrors/">complete list of + <a href="https://www.apache.org/mirrors/">complete list of mirrors.</a> </p> @@ -108,8 +108,8 @@ under the License. <tr> <td>${project.name} ${project.version} (Source zip)</td> <td><a href="[preferred]maven/plugins/${project.artifactId}-${project.version}-source-release.zip">maven/plugins/${project.artifactId}-${project.version}-source-release.zip</a></td> - <td><a href="http://www.apache.org/dist/maven/plugins/${project.artifactId}-${project.version}-source-release.zip.md5">maven/plugins/${project.artifactId}-${project.version}-source-release.zip.md5</a></td> - <td><a href="http://www.apache.org/dist/maven/plugins/${project.artifactId}-${project.version}-source-release.zip.asc">maven/plugins/${project.artifactId}-${project.version}-source-release.zip.asc</a></td> + <td><a href="https://www.apache.org/dist/maven/plugins/${project.artifactId}-${project.version}-source-release.zip.md5">maven/plugins/${project.artifactId}-${project.version}-source-release.zip.md5</a></td> + <td><a href="https://www.apache.org/dist/maven/plugins/${project.artifactId}-${project.version}-source-release.zip.asc">maven/plugins/${project.artifactId}-${project.version}-source-release.zip.asc</a></td> </tr> </tbody> </table> @@ -117,7 +117,7 @@ under the License. <subsection name="Previous Versions"> - <p>Older non-recommended releases can be found on our <a href="http://archive.apache.org/dist/maven/plugins/">archive site</a>.</p> + <p>Older non-recommended releases can be found on our <a href="https://archive.apache.org/dist/maven/plugins/">archive site</a>.</p> </subsection> </section> diff --git a/src/test/java/org/apache/maven/plugins/ear/EarModuleTest.java b/src/test/java/org/apache/maven/plugins/ear/EarModuleTest.java index 7e0582d..d1abcdc 100644 --- a/src/test/java/org/apache/maven/plugins/ear/EarModuleTest.java +++ b/src/test/java/org/apache/maven/plugins/ear/EarModuleTest.java @@ -28,7 +28,6 @@ import org.junit.Test; * Ear module test case. * * @author <a href="snic...@apache.org">Stephane Nicoll</a> - * @version $Id: EarModuleTest.java 1648192 2014-12-28 12:39:04Z khmarbaise $ */ public class EarModuleTest { diff --git a/src/test/java/org/apache/maven/plugins/ear/it/AbstractEarPluginIT.java b/src/test/java/org/apache/maven/plugins/ear/it/AbstractEarPluginIT.java index d733c42..bda5a53 100644 --- a/src/test/java/org/apache/maven/plugins/ear/it/AbstractEarPluginIT.java +++ b/src/test/java/org/apache/maven/plugins/ear/it/AbstractEarPluginIT.java @@ -44,7 +44,6 @@ import org.xml.sax.helpers.DefaultHandler; * Base class for ear test cases. * * @author <a href="snic...@apache.org">Stephane Nicoll</a> - * @version $Id: AbstractEarPluginIT.java 1630593 2014-10-09 20:40:31Z khmarbaise $ */ public abstract class AbstractEarPluginIT extends TestCase @@ -71,6 +70,7 @@ public abstract class AbstractEarPluginIT * * @param projectName the name of the project * @param properties extra properties to be used by the embedder + * @param expectNoError true/flase. * @return the base directory of the project * @throws Exception if an error occurred */ @@ -134,7 +134,7 @@ public abstract class AbstractEarPluginIT * @param artifactsDirectory whether the artifact is an exploded artifactsDirectory or not * @param testDeploymentDescriptors whether we should test deployment descriptors * @return the base directory of the project - * @throws Exception + * @throws Exception Mojo exception in case of an error. */ protected File doTestProject( final String projectName, final String[] expectedArtifacts, final boolean[] artifactsDirectory, boolean testDeploymentDescriptors ) @@ -162,7 +162,7 @@ public abstract class AbstractEarPluginIT * @param expectedArtifacts the list of artifacts to be found in the EAR archive * @param artifactsDirectory whether the artifact is an exploded artifactsDirectory or not * @return the base directory of the project - * @throws Exception + * @throws Exception Mojo exception in case of an error. */ protected File doTestProject( final String projectName, final String[] expectedArtifacts, final boolean[] artifactsDirectory ) @@ -179,7 +179,7 @@ public abstract class AbstractEarPluginIT * @param expectedArtifacts the list of artifacts to be found in the EAR archive * @param testDeploymentDescriptors whether we should test deployment descriptors * @return the base directory of the project - * @throws Exception + * @throws Exception Mojo exception in case of an error. */ protected File doTestProject( final String projectName, final String[] expectedArtifacts, boolean testDeploymentDescriptors ) @@ -195,7 +195,7 @@ public abstract class AbstractEarPluginIT * @param projectName the project to test * @param expectedArtifacts the list of artifacts to be found in the EAR archive * @return the base directory of the project - * @throws Exception + * @throws Exception Mojo exception in case of an error. */ protected File doTestProject( final String projectName, final String[] expectedArtifacts ) throws Exception @@ -337,12 +337,13 @@ public abstract class AbstractEarPluginIT /** * Asserts that the deployment descriptors have been generated successfully. - * <p/> + * * This test assumes that deployment descriptors are located in the <tt>expected-META-INF</tt> directory of the * project. Note that the <tt>MANIFEST.mf</tt> file is ignored and is not tested. * * @param baseDir the directory of the tested project * @param projectName the name of the project + * @throws IOException exception in case of an error. */ protected void assertDeploymentDescriptors( final File baseDir, final String projectName ) throws IOException diff --git a/src/test/java/org/apache/maven/plugins/ear/it/EarMojoIT.java b/src/test/java/org/apache/maven/plugins/ear/it/EarMojoIT.java index c81d357..a9dcb44 100644 --- a/src/test/java/org/apache/maven/plugins/ear/it/EarMojoIT.java +++ b/src/test/java/org/apache/maven/plugins/ear/it/EarMojoIT.java @@ -31,8 +31,6 @@ import org.codehaus.plexus.util.ReaderFactory; /** * @author <a href="snic...@apache.org">Stephane Nicoll</a> - * @version $Id: EarMojoIT.java 1648055 2014-12-27 14:59:45Z khmarbaise $ - * @noinspection JavaDoc */ public class EarMojoIT extends AbstractEarPluginIT @@ -40,6 +38,7 @@ public class EarMojoIT /** * Builds an EAR with a single EJB and no configuration. + * @throws Exception in case of an error. */ public void testProject001() throws Exception @@ -49,6 +48,7 @@ public class EarMojoIT /** * Builds an EAR with a customized artifact location and a customized artifact name. + * @throws Exception in case of an error. */ public void testProject002() throws Exception @@ -59,6 +59,7 @@ public class EarMojoIT /** * Builds an EAR with a default bundle directory for <tt>java</tt> modules. + * @throws Exception in case of an error. */ public void testProject003() throws Exception @@ -69,6 +70,7 @@ public class EarMojoIT /** * Builds an EAR with a default bundle directory for _java_ modules and a custom location overriding the default. + * @throws Exception in case of an error. */ public void testProject004() throws Exception @@ -79,6 +81,7 @@ public class EarMojoIT /** * Builds an EAR with a custom URI. + * @throws Exception in case of an error. */ public void testProject005() throws Exception @@ -88,6 +91,7 @@ public class EarMojoIT /** * Builds an EAR with an excluded module. + * @throws Exception in case of an error. */ public void testProject006() throws Exception @@ -98,6 +102,7 @@ public class EarMojoIT /** * Builds an EAR with a classified artifact and no extra configuration. + * @throws Exception in case of an error. */ public void testProject007() throws Exception @@ -107,6 +112,7 @@ public class EarMojoIT /** * Builds an EAR with deployment descriptor configuration for J2EE 1.3. + * @throws Exception in case of an error. */ public void testProject008() throws Exception @@ -116,6 +122,7 @@ public class EarMojoIT /** * Builds an EAR with deployment descriptor configuration for J2EE 1.4. + * @throws Exception in case of an error. */ public void testProject009() throws Exception @@ -125,6 +132,7 @@ public class EarMojoIT /** * Builds an EAR with deployment descriptor configuration for Java EE 5. + * @throws Exception in case of an error. */ public void testProject010() throws Exception @@ -134,6 +142,7 @@ public class EarMojoIT /** * Builds an EAR and make sure that deployment descriptor default settings are applied. + * @throws Exception in case of an error. */ public void testProject011() throws Exception @@ -143,6 +152,7 @@ public class EarMojoIT /** * Builds an EAR and make sure that EAR resources are bundled within the EAR. + * @throws Exception in case of an error. */ public void testProject012() throws Exception @@ -152,6 +162,7 @@ public class EarMojoIT /** * Builds an EAR and make sure that EAR resources in a customized resources directory are bundled within the EAR. + * @throws Exception in case of an error. */ public void testProject013() throws Exception @@ -161,6 +172,7 @@ public class EarMojoIT /** * Builds an EAR and make sure that EAR resources are bundled within the EAR using includes and excludes. + * @throws Exception in case of an error. */ public void testProject014() throws Exception @@ -170,6 +182,7 @@ public class EarMojoIT /** * Builds an EAR and make sure that default manifest is taken into account. + * @throws Exception in case of an error. */ public void testProject015() throws Exception @@ -183,6 +196,7 @@ public class EarMojoIT /** * Builds an EAR and make sure that custom manifest is taken into account. + * @throws Exception in case of an error. */ public void testProject016() throws Exception @@ -205,6 +219,7 @@ public class EarMojoIT /** * Builds an EAR and make sure that custom application.xml is taken into account. + * @throws Exception in case of an error. */ public void testProject017() throws Exception @@ -214,6 +229,7 @@ public class EarMojoIT /** * Builds an EAR with a custom final name. + * @throws Exception in case of an error. */ public void testProject018() throws Exception @@ -225,6 +241,7 @@ public class EarMojoIT /** * Builds an EAR with unpacked archives using the unpackTypes. + * @throws Exception in case of an error. */ public void testProject019() throws Exception @@ -235,6 +252,7 @@ public class EarMojoIT /** * Builds an EAR with unpacked archives using the unpack module attribute. + * @throws Exception in case of an error. */ public void testProject020() throws Exception @@ -245,6 +263,7 @@ public class EarMojoIT /** * Builds an EAR with unpacked archives using both unpackTypes and the unpack module attribute. + * @throws Exception in case of an error. */ public void testProject021() throws Exception @@ -258,6 +277,7 @@ public class EarMojoIT /** * Builds an EAR with a classifier. + * @throws Exception in case of an error. */ public void testProject022() throws Exception @@ -269,6 +289,7 @@ public class EarMojoIT /** * Builds an EAR and make sure that a single classified dependency is detected without specifying the classifier. + * @throws Exception in case of an error. */ public void testProject023() throws Exception @@ -280,6 +301,7 @@ public class EarMojoIT /** * Builds an EAR and make sure that a single classified dependency is detected when specifying the classifier. + * @throws Exception in case of an error. */ public void testProject024() throws Exception @@ -292,6 +314,7 @@ public class EarMojoIT /** * Builds an EAR and make sure that a classified dependency with mutiple candidates is detected when specifying the * classifier. + * @throws Exception in case of an error. */ public void testProject025() throws Exception @@ -304,6 +327,7 @@ public class EarMojoIT /** * Builds an EAR and make sure that the build fails if a unclassifed module configuration with mutiple candidates is * specified. + * @throws Exception in case of an error. */ public void testProject026() throws Exception @@ -315,6 +339,7 @@ public class EarMojoIT /** * Builds an EAR and make sure that provided dependencies are not included in the EAR. + * @throws Exception in case of an error. */ public void testProject027() throws Exception @@ -324,6 +349,7 @@ public class EarMojoIT /** * Builds an EAR and make sure that test dependencies are not included in the EAR. + * @throws Exception in case of an error. */ public void testProject028() throws Exception @@ -333,6 +359,7 @@ public class EarMojoIT /** * Builds an EAR and make sure that system dependencies are not included in the EAR. + * @throws Exception in case of an error. */ public void testProject029() throws Exception @@ -343,6 +370,7 @@ public class EarMojoIT /** * Builds an EAR and make sure that ejb-client dependencies are detected and not added by default in the generated * application.xml. + * @throws Exception in case of an error. */ public void testProject030() throws Exception @@ -354,6 +382,7 @@ public class EarMojoIT /** * Builds an EAR with a Jboss 4 configuration specifying the security domain and the unauthenticated-principal to * use. + * @throws Exception in case of an error. */ public void testProject031() throws Exception @@ -364,6 +393,7 @@ public class EarMojoIT /** * Builds an EAR with a Jboss 3.2 configuration specifying the jmx-name to use. + * @throws Exception in case of an error. */ public void testProject032() throws Exception @@ -374,6 +404,7 @@ public class EarMojoIT /** * Builds an EAR with a Jboss 4 configuration and Jboss specific modules. + * @throws Exception in case of an error. */ public void testProject033() throws Exception @@ -384,6 +415,7 @@ public class EarMojoIT /** * Builds an EAR with custom security settings. + * @throws Exception in case of an error. */ public void testProject034() throws Exception @@ -394,6 +426,7 @@ public class EarMojoIT /** * Builds an EAR with a full filename mapping and make sure that custom locations are not overridden. + * @throws Exception in case of an error. */ public void testProject035() throws Exception @@ -407,6 +440,7 @@ public class EarMojoIT /** * Builds an EAR with a full filename mapping and make sure that groupIds with dots are replaced by dashes in * filenames. + * @throws Exception in case of an error. */ public void testProject036() throws Exception @@ -421,6 +455,7 @@ public class EarMojoIT /** * Builds an EAR and make sure that ejb-client dependencies are detected and added in the generated application.xml * if includeInApplicationXml is set. + * @throws Exception in case of an error. */ public void testProject037() throws Exception @@ -431,6 +466,7 @@ public class EarMojoIT /** * Builds an EAR and make sure that a non-classified dependency with mutiple candidates is detected when specifying * the mainArtifactId as classifier. + * @throws Exception in case of an error. */ public void testProject038() throws Exception @@ -441,6 +477,7 @@ public class EarMojoIT /** * Builds an EAR with a Jboss 4 configuration specifying specifying the loader repository to use. + * @throws Exception in case of an error. */ public void testProject039() throws Exception @@ -450,6 +487,7 @@ public class EarMojoIT /** * Builds an EAR with deployment descriptor configuration for Java EE 5 and an alternative deployment descriptor. + * @throws Exception in case of an error. */ public void testProject040() throws Exception @@ -459,6 +497,7 @@ public class EarMojoIT /** * Builds an EAR with a Jboss 4.2 configuration specifying the module order to use. + * @throws Exception in case of an error. */ public void testProject041() throws Exception @@ -468,6 +507,7 @@ public class EarMojoIT /** * Builds an EAR with a Jboss 4.2 configuration specifying a datasource to add. + * @throws Exception in case of an error. */ public void testProject042() throws Exception @@ -477,6 +517,7 @@ public class EarMojoIT /** * Builds an EAR with a custom descriptor location (generatedDescriptorLocation setting). + * @throws Exception in case of an error. */ public void testProject043() throws Exception @@ -489,6 +530,7 @@ public class EarMojoIT /** * Builds an EAR with a custom library-directory. + * @throws Exception in case of an error. */ public void testProject044() throws Exception @@ -498,6 +540,7 @@ public class EarMojoIT /** * Builds an EAR and filter the content of the sources directory. + * @throws Exception in case of an error. */ public void testProject045() throws Exception @@ -511,6 +554,7 @@ public class EarMojoIT /** * Builds an EAR and filter the content of the sources directory using a custom filter file. + * @throws Exception in case of an error. */ public void testProject046() throws Exception @@ -526,6 +570,7 @@ public class EarMojoIT /** * Builds an EAR and filter the content with a list of extensions. + * @throws Exception in case of an error. */ public void testProject047() throws Exception @@ -539,6 +584,7 @@ public class EarMojoIT /** * Builds an EAR with a Jboss 5 configuration containing library directory. + * @throws Exception in case of an error. */ public void testProject048() throws Exception @@ -548,6 +594,7 @@ public class EarMojoIT /** * Builds an EAR with a Jboss 4.2 configuration containing a library directory. + * @throws Exception in case of an error. */ public void testProject049() throws Exception @@ -557,6 +604,7 @@ public class EarMojoIT /** * Builds an EAR with a Jboss 5 configuration containing a loader repository configuration definition. + * @throws Exception in case of an error. */ public void testProject050() throws Exception @@ -566,6 +614,7 @@ public class EarMojoIT /** * Builds an EAR with a Jboss 5 configuration containing a loader repository class definition. + * @throws Exception in case of an error. */ public void testProject051() throws Exception @@ -575,6 +624,7 @@ public class EarMojoIT /** * Builds an EAR with a Jboss 5 configuration containing a configuration parser class definition. + * @throws Exception in case of an error. */ public void testProject052() throws Exception @@ -584,6 +634,7 @@ public class EarMojoIT /** * Builds an EAR with a Jboss 5 configuration containing only the loader repo configuration + * @throws Exception in case of an error. */ public void testProject053() throws Exception @@ -593,6 +644,7 @@ public class EarMojoIT /** * Builds an EAR with deployment descriptor configuration for Java EE 5 and no application.xml + * @throws Exception in case of an error. */ public void testProject054() throws Exception @@ -602,6 +654,7 @@ public class EarMojoIT /** * Builds an EAR with jar dependencies added in application.xml. + * @throws Exception in case of an error. */ public void testProject055() throws Exception @@ -612,6 +665,7 @@ public class EarMojoIT /** * Builds an EAR with deployment descriptor configuration for J2EE 1.4 and an alternative deployment descriptor. + * @throws Exception in case of an error. */ public void testProject056() throws Exception @@ -621,6 +675,7 @@ public class EarMojoIT /** * Builds an EAR with a complete JBoss 4.2 configuration and validate it matches the DTD (MEAR-104). + * @throws Exception in case of an error. */ public void testProject057() throws Exception @@ -630,6 +685,7 @@ public class EarMojoIT /** * Builds an EAR with deployment descriptor configuration for Java EE 6. + * @throws Exception in case of an error. */ public void testProject058() throws Exception @@ -639,6 +695,7 @@ public class EarMojoIT /** * Builds an EAR with no display name entry at all. + * @throws Exception in case of an error. */ public void testProject059() throws Exception @@ -649,7 +706,7 @@ public class EarMojoIT /** * Builds an EAR with ejb-client packaged for J2EE 1.3 (MEAR-85) * - * @throws Exception + * @throws Exception in case of an error. */ public void testProject060() throws Exception @@ -660,7 +717,7 @@ public class EarMojoIT /** * Builds an EAR with ejb-client packaged for J2EE 1.4 (MEAR-85) * - * @throws Exception + * @throws Exception in case of an error. */ public void testProject061() throws Exception @@ -671,7 +728,7 @@ public class EarMojoIT /** * Builds an EAR with ejb-client packaged for JavaEE 5 (MEAR-85) * - * @throws Exception + * @throws Exception in case of an error. */ public void testProject062() throws Exception @@ -682,7 +739,7 @@ public class EarMojoIT /** * Builds an EAR with ejb-client packaged for JavaEE 6 (MEAR-85) * - * @throws Exception + * @throws Exception in case of an error. */ public void testProject063() throws Exception @@ -693,7 +750,7 @@ public class EarMojoIT /** * Builds an EAR with ejb-client packaged for JavaEE 5 and still put it in the root (MEAR-85) * - * @throws Exception + * @throws Exception in case of an error. */ public void testProject064() throws Exception @@ -703,6 +760,7 @@ public class EarMojoIT /** * Builds an EAR with a custom moduleId. + * @throws Exception in case of an error. */ public void testProject065() throws Exception @@ -712,6 +770,7 @@ public class EarMojoIT /** * Builds an EAR with generateModuleId enabled. + * @throws Exception in case of an error. */ public void testProject066() throws Exception @@ -721,6 +780,7 @@ public class EarMojoIT /** * Builds an EAR with generateModuleId enabled and a custom module. + * @throws Exception in case of an error. */ public void testProject067() throws Exception @@ -730,6 +790,7 @@ public class EarMojoIT /** * Builds an EAR with the no-version file name mapping. + * @throws Exception in case of an error. */ public void testProject068() throws Exception @@ -739,6 +800,7 @@ public class EarMojoIT /** * Builds an EAR with a custom library-directory and JavaEE 6. + * @throws Exception in case of an error. */ public void testProject069() throws Exception @@ -748,6 +810,7 @@ public class EarMojoIT /** * Builds an EAR with application-name and initialize-in-order tags. + * @throws Exception in case of an error. */ public void testProject070() throws Exception @@ -757,6 +820,7 @@ public class EarMojoIT /** * Builds an EAR with application-name and initialize-in-order tags for unsupported version. + * @throws Exception in case of an error. */ public void testProject071() throws Exception @@ -766,6 +830,7 @@ public class EarMojoIT /** * Builds an EAR with an application client module (app-client). + * @throws Exception in case of an error. */ public void testProject072() throws Exception @@ -775,6 +840,7 @@ public class EarMojoIT /** * Builds an EAR with an application client module (app-client) and a default bundle directory for _java_ modules. + * @throws Exception in case of an error. */ public void testProject073() throws Exception @@ -786,6 +852,7 @@ public class EarMojoIT /** * Builds an EAR with custom env entries settings and J2EE 1.3. Not supported by the specification so this should be * ignored. + * @throws Exception in case of an error. */ public void testProject074() throws Exception @@ -796,6 +863,7 @@ public class EarMojoIT /** * Builds an EAR with custom env entries settings and J2EE 1.4. Not supported by the specification so this should be * ignored. + * @throws Exception in case of an error. */ public void testProject075() throws Exception @@ -806,6 +874,7 @@ public class EarMojoIT /** * Builds an EAR with custom env entries settings and JavaEE 5. Not supported by the specification so this should be * ignored. + * @throws Exception in case of an error. */ public void testProject076() throws Exception @@ -815,6 +884,7 @@ public class EarMojoIT /** * Builds an EAR with custom env entries settings and JavaEE 6. + * @throws Exception in case of an error. */ public void testProject077() throws Exception @@ -824,6 +894,7 @@ public class EarMojoIT /** * Builds an EAR with the no version for ejb file name mapping. + * @throws Exception in case of an error. */ public void testProject078() throws Exception @@ -834,6 +905,7 @@ public class EarMojoIT /** * Builds an EAR with the 'default' library directory mode. Uses the value of the defaultLibBundleDir. + * @throws Exception in case of an error. */ public void testProject079() throws Exception @@ -843,6 +915,7 @@ public class EarMojoIT /** * Builds an EAR with the 'empty' library directory mode. Generate an empty library-directory element. + * @throws Exception in case of an error. */ public void testProject080() throws Exception @@ -852,6 +925,7 @@ public class EarMojoIT /** * Builds an EAR with the 'none' library directory mode. Does not generate an library-directory element. + * @throws Exception in case of an error. */ public void testProject081() throws Exception @@ -861,6 +935,7 @@ public class EarMojoIT /** * Builds an EAR with deployment descriptor configuration for JavaEE 7. + * @throws Exception in case of an error. */ public void testProject082() throws Exception @@ -871,6 +946,7 @@ public class EarMojoIT /** * Builds an EAR with a library directory and custom env entries. The library-directory element must come first * (MEAR-158). + * @throws Exception in case of an error. */ public void testProject083() throws Exception @@ -880,6 +956,7 @@ public class EarMojoIT /** * Support of an application id (MEAR-174). + * @throws Exception in case of an error. */ public void testProject084() throws Exception @@ -889,6 +966,7 @@ public class EarMojoIT /** * Builds an EAR with custom ejbRef entries settings and JavaEE 6. + * @throws Exception in case of an error. */ public void testProject085() throws Exception @@ -898,6 +976,7 @@ public class EarMojoIT /** * Builds an EAR with custom ejbRef entries plus lookup-name entry. + * @throws Exception in case of an error. */ public void testProject086() throws Exception @@ -907,6 +986,7 @@ public class EarMojoIT /** * Builds an EAR with resource-ref entries. + * @throws Exception in case of an error. */ public void testProject087() throws Exception diff --git a/src/test/java/org/apache/maven/plugins/ear/stub/ArtifactTestStub.java b/src/test/java/org/apache/maven/plugins/ear/stub/ArtifactTestStub.java index 9517b67..c695ac0 100644 --- a/src/test/java/org/apache/maven/plugins/ear/stub/ArtifactTestStub.java +++ b/src/test/java/org/apache/maven/plugins/ear/stub/ArtifactTestStub.java @@ -36,7 +36,6 @@ import java.util.List; * A fake {@link Artifact} test stub. * * @author <a href="snic...@apache.org">Stephane Nicoll</a> - * @version $Id: ArtifactTestStub.java 1755538 2016-08-08 20:32:12Z rfscholte $ */ public class ArtifactTestStub implements Artifact diff --git a/src/test/java/org/apache/maven/plugins/ear/util/ArtifactRepositoryTest.java b/src/test/java/org/apache/maven/plugins/ear/util/ArtifactRepositoryTest.java index ad8f295..9e47c5f 100644 --- a/src/test/java/org/apache/maven/plugins/ear/util/ArtifactRepositoryTest.java +++ b/src/test/java/org/apache/maven/plugins/ear/util/ArtifactRepositoryTest.java @@ -31,7 +31,6 @@ import org.junit.Test; /** * @author <a href="snic...@apache.org">Stephane Nicoll</a> - * @version $Id: ArtifactRepositoryTest.java 1648192 2014-12-28 12:39:04Z khmarbaise $ */ public class ArtifactRepositoryTest extends AbstractEarTestBase diff --git a/src/test/java/org/apache/maven/plugins/ear/util/ArtifactTypeMappingServiceTest.java b/src/test/java/org/apache/maven/plugins/ear/util/ArtifactTypeMappingServiceTest.java index ee8a885..bae714c 100644 --- a/src/test/java/org/apache/maven/plugins/ear/util/ArtifactTypeMappingServiceTest.java +++ b/src/test/java/org/apache/maven/plugins/ear/util/ArtifactTypeMappingServiceTest.java @@ -32,7 +32,6 @@ import org.codehaus.plexus.configuration.xml.XmlPlexusConfiguration; * Tests for the {@link ArtifactTypeMappingService} * * @author <a href="snic...@apache.org">Stephane Nicoll</a> - * @version $Id: ArtifactTypeMappingServiceTest.java 1542508 2013-11-16 13:21:35Z rfscholte $ */ public class ArtifactTypeMappingServiceTest extends TestCase -- To stop receiving notification emails like this one, please contact khmarba...@apache.org.