maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r631003 - in /maven/sandbox/trunk/shared/maven-filtering/src: site/apt/index.apt test/java/org/apache/maven/shared/filtering/StubMavenSession.java
Date Mon, 25 Feb 2008 21:33:23 GMT
Author: olamy
Date: Mon Feb 25 13:33:21 2008
New Revision: 631003

URL: http://svn.apache.org/viewvc?rev=631003&view=rev
Log:
update documentation add missing file

Added:
    maven/sandbox/trunk/shared/maven-filtering/src/test/java/org/apache/maven/shared/filtering/StubMavenSession.java
  (with props)
Modified:
    maven/sandbox/trunk/shared/maven-filtering/src/site/apt/index.apt

Modified: maven/sandbox/trunk/shared/maven-filtering/src/site/apt/index.apt
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/shared/maven-filtering/src/site/apt/index.apt?rev=631003&r1=631002&r2=631003&view=diff
==============================================================================
--- maven/sandbox/trunk/shared/maven-filtering/src/site/apt/index.apt (original)
+++ maven/sandbox/trunk/shared/maven-filtering/src/site/apt/index.apt Mon Feb 25 13:33:21
2008
@@ -42,9 +42,9 @@
   This component has a method which returns the default FileUtils.FilterWrapper.
   This are :
   
-    * interpolation with token $\{ \} and values from filters, project.filters, project.build.filters,
pom.properties and SystemProps
+    * interpolation with token $\{ \} and values from filters, project.filters, project.build.filters,
pom.properties and mavenSession.executionProperties
     
-    * interpolation with token @ @ and values from filters, project.filters, project.build.filters,
pom.properties and SystemProps
+    * interpolation with token @ @ and values from filters, project.filters, project.build.filters,
pom.properties and mavenSession.executionProperties
     
     * interpolation with token $\{ \} and values from mavenProject interpolation
     
@@ -67,4 +67,4 @@
     <<NOTE>> : As it's a Properties object, last defined key/value pair wins
. 
     
     <<NOTE>> : When building the global Properties object and reading the properties
files defined the different filters, 
-    interpolation with the token $\{ \} is supported for this filters with a limited properties
values coming from pom.properties and System Properties (last wins too)
+    interpolation with the token $\{ \} is supported for this filters with a limited properties
values coming from pom.properties and mavenSession.executionProperties (last wins too)

Added: maven/sandbox/trunk/shared/maven-filtering/src/test/java/org/apache/maven/shared/filtering/StubMavenSession.java
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/shared/maven-filtering/src/test/java/org/apache/maven/shared/filtering/StubMavenSession.java?rev=631003&view=auto
==============================================================================
--- maven/sandbox/trunk/shared/maven-filtering/src/test/java/org/apache/maven/shared/filtering/StubMavenSession.java
(added)
+++ maven/sandbox/trunk/shared/maven-filtering/src/test/java/org/apache/maven/shared/filtering/StubMavenSession.java
Mon Feb 25 13:33:21 2008
@@ -0,0 +1,43 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.
+ */
+package org.apache.maven.shared.filtering;
+
+import java.util.Properties;
+
+import org.apache.maven.execution.MavenSession;
+
+/**
+ * @author <a href="mailto:olamy@apache.org">olamy</a>
+ * @since 24 févr. 2008
+ * @version $Id$
+ */
+public class StubMavenSession
+    extends MavenSession
+{
+    public StubMavenSession()
+    {
+        super( null, null, null, null, null, null, null, null, null );
+    }
+
+    public Properties getExecutionProperties()
+    {
+        return System.getProperties();
+    }
+    
+}

Propchange: maven/sandbox/trunk/shared/maven-filtering/src/test/java/org/apache/maven/shared/filtering/StubMavenSession.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/sandbox/trunk/shared/maven-filtering/src/test/java/org/apache/maven/shared/filtering/StubMavenSession.java
------------------------------------------------------------------------------
    svn:executable = *

Propchange: maven/sandbox/trunk/shared/maven-filtering/src/test/java/org/apache/maven/shared/filtering/StubMavenSession.java
------------------------------------------------------------------------------
--- svn:keywords (added)
+++ svn:keywords Mon Feb 25 13:33:21 2008
@@ -0,0 +1 @@
+URL HeadURL Author LastChangedBy Date LastChangedDate Rev Revision LastChangedRevision Id



Mime
View raw message