Author: sisbell Date: Fri Jan 25 14:03:07 2008 New Revision: 615370 URL: http://svn.apache.org/viewvc?rev=615370&view=rev Log: Windows Application archetype.
Added: incubator/nmaven/trunk/archetypes/maven-archetype-class-library/ incubator/nmaven/trunk/archetypes/maven-archetype-class-library/pom.xml (with props) incubator/nmaven/trunk/archetypes/maven-archetype-class-library/src/ incubator/nmaven/trunk/archetypes/maven-archetype-class-library/src/main/ incubator/nmaven/trunk/archetypes/maven-archetype-class-library/src/main/resources/ incubator/nmaven/trunk/archetypes/maven-archetype-class-library/src/main/resources/META-INF/ incubator/nmaven/trunk/archetypes/maven-archetype-class-library/src/main/resources/META-INF/maven/ incubator/nmaven/trunk/archetypes/maven-archetype-class-library/src/main/resources/META-INF/maven/archetype.xml (with props) incubator/nmaven/trunk/archetypes/maven-archetype-class-library/src/main/resources/archetype-resources/ incubator/nmaven/trunk/archetypes/maven-archetype-class-library/src/main/resources/archetype-resources/Class1.cs incubator/nmaven/trunk/archetypes/maven-archetype-class-library/src/main/resources/archetype-resources/pom.xml (with props) incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/ incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/pom.xml (with props) incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/src/ incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/src/main/ incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/src/main/resources/ incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/src/main/resources/META-INF/ incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/src/main/resources/META-INF/maven/ incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/src/main/resources/META-INF/maven/archetype.xml (with props) incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/src/main/resources/archetype-resources/ incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/src/main/resources/archetype-resources/Form1.Designer.cs incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/src/main/resources/archetype-resources/Form1.cs incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/src/main/resources/archetype-resources/Program.cs incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/src/main/resources/archetype-resources/pom.xml (with props) Removed: incubator/nmaven/trunk/archetypes/maven-archetype-dotnet-simple/ Modified: incubator/nmaven/trunk/archetypes/pom.xml Added: incubator/nmaven/trunk/archetypes/maven-archetype-class-library/pom.xml URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/archetypes/maven-archetype-class-library/pom.xml?rev=615370&view=auto ============================================================================== --- incubator/nmaven/trunk/archetypes/maven-archetype-class-library/pom.xml (added) +++ incubator/nmaven/trunk/archetypes/maven-archetype-class-library/pom.xml Fri Jan 25 14:03:07 2008 @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<project 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.maven.dotnet</groupId> + <version>0.15-incubating-SNAPSHOT</version> + <artifactId>dotnet-archetypes</artifactId> + </parent> + <modelVersion>4.0.0</modelVersion> + <groupId>org.apache.maven.dotnet</groupId> + <artifactId>maven-archetype-class-library</artifactId> + <name>maven-archetype-dotnet-class-library</name> +</project> Propchange: incubator/nmaven/trunk/archetypes/maven-archetype-class-library/pom.xml ------------------------------------------------------------------------------ svn:eol-style = native Added: incubator/nmaven/trunk/archetypes/maven-archetype-class-library/src/main/resources/META-INF/maven/archetype.xml URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/archetypes/maven-archetype-class-library/src/main/resources/META-INF/maven/archetype.xml?rev=615370&view=auto ============================================================================== --- incubator/nmaven/trunk/archetypes/maven-archetype-class-library/src/main/resources/META-INF/maven/archetype.xml (added) +++ incubator/nmaven/trunk/archetypes/maven-archetype-class-library/src/main/resources/META-INF/maven/archetype.xml Fri Jan 25 14:03:07 2008 @@ -0,0 +1,6 @@ +<archetype> + <id>maven-archetype-dotnet-simple</id> + <resources> + <resource>Class1.cs</resource> + </resources> +</archetype> Propchange: incubator/nmaven/trunk/archetypes/maven-archetype-class-library/src/main/resources/META-INF/maven/archetype.xml ------------------------------------------------------------------------------ svn:eol-style = native Added: incubator/nmaven/trunk/archetypes/maven-archetype-class-library/src/main/resources/archetype-resources/Class1.cs URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/archetypes/maven-archetype-class-library/src/main/resources/archetype-resources/Class1.cs?rev=615370&view=auto ============================================================================== --- incubator/nmaven/trunk/archetypes/maven-archetype-class-library/src/main/resources/archetype-resources/Class1.cs (added) +++ incubator/nmaven/trunk/archetypes/maven-archetype-class-library/src/main/resources/archetype-resources/Class1.cs Fri Jan 25 14:03:07 2008 @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace ClassLibrary1 +{ + public class Class1 + { + } +} \ No newline at end of file Added: incubator/nmaven/trunk/archetypes/maven-archetype-class-library/src/main/resources/archetype-resources/pom.xml URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/archetypes/maven-archetype-class-library/src/main/resources/archetype-resources/pom.xml?rev=615370&view=auto ============================================================================== --- incubator/nmaven/trunk/archetypes/maven-archetype-class-library/src/main/resources/archetype-resources/pom.xml (added) +++ incubator/nmaven/trunk/archetypes/maven-archetype-class-library/src/main/resources/archetype-resources/pom.xml Fri Jan 25 14:03:07 2008 @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<project 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>${groupId}</groupId> + <artifactId>${artifactId}</artifactId> + <version>${version}</version> + <name>Sample Application</name> + <packaging>dotnet:library</packaging> + <build> + <sourceDirectory>.</sourceDirectory> + <plugins> + <plugin> + <groupId>org.apache.maven.dotnet.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <extensions>true</extensions> + </plugin> + </plugins> + </build> +</project> Propchange: incubator/nmaven/trunk/archetypes/maven-archetype-class-library/src/main/resources/archetype-resources/pom.xml ------------------------------------------------------------------------------ svn:eol-style = native Added: incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/pom.xml URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/pom.xml?rev=615370&view=auto ============================================================================== --- incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/pom.xml (added) +++ incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/pom.xml Fri Jan 25 14:03:07 2008 @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<project 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.maven.dotnet</groupId> + <version>0.15-incubating-SNAPSHOT</version> + <artifactId>dotnet-archetypes</artifactId> + </parent> + <modelVersion>4.0.0</modelVersion> + <groupId>org.apache.maven.dotnet</groupId> + <artifactId>maven-archetype-windows-application</artifactId> + <name>maven-archetype-dotnet-windows-application</name> +</project> Propchange: incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/pom.xml ------------------------------------------------------------------------------ svn:eol-style = native Added: incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/src/main/resources/META-INF/maven/archetype.xml URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/src/main/resources/META-INF/maven/archetype.xml?rev=615370&view=auto ============================================================================== --- incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/src/main/resources/META-INF/maven/archetype.xml (added) +++ incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/src/main/resources/META-INF/maven/archetype.xml Fri Jan 25 14:03:07 2008 @@ -0,0 +1,8 @@ +<archetype> + <id>maven-archetype-dotnet-simple</id> + <resources> + <resource>Form1.cs</resource> + <resource>Form1.Designer.cs</resource> + <resource>Program.cs</resource> + </resources> +</archetype> Propchange: incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/src/main/resources/META-INF/maven/archetype.xml ------------------------------------------------------------------------------ svn:eol-style = native Added: incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/src/main/resources/archetype-resources/Form1.Designer.cs URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/src/main/resources/archetype-resources/Form1.Designer.cs?rev=615370&view=auto ============================================================================== --- incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/src/main/resources/archetype-resources/Form1.Designer.cs (added) +++ incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/src/main/resources/archetype-resources/Form1.Designer.cs Fri Jan 25 14:03:07 2008 @@ -0,0 +1,39 @@ +namespace WindowsApplication1 +{ + partial class Form1 + { + /// <summary> + /// Required designer variable. + /// </summary> + private System.ComponentModel.IContainer components = null; + + /// <summary> + /// Clean up any resources being used. + /// </summary> + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// <summary> + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// </summary> + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Text = "Form1"; + } + + #endregion + } +} + Added: incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/src/main/resources/archetype-resources/Form1.cs URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/src/main/resources/archetype-resources/Form1.cs?rev=615370&view=auto ============================================================================== --- incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/src/main/resources/archetype-resources/Form1.cs (added) +++ incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/src/main/resources/archetype-resources/Form1.cs Fri Jan 25 14:03:07 2008 @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Text; +using System.Windows.Forms; + +namespace WindowsApplication1 +{ + public partial class Form1 : Form + { + public Form1() + { + InitializeComponent(); + } + } +} \ No newline at end of file Added: incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/src/main/resources/archetype-resources/Program.cs URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/src/main/resources/archetype-resources/Program.cs?rev=615370&view=auto ============================================================================== --- incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/src/main/resources/archetype-resources/Program.cs (added) +++ incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/src/main/resources/archetype-resources/Program.cs Fri Jan 25 14:03:07 2008 @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.Windows.Forms; + +namespace WindowsApplication1 +{ + static class Program + { + /// <summary> + /// The main entry point for the application. + /// </summary> + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new Form1()); + } + } +} \ No newline at end of file Added: incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/src/main/resources/archetype-resources/pom.xml URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/src/main/resources/archetype-resources/pom.xml?rev=615370&view=auto ============================================================================== --- incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/src/main/resources/archetype-resources/pom.xml (added) +++ incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/src/main/resources/archetype-resources/pom.xml Fri Jan 25 14:03:07 2008 @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<project 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>as</groupId> + <artifactId>as</artifactId> + <version>1.0</version> + <name>Windows Application</name> + <packaging>dotnet:winexe</packaging> + <build> + <sourceDirectory>.</sourceDirectory> + <plugins> + <plugin> + <groupId>org.apache.maven.dotnet.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <extensions>true</extensions> + </plugin> + </plugins> + </build> +</project> Propchange: incubator/nmaven/trunk/archetypes/maven-archetype-windows-application/src/main/resources/archetype-resources/pom.xml ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/nmaven/trunk/archetypes/pom.xml URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/archetypes/pom.xml?rev=615370&r1=615369&r2=615370&view=diff ============================================================================== --- incubator/nmaven/trunk/archetypes/pom.xml (original) +++ incubator/nmaven/trunk/archetypes/pom.xml Fri Jan 25 14:03:07 2008 @@ -22,7 +22,7 @@ <parent> <groupId>org.apache.maven.dotnet</groupId> <version>0.15-incubating-SNAPSHOT</version> - <artifactId>maven-dotnet-parent</artifactId> + <artifactId>maven-dotnet-parent</artifactId> </parent> <modelVersion>4.0.0</modelVersion> <groupId>org.apache.maven.dotnet</groupId> @@ -30,6 +30,7 @@ <packaging>pom</packaging> <name>dotnet</name> <modules> - <module>maven-archetype-dotnet-simple</module> + <module>maven-archetype-class-library</module> + <module>maven-archetype-windows-application</module> </modules> </project>