Author: sisbell Date: Tue Feb 13 15:00:36 2007 New Revision: 507286 URL: http://svn.apache.org/viewvc?view=rev&rev=507286 Log: Fixed the artifacts type to coincide with the ones in NMaven.
Modified: incubator/nmaven/branches/SI_IDE/plugins/maven-vstudio-plugin/pom.xml incubator/nmaven/branches/SI_IDE/plugins/maven-vstudio-plugin/src/main/java/org/apache/maven/plugin/vstudio/VisualStudioMojo.java Modified: incubator/nmaven/branches/SI_IDE/plugins/maven-vstudio-plugin/pom.xml URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_IDE/plugins/maven-vstudio-plugin/pom.xml?view=diff&rev=507286&r1=507285&r2=507286 ============================================================================== --- incubator/nmaven/branches/SI_IDE/plugins/maven-vstudio-plugin/pom.xml (original) +++ incubator/nmaven/branches/SI_IDE/plugins/maven-vstudio-plugin/pom.xml Tue Feb 13 15:00:36 2007 @@ -1,17 +1,16 @@ -<?xml version="1.0" encoding="UTF-8"?><project> - +<?xml version="1.0" encoding="UTF-8"?> +<project> <parent> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-plugins</artifactId> - <version>1</version> + <groupId>org.apache.maven.dotnet.plugins</groupId> + <version>0.14-SNAPSHOT</version> + <artifactId>maven-dotnet-plugins</artifactId> </parent> - <modelVersion>4.0.0</modelVersion> - <groupId>org.apache.maven.plugins</groupId> + <groupId>org.apache.maven.dotnet.plugins</groupId> <artifactId>maven-vstudio-plugin</artifactId> <packaging>maven-plugin</packaging> <name>Maven Visual Studio Plugin</name> - <version>1.0-SNAPSHOT</version> + <version>0.14-SNAPSHOT</version> <url>http://maven.apache.org/</url> <dependencies> <dependency> Modified: incubator/nmaven/branches/SI_IDE/plugins/maven-vstudio-plugin/src/main/java/org/apache/maven/plugin/vstudio/VisualStudioMojo.java URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_IDE/plugins/maven-vstudio-plugin/src/main/java/org/apache/maven/plugin/vstudio/VisualStudioMojo.java?view=diff&rev=507286&r1=507285&r2=507286 ============================================================================== --- incubator/nmaven/branches/SI_IDE/plugins/maven-vstudio-plugin/src/main/java/org/apache/maven/plugin/vstudio/VisualStudioMojo.java (original) +++ incubator/nmaven/branches/SI_IDE/plugins/maven-vstudio-plugin/src/main/java/org/apache/maven/plugin/vstudio/VisualStudioMojo.java Tue Feb 13 15:00:36 2007 @@ -87,9 +87,8 @@ * guide on how to do this. * * @parameter - * @required */ - private String frameworkHome; + private String frameworkHome = "C:\\WINDOWS\\Microsoft.NET\\Framework\\v1.1.4322"; /** * This is all the stuff that can be set up about a vs project. It is a big object. @@ -311,21 +310,21 @@ throws MojoExecutionException { - String outputType = "Library"; + String outputType; - if ( type.equals( "dotnet-library" ) ) + if ( type.equals( "library" ) ) { outputType = "Library"; } - else if ( type.equals( "dotnet-exe" ) ) + else if ( type.equals( "exe" ) ) { outputType = "Exe"; } - else if ( type.equals( "dotnet-winexe" ) ) + else if ( type.equals( "exe" ) ) { outputType = "Exe"; } - else if ( type.equals( "dotnet-webapp" ) ) + else if ( type.equals( "webapp" ) ) { outputType = "Web"; }