Skip to content
Snippets Groups Projects
Commit bf3c6403 authored by Vincent Massol's avatar Vincent Massol
Browse files

Minor javadoc addition

git-svn-id: https://svn.xwiki.org/svnroot/xwiki/xwiki-platform/xwiki-tools/trunk@4950 f329d543-caf0-0310-9063-dda96c69346f
parent 37f60537
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,6 @@
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
import org.apache.maven.project.MavenProject;
import org.codehaus.plexus.archiver.ArchiverException;
import org.codehaus.plexus.archiver.ArchiveFileFilter;
import org.codehaus.plexus.archiver.manager.NoSuchArchiverException;
import org.codehaus.plexus.archiver.manager.ArchiverManager;
......@@ -48,6 +47,9 @@
* Gather all resources in a XAR file (which is actually a ZIP file). Also generates a XAR
* descriptor if none is provided.
*
* <p>Note that the generated descriptor currently doesn't handle
* translations.</p>
*
* @version $Id: $
* @goal xar
* @phase package
......@@ -90,7 +92,12 @@ public void execute() throws MojoExecutionException, MojoFailureException
}
}
private void performArchive() throws ArchiverException, IOException, MojoExecutionException
/**
* Create the XAR by zipping the resource files.
*
* @throws Exception if the zipping failed for some reason
*/
private void performArchive() throws Exception
{
File xarFile = new File(this.project.getBuild().getDirectory(),
this.project.getArtifactId() + ".xar");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment