You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2013/01/30 23:44:26 UTC
svn commit: r1440722 - in
/maven/plugins/trunk/maven-help-plugin/src/it/effective-pom_properties: ./
invoker.properties pom.xml verify.groovy
Author: rfscholte
Date: Wed Jan 30 22:44:26 2013
New Revision: 1440722
URL: http://svn.apache.org/viewvc?rev=1440722&view=rev
Log:
[MPH-90] help:effective-pom does not show full effective-pom
Added:
maven/plugins/trunk/maven-help-plugin/src/it/effective-pom_properties/
maven/plugins/trunk/maven-help-plugin/src/it/effective-pom_properties/invoker.properties
maven/plugins/trunk/maven-help-plugin/src/it/effective-pom_properties/pom.xml
maven/plugins/trunk/maven-help-plugin/src/it/effective-pom_properties/verify.groovy
Added: maven/plugins/trunk/maven-help-plugin/src/it/effective-pom_properties/invoker.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-help-plugin/src/it/effective-pom_properties/invoker.properties?rev=1440722&view=auto
==============================================================================
--- maven/plugins/trunk/maven-help-plugin/src/it/effective-pom_properties/invoker.properties (added)
+++ maven/plugins/trunk/maven-help-plugin/src/it/effective-pom_properties/invoker.properties Wed Jan 30 22:44:26 2013
@@ -0,0 +1 @@
+invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:effective-pom
Added: maven/plugins/trunk/maven-help-plugin/src/it/effective-pom_properties/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-help-plugin/src/it/effective-pom_properties/pom.xml?rev=1440722&view=auto
==============================================================================
--- maven/plugins/trunk/maven-help-plugin/src/it/effective-pom_properties/pom.xml (added)
+++ maven/plugins/trunk/maven-help-plugin/src/it/effective-pom_properties/pom.xml Wed Jan 30 22:44:26 2013
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+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.
+-->
+
+<project>
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>org.apache.maven.its.help</groupId>
+ <artifactId>mph-90</artifactId>
+ <version>1.0-SNAPSHOT</version>
+
+ <properties>
+ <maven.compiler.source>1.6</maven.compiler.source>
+ <maven.compiler.target>1.6</maven.compiler.target>
+ </properties>
+</project>
Added: maven/plugins/trunk/maven-help-plugin/src/it/effective-pom_properties/verify.groovy
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-help-plugin/src/it/effective-pom_properties/verify.groovy?rev=1440722&view=auto
==============================================================================
--- maven/plugins/trunk/maven-help-plugin/src/it/effective-pom_properties/verify.groovy (added)
+++ maven/plugins/trunk/maven-help-plugin/src/it/effective-pom_properties/verify.groovy Wed Jan 30 22:44:26 2013
@@ -0,0 +1,26 @@
+/*
+ * 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.
+ */
+def buildLog = new File(basedir, 'build.log');
+assert buildLog.exists()
+
+def LS = System.getProperty("line.separator")
+assert buildLog.text.contains('<properties>' + LS +
+' <maven.compiler.source>1.6</maven.compiler.source>' + LS +
+' <maven.compiler.target>1.6</maven.compiler.target>' + LS +
+' </properties>')