Author: brett
Date: Tue Jan 17 00:14:22 2012
New Revision: 1232235

URL: http://svn.apache.org/viewvc?rev=1232235&view=rev
Log:
try to disable IT when it won't succeed

Modified:
    incubator/npanday/trunk/plugins/aspnet-maven-plugin/pom.xml
    incubator/npanday/trunk/plugins/pom.xml

Modified: incubator/npanday/trunk/plugins/aspnet-maven-plugin/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/npanday/trunk/plugins/aspnet-maven-plugin/pom.xml?rev=1232235&r1=1232234&r2=1232235&view=diff
==============================================================================
--- incubator/npanday/trunk/plugins/aspnet-maven-plugin/pom.xml (original)
+++ incubator/npanday/trunk/plugins/aspnet-maven-plugin/pom.xml Tue Jan 17 
00:14:22 2012
@@ -18,7 +18,8 @@
   ~ 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";>
+<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";>
   <parent>
     <groupId>org.apache.npanday.plugins</groupId>
     <version>1.5.0-incubating-SNAPSHOT</version>
@@ -59,7 +60,6 @@
           <configuration>
             <excludes>
               <exclude>**/*.iml</exclude>
-
               <exclude>src/it/**</exclude>
             </excludes>
           </configuration>
@@ -67,4 +67,32 @@
       </plugins>
     </pluginManagement>
   </build>
+
+  <profiles>
+    <!-- TODO: remove when XDT doesn't rely on Visual Studio being installed 
-->
+    <profile>
+      <id>no-visual-studio</id>
+      <activation>
+        <file>
+          
<missing>${env.PROGRAMFILES}/MSBuild/Microsoft/VisualStudio/v10.0/Web/Microsoft.Web.Publishing.Tasks.dll</missing>
+        </file>
+      </activation>
+      <build>
+        <pluginManagement>
+          <plugins>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-invoker-plugin</artifactId>
+              <configuration>
+                <pomExcludes>
+                  <!-- This test requires Visual Studio 2010 be installed -->
+                  <pomExclude>IT004_ConfigurationHandling/pom.xml</pomExclude>
+                </pomExcludes>
+              </configuration>
+            </plugin>
+          </plugins>
+        </pluginManagement>
+      </build>
+    </profile>
+  </profiles>
 </project>

Modified: incubator/npanday/trunk/plugins/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/npanday/trunk/plugins/pom.xml?rev=1232235&r1=1232234&r2=1232235&view=diff
==============================================================================
--- incubator/npanday/trunk/plugins/pom.xml (original)
+++ incubator/npanday/trunk/plugins/pom.xml Tue Jan 17 00:14:22 2012
@@ -182,6 +182,7 @@
       <build>
         <plugins>
           <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-invoker-plugin</artifactId>
             <version>1.5</version>
             <configuration>


Reply via email to