maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rfscho...@apache.org
Subject svn commit: r1417200 - in /maven/release/trunk/maven-release-plugin/src/it: projects/prepare/MRELEASE-667/ projects/prepare/MRELEASE-667/pom.xml projects/prepare/MRELEASE-667/verify.groovy settings.xml
Date Tue, 04 Dec 2012 21:38:27 GMT
Author: rfscholte
Date: Tue Dec  4 21:38:26 2012
New Revision: 1417200

URL: http://svn.apache.org/viewvc?rev=1417200&view=rev
Log:
IT for MRELEASE-667

Added:
    maven/release/trunk/maven-release-plugin/src/it/projects/prepare/MRELEASE-667/
    maven/release/trunk/maven-release-plugin/src/it/projects/prepare/MRELEASE-667/pom.xml
    maven/release/trunk/maven-release-plugin/src/it/projects/prepare/MRELEASE-667/verify.groovy
Modified:
    maven/release/trunk/maven-release-plugin/src/it/settings.xml

Added: maven/release/trunk/maven-release-plugin/src/it/projects/prepare/MRELEASE-667/pom.xml
URL: http://svn.apache.org/viewvc/maven/release/trunk/maven-release-plugin/src/it/projects/prepare/MRELEASE-667/pom.xml?rev=1417200&view=auto
==============================================================================
--- maven/release/trunk/maven-release-plugin/src/it/projects/prepare/MRELEASE-667/pom.xml
(added)
+++ maven/release/trunk/maven-release-plugin/src/it/projects/prepare/MRELEASE-667/pom.xml
Tue Dec  4 21:38:26 2012
@@ -0,0 +1,52 @@
+<?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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <groupId>org.apache.maven.plugin.release.its</groupId>
+  <artifactId>mrelease-667</artifactId>
+  <version>1.0-SNAPSHOT</version>
+
+  <scm>
+    <connection>scm:dummy|nul</connection>
+    <developerConnection>scm:dummy|nul</developerConnection>
+  </scm>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-release-plugin</artifactId>
+        <version>@project.version@</version>
+        <dependencies>
+          <dependency>
+            <groupId>org.apache.maven.its.release</groupId>
+            <artifactId>maven-scm-provider-dummy</artifactId>
+            <version>1.0</version>
+          </dependency>
+        </dependencies>
+        <configuration>
+          <arguments>-Prelease,!mrelease-677 </arguments>
+          <preparationGoals>help:all-profiles</preparationGoals>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-help-plugin</artifactId>
+        <version>2.1.1</version>
+      </plugin>
+    </plugins>
+  </build>
+
+</project>
\ No newline at end of file

Added: maven/release/trunk/maven-release-plugin/src/it/projects/prepare/MRELEASE-667/verify.groovy
URL: http://svn.apache.org/viewvc/maven/release/trunk/maven-release-plugin/src/it/projects/prepare/MRELEASE-667/verify.groovy?rev=1417200&view=auto
==============================================================================
--- maven/release/trunk/maven-release-plugin/src/it/projects/prepare/MRELEASE-667/verify.groovy
(added)
+++ maven/release/trunk/maven-release-plugin/src/it/projects/prepare/MRELEASE-667/verify.groovy
Tue Dec  4 21:38:26 2012
@@ -0,0 +1,25 @@
+
+/*
+ * 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.
+ */
+
+File buildLog = new File( basedir, 'build.log' )
+assert buildLog.exists()
+
+assert 1 == buildLog.getText().count("[DEBUG] Profile with id: 'mrelease-677' has been explicitly
activated.")
+assert 1 == buildLog.getText().count("  Profile Id: mrelease-677 (Active: false , Source:
settings.xml)")

Modified: maven/release/trunk/maven-release-plugin/src/it/settings.xml
URL: http://svn.apache.org/viewvc/maven/release/trunk/maven-release-plugin/src/it/settings.xml?rev=1417200&r1=1417199&r2=1417200&view=diff
==============================================================================
--- maven/release/trunk/maven-release-plugin/src/it/settings.xml (original)
+++ maven/release/trunk/maven-release-plugin/src/it/settings.xml Tue Dec  4 21:38:26 2012
@@ -59,5 +59,12 @@
         </pluginRepository>
       </pluginRepositories>
     </profile>
+    <profile>
+      <id>mrelease-677</id>
+      <activation>
+        <activeByDefault>true</activeByDefault>
+      </activation>
+    </profile>
   </profiles>
+  
 </settings>



Mime
View raw message