directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r753616 - /directory/daemon/trunk/plugin/src/main/java/org/apache/directory/daemon/installers/ServiceInstallersMojo.java
Date Sat, 14 Mar 2009 09:00:43 GMT
Author: felixk
Date: Sat Mar 14 09:00:42 2009
New Revision: 753616

URL: http://svn.apache.org/viewvc?rev=753616&view=rev
Log:
There seem to be more like DIRSERVER-1329

"The parameter annotation identifies the variable as a mojo parameter. The default-value parameter
of the annotation defines the default value for the variable. This value can include expressions
which reference the project, such as "${project.version}" (more can be found in the "Parameter
Expressions" document). The expression parameter can be used to allow configuration of the
mojo parameter from the command line by referencing a system property that the user sets via
the -D option."

Modified:
    directory/daemon/trunk/plugin/src/main/java/org/apache/directory/daemon/installers/ServiceInstallersMojo.java

Modified: directory/daemon/trunk/plugin/src/main/java/org/apache/directory/daemon/installers/ServiceInstallersMojo.java
URL: http://svn.apache.org/viewvc/directory/daemon/trunk/plugin/src/main/java/org/apache/directory/daemon/installers/ServiceInstallersMojo.java?rev=753616&r1=753615&r2=753616&view=diff
==============================================================================
--- directory/daemon/trunk/plugin/src/main/java/org/apache/directory/daemon/installers/ServiceInstallersMojo.java
(original)
+++ directory/daemon/trunk/plugin/src/main/java/org/apache/directory/daemon/installers/ServiceInstallersMojo.java
Sat Mar 14 09:00:42 2009
@@ -80,7 +80,7 @@
     /**
      * The target directory into which the mojo creates os and platform 
      * specific images.
-     * @parameter expression="target/images"
+     * @parameter default-value="${project.build.directory}/images"
      */
     private File outputDirectory;
 
@@ -88,12 +88,12 @@
      * The source directory where various configuration files for the installer 
      * are stored.
      * 
-     * @parameter expression="src/main/installers"
+     * @parameter default-value="${project.basedir}/src/main/installers"
      */
     private File sourceDirectory;
 
     /**
-     * @parameter expression="${project}"
+     * @parameter expression="${project}" default-value="${project}"
      * @required
      */
     private MavenProject project;
@@ -165,22 +165,22 @@
     private String svnBaseUrl;
 
     /**
-     * @parameter
+     * @parameter default-value="false"
      */
-    private boolean packageSources = false;
+    private boolean packageSources;
 
     /**
-     * @parameter
+     * @parameter default-value="false"
      */
-    private boolean packageDocs = false;
+    private boolean packageDocs;
 
     /**
-     * @parameter expression="src"
+     * @parameter default-value="src"
      */
     private String sourcesTargetPath;
 
     /**
-     * @parameter expression="docs"
+     * @parameter default-value="docs"
      */
     private String docsTargetPath;
 



Mime
View raw message