Author: chrisjs Date: Mon Apr 3 08:05:55 2006 New Revision: 391063 URL: http://svn.apache.org/viewcvs?rev=391063&view=rev Log: bumped version to 1.0-SNAPSHOT and changed parent to be maven archetype parent.
Added: maven/sandbox/archetype/maven-archetype-dotnetexe/ maven/sandbox/archetype/maven-archetype-dotnetexe/pom.xml maven/sandbox/archetype/maven-archetype-dotnetexe/src/ maven/sandbox/archetype/maven-archetype-dotnetexe/src/main/ maven/sandbox/archetype/maven-archetype-dotnetexe/src/main/csharp/ maven/sandbox/archetype/maven-archetype-dotnetexe/src/main/resources/ maven/sandbox/archetype/maven-archetype-dotnetexe/src/main/resources/META-INF/ maven/sandbox/archetype/maven-archetype-dotnetexe/src/main/resources/META-INF/archetype.xml maven/sandbox/archetype/maven-archetype-dotnetexe/src/main/resources/archetype-resources/ maven/sandbox/archetype/maven-archetype-dotnetexe/src/main/resources/archetype-resources/pom.xml maven/sandbox/archetype/maven-archetype-dotnetexe/src/main/resources/archetype-resources/src/ maven/sandbox/archetype/maven-archetype-dotnetexe/src/main/resources/archetype-resources/src/main/ maven/sandbox/archetype/maven-archetype-dotnetexe/src/main/resources/archetype-resources/src/main/csharp/ maven/sandbox/archetype/maven-archetype-dotnetexe/src/main/resources/archetype-resources/src/main/csharp/App.cs maven/sandbox/archetype/maven-archetype-dotnetexe/src/main/resources/archetype-resources/src/main/csharp/AssemblyInfo.cs maven/sandbox/archetype/maven-archetype-dotnetexe/src/main/resources/archetype-resources/src/test/ maven/sandbox/archetype/maven-archetype-dotnetexe/src/main/resources/archetype-resources/src/test/csharp/ maven/sandbox/archetype/maven-archetype-dotnetexe/src/main/resources/archetype-resources/src/test/csharp/AppTest.cs maven/sandbox/archetype/maven-archetype-dotnetlibrary/ maven/sandbox/archetype/maven-archetype-dotnetlibrary/pom.xml maven/sandbox/archetype/maven-archetype-dotnetlibrary/src/ maven/sandbox/archetype/maven-archetype-dotnetlibrary/src/main/ maven/sandbox/archetype/maven-archetype-dotnetlibrary/src/main/csharp/ maven/sandbox/archetype/maven-archetype-dotnetlibrary/src/main/resources/ maven/sandbox/archetype/maven-archetype-dotnetlibrary/src/main/resources/META-INF/ maven/sandbox/archetype/maven-archetype-dotnetlibrary/src/main/resources/META-INF/archetype.xml maven/sandbox/archetype/maven-archetype-dotnetlibrary/src/main/resources/archetype-resources/ maven/sandbox/archetype/maven-archetype-dotnetlibrary/src/main/resources/archetype-resources/pom.xml maven/sandbox/archetype/maven-archetype-dotnetlibrary/src/main/resources/archetype-resources/src/ maven/sandbox/archetype/maven-archetype-dotnetlibrary/src/main/resources/archetype-resources/src/main/ maven/sandbox/archetype/maven-archetype-dotnetlibrary/src/main/resources/archetype-resources/src/main/csharp/ maven/sandbox/archetype/maven-archetype-dotnetlibrary/src/main/resources/archetype-resources/src/main/csharp/App.cs maven/sandbox/archetype/maven-archetype-dotnetlibrary/src/main/resources/archetype-resources/src/main/csharp/AssemblyInfo.cs maven/sandbox/archetype/maven-archetype-dotnetlibrary/src/main/resources/archetype-resources/src/test/ maven/sandbox/archetype/maven-archetype-dotnetlibrary/src/main/resources/archetype-resources/src/test/csharp/ maven/sandbox/archetype/maven-archetype-dotnetlibrary/src/main/resources/archetype-resources/src/test/csharp/AppTest.cs Added: maven/sandbox/archetype/maven-archetype-dotnetexe/pom.xml URL: http://svn.apache.org/viewcvs/maven/sandbox/archetype/maven-archetype-dotnetexe/pom.xml?rev=391063&view=auto ============================================================================== --- maven/sandbox/archetype/maven-archetype-dotnetexe/pom.xml (added) +++ maven/sandbox/archetype/maven-archetype-dotnetexe/pom.xml Mon Apr 3 08:05:55 2006 @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?><project> + <parent> + <artifactId>maven-archetypes</artifactId> + <groupId>org.apache.maven.archetypes</groupId> + <version>1.0-alpha-4-SNAPSHOT</version> + </parent> + <modelVersion>4.0.0</modelVersion> + <groupId>org.apache.maven.archetypes</groupId> + <artifactId>maven-archetype-dotnetexe</artifactId> + <packaging>maven-plugin</packaging> + <name>Maven Dotnet Executable Archetype</name> + <version>1.0-SNAPSHOT</version> +</project> \ No newline at end of file Added: maven/sandbox/archetype/maven-archetype-dotnetexe/src/main/resources/META-INF/archetype.xml URL: http://svn.apache.org/viewcvs/maven/sandbox/archetype/maven-archetype-dotnetexe/src/main/resources/META-INF/archetype.xml?rev=391063&view=auto ============================================================================== --- maven/sandbox/archetype/maven-archetype-dotnetexe/src/main/resources/META-INF/archetype.xml (added) +++ maven/sandbox/archetype/maven-archetype-dotnetexe/src/main/resources/META-INF/archetype.xml Mon Apr 3 08:05:55 2006 @@ -0,0 +1,10 @@ +<archetype> + <id>maven-archetype-dotnetexe</id> + <sources> + <source>src/main/csharp/App.cs</source> + <source>src/main/csharp/AssemblyInfo.cs</source> + </sources> + <testSources> + <source>src/test/csharp/AppTest.cs</source> + </testSources> +</archetype> \ No newline at end of file Added: maven/sandbox/archetype/maven-archetype-dotnetexe/src/main/resources/archetype-resources/pom.xml URL: http://svn.apache.org/viewcvs/maven/sandbox/archetype/maven-archetype-dotnetexe/src/main/resources/archetype-resources/pom.xml?rev=391063&view=auto ============================================================================== --- maven/sandbox/archetype/maven-archetype-dotnetexe/src/main/resources/archetype-resources/pom.xml (added) +++ maven/sandbox/archetype/maven-archetype-dotnetexe/src/main/resources/archetype-resources/pom.xml Mon Apr 3 08:05:55 2006 @@ -0,0 +1,168 @@ +<project> + <modelVersion>4.0.0</modelVersion> + <groupId>${groupId}</groupId> + <artifactId>${artifactId}</artifactId> + <version>${version}</version> + <packaging>dotnet-exe</packaging> + <build> + + <!-- **************************************************************** + Required. Repoints the source and output dirs to the + **************************************************************** --> + + <outputDirectory>target/dotnet-assembly</outputDirectory> + <testOutputDirectory>target/test-dotnet-assembly</testOutputDirectory> + <sourceDirectory>src/main/csharp</sourceDirectory> + <testSourceDirectory>src/test/csharp</testSourceDirectory> + + + <!-- **************************************************************** + COMPILER PLUGIN + Required, this is the api around the compilers. + **************************************************************** --> + <plugins> + <plugin> + <artifactId>maven-compiler-plugin</artifactId> + <version>2.0</version> + <extensions>true</extensions> + <!-- these are general config options across the CSharp compiler --> + <configuration> + <compilerId>csharp</compilerId> + <fork>true</fork> + <!-- default executable = csc specify mcs to compile with mono --> + <!-- executable>csc</executable --> + <!-- compiler arguments see docco for full list --> + <compilerArguments> + <doc>true</doc> + <!-- example of ignoring warnings --> + <!-- nowarn>1591</nowarn --> + <!-- the includes elements below are required --> + </compilerArguments> + <includes> + <include>**/*.cs</include> + </includes> + </configuration> + + <!-- executions need to be specified for the dotnet plugin + (is slightly ugly, hopefully can get rid of in future --> + <executions> + <!-- this configuration is required to tell the compiler what is different about + the main compile as apposed to the test compile --> + <execution> + <id>compile</id> + <phase>compile</phase> + <goals> + <goal>compile</goal> + </goals> + <configuration> + <compilerArguments> + <target>exe</target> + <!-- mainClass>MyNamespace.MyStaticMainClass</mainClass --> + </compilerArguments> + </configuration> + </execution> + + <!-- this configuration is required to tell the compiler what is different about + the main compile as apposed to the test compile --> + <execution> + <id>testCompile</id> + <phase>test-compile</phase> + <goals> + <goal>testCompile</goal> + </goals> + <configuration> + <compilerArguments> + <!-- the library element is required for test compile --> + <target>library</target> + <!-- the out element is required for the test compile --> + <out>unit-tests.dll</out> + </compilerArguments> + </configuration> + </execution> + </executions> + + + <!-- **************************************************************** + CSHARP COMPILER DEPENDENCY + Required as this is the compiler maven uses to do the compile. + **************************************************************** --> + <dependencies> + <dependency> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-compiler-csharp</artifactId> + <version>1.6-SNAPSHOT</version> + </dependency> + </dependencies> + + </plugin> + + <!-- **************************************************************** + ASSEMBLY PLUGIN + Required as has a bunch of shared functionality across the dotnet + plugins. + **************************************************************** --> + + <!-- **************************************************************** + CSHARP PLUGIN + Required as defines custom build cycles + **************************************************************** --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-csharp-lifecycle-plugin</artifactId> + <version>1.0-SNAPSHOT</version> + <extensions>true</extensions> + </plugin> + + <!-- **************************************************************** + NUNIT PLUGIN + If your application requires a .config file uncomment the configuration element + below + **************************************************************** --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-nunit-plugin</artifactId> + <version>1.0-SNAPSHOT</version> + <!-- configuration> + <configFile>src/main/resources/App.config</configFile> + </configuration --> + </plugin> + + <!-- **************************************************************** + VISUAL STUDIO PLUGIN + if you wish to use the Visual Studio Plugin, uncomment the lines below + and add your own set of includes as necessary + **************************************************************** --> + <!-- plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-vstudio-plugin</artifactId> + <configuration> + <frameworkHome>${dotnet.home}</frameworkHome> + <includes> + <include>**/*.aspx</include> + <include>**/*.resx</include> + <include>**/*.cs</include> + </includes> + + <references> + <reference> + <path>System.dll</path> + <gac>true</gac> + </reference> + </references> + </configuration> + </plugin --> + + </plugins> + + </build> + + <dependencies> + <dependency> + <groupId>nunit</groupId> + <artifactId>nunit-console</artifactId> + <version>2.2</version> + <type>dotnet-exe</type> + <scope>test</scope> + </dependency> + </dependencies> +</project> \ No newline at end of file Added: maven/sandbox/archetype/maven-archetype-dotnetexe/src/main/resources/archetype-resources/src/main/csharp/App.cs URL: http://svn.apache.org/viewcvs/maven/sandbox/archetype/maven-archetype-dotnetexe/src/main/resources/archetype-resources/src/main/csharp/App.cs?rev=391063&view=auto ============================================================================== --- maven/sandbox/archetype/maven-archetype-dotnetexe/src/main/resources/archetype-resources/src/main/csharp/App.cs (added) +++ maven/sandbox/archetype/maven-archetype-dotnetexe/src/main/resources/archetype-resources/src/main/csharp/App.cs Mon Apr 3 08:05:55 2006 @@ -0,0 +1,19 @@ +using System; + +namespace $package +{ + /// <summary> + /// Sample Maven Dotnet App + /// </summary> + class App + { + /// <summary> + /// The main entry point for the application. + /// </summary> + [STAThread] + static void Main(string[] args) + { + Console.WriteLine("Hello Bill"); + } + } +} Added: maven/sandbox/archetype/maven-archetype-dotnetexe/src/main/resources/archetype-resources/src/main/csharp/AssemblyInfo.cs URL: http://svn.apache.org/viewcvs/maven/sandbox/archetype/maven-archetype-dotnetexe/src/main/resources/archetype-resources/src/main/csharp/AssemblyInfo.cs?rev=391063&view=auto ============================================================================== --- maven/sandbox/archetype/maven-archetype-dotnetexe/src/main/resources/archetype-resources/src/main/csharp/AssemblyInfo.cs (added) +++ maven/sandbox/archetype/maven-archetype-dotnetexe/src/main/resources/archetype-resources/src/main/csharp/AssemblyInfo.cs Mon Apr 3 08:05:55 2006 @@ -0,0 +1,58 @@ +using System.Reflection; +using System.Runtime.CompilerServices; + +// +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +// +[assembly: AssemblyTitle("")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("")] +[assembly: AssemblyCopyright("")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: + +[assembly: AssemblyVersion("1.0.*")] + +// +// In order to sign your assembly you must specify a key to use. Refer to the +// Microsoft .NET Framework documentation for more information on assembly signing. +// +// Use the attributes below to control which key is used for signing. +// +// Notes: +// (*) If no key is specified, the assembly is not signed. +// (*) KeyName refers to a key that has been installed in the Crypto Service +// Provider (CSP) on your machine. KeyFile refers to a file which contains +// a key. +// (*) If the KeyFile and the KeyName values are both specified, the +// following processing occurs: +// (1) If the KeyName can be found in the CSP, that key is used. +// (2) If the KeyName does not exist and the KeyFile does exist, the key +// in the KeyFile is installed into the CSP and used. +// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. +// When specifying the KeyFile, the location of the KeyFile should be +// relative to the project output directory which is +// %Project Directory%\obj\<configuration>. For example, if your KeyFile is +// located in the project directory, you would specify the AssemblyKeyFile +// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] +// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework +// documentation for more information on this. +// +[assembly: AssemblyDelaySign(false)] +[assembly: AssemblyKeyFile("")] +[assembly: AssemblyKeyName("")] Added: maven/sandbox/archetype/maven-archetype-dotnetexe/src/main/resources/archetype-resources/src/test/csharp/AppTest.cs URL: http://svn.apache.org/viewcvs/maven/sandbox/archetype/maven-archetype-dotnetexe/src/main/resources/archetype-resources/src/test/csharp/AppTest.cs?rev=391063&view=auto ============================================================================== --- maven/sandbox/archetype/maven-archetype-dotnetexe/src/main/resources/archetype-resources/src/test/csharp/AppTest.cs (added) +++ maven/sandbox/archetype/maven-archetype-dotnetexe/src/main/resources/archetype-resources/src/test/csharp/AppTest.cs Mon Apr 3 08:05:55 2006 @@ -0,0 +1,21 @@ +using System; + +using NUnit.Framework; + +namespace $package +{ + /// <summary> + /// A very simple example of a dotnet test. + /// </summary> + [TestFixture] public class AppTest + { + + [Test] public void test() + { + Assert.AreEqual(true, true); + Console.WriteLine("Who said Java and dotnet don\'t mix? :-)"); + } + + + } +} \ No newline at end of file Added: maven/sandbox/archetype/maven-archetype-dotnetlibrary/pom.xml URL: http://svn.apache.org/viewcvs/maven/sandbox/archetype/maven-archetype-dotnetlibrary/pom.xml?rev=391063&view=auto ============================================================================== --- maven/sandbox/archetype/maven-archetype-dotnetlibrary/pom.xml (added) +++ maven/sandbox/archetype/maven-archetype-dotnetlibrary/pom.xml Mon Apr 3 08:05:55 2006 @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?><project> + <parent> + <artifactId>maven-archetypes</artifactId> + <groupId>org.apache.maven.archetypes</groupId> + <version>1.0-alpha-4-SNAPSHOT</version> + </parent> + <modelVersion>4.0.0</modelVersion> + <groupId>org.apache.maven.archetypes</groupId> + <artifactId>maven-archetype-dotnetlibrary</artifactId> + <packaging>maven-plugin</packaging> + <name>Maven Dotnet Library Archetype</name> + <version>1.0-SNAPSHOT</version> +</project> \ No newline at end of file Added: maven/sandbox/archetype/maven-archetype-dotnetlibrary/src/main/resources/META-INF/archetype.xml URL: http://svn.apache.org/viewcvs/maven/sandbox/archetype/maven-archetype-dotnetlibrary/src/main/resources/META-INF/archetype.xml?rev=391063&view=auto ============================================================================== --- maven/sandbox/archetype/maven-archetype-dotnetlibrary/src/main/resources/META-INF/archetype.xml (added) +++ maven/sandbox/archetype/maven-archetype-dotnetlibrary/src/main/resources/META-INF/archetype.xml Mon Apr 3 08:05:55 2006 @@ -0,0 +1,10 @@ +<archetype> + <id>maven-archetype-dotnetlibrary</id> + <sources> + <source>src/main/csharp/App.cs</source> + <source>src/main/csharp/AssemblyInfo.cs</source> + </sources> + <testSources> + <source>src/test/csharp/AppTest.cs</source> + </testSources> +</archetype> \ No newline at end of file Added: maven/sandbox/archetype/maven-archetype-dotnetlibrary/src/main/resources/archetype-resources/pom.xml URL: http://svn.apache.org/viewcvs/maven/sandbox/archetype/maven-archetype-dotnetlibrary/src/main/resources/archetype-resources/pom.xml?rev=391063&view=auto ============================================================================== --- maven/sandbox/archetype/maven-archetype-dotnetlibrary/src/main/resources/archetype-resources/pom.xml (added) +++ maven/sandbox/archetype/maven-archetype-dotnetlibrary/src/main/resources/archetype-resources/pom.xml Mon Apr 3 08:05:55 2006 @@ -0,0 +1,162 @@ +<project> + <modelVersion>4.0.0</modelVersion> + <groupId>${groupId}</groupId> + <artifactId>${artifactId}</artifactId> + <version>${version}</version> + <packaging>dotnet-library</packaging> + <build> + + <!-- **************************************************************** + Required. Repoints the source and output dirs to the + **************************************************************** --> + <outputDirectory>target/dotnet-assembly</outputDirectory> + <testOutputDirectory>target/test-dotnet-assembly</testOutputDirectory> + <sourceDirectory>src/main/csharp</sourceDirectory> + <testSourceDirectory>src/test/csharp</testSourceDirectory> + + <!-- **************************************************************** + COMPILER PLUGIN + Required, this is the api around the compilers. + **************************************************************** --> + <plugins> + <plugin> + <artifactId>maven-compiler-plugin</artifactId> + <version>2.0</version> + <extensions>true</extensions> + <!-- these are general config options across the CSharp compiler --> + <configuration> + <compilerId>csharp</compilerId> + <fork>true</fork> + <!-- default executable = csc specify mcs to compile with mono --> + <!-- executable>csc</executable --> + <!-- compiler arguments see docco for full list --> + <compilerArguments> + <doc>true</doc> + <!-- example of ignoring warnings --> + <!-- nowarn>1591</nowarn --> + </compilerArguments> + <includes> + <include>**/*.cs</include> + </includes> + </configuration> + + <!-- executions need to be specified for the dotnet plugin + (is slightly ugly, hopefully can get rid of in future --> + <executions> + <!-- this configuration is required to tell the compiler what is different about + the main compile as apposed to the test compile --> + <execution> + <id>compile</id> + <phase>compile</phase> + <goals> + <goal>compile</goal> + </goals> + <configuration> + <compilerArguments> + <target>library</target> + <!-- mainClass>MyNamespace.MyStaticMainClass</mainClass --> + </compilerArguments> + </configuration> + </execution> + + <!-- this configuration is required to tell the compiler what is different about + the main compile as apposed to the test compile --> + <execution> + <id>testCompile</id> + <phase>test-compile</phase> + <goals> + <goal>testCompile</goal> + </goals> + <configuration> + <compilerArguments> + <!-- the library element is required for test compile --> + <target>library</target> + <!-- the isTest element is required for the test compile --> + <out>unit-tests.dll</out> + </compilerArguments> + </configuration> + </execution> + </executions> + + + <!-- **************************************************************** + CSHARP COMPILER DEPENDENCY + Required as this is the compiler maven uses to do the compile. + **************************************************************** --> + <dependencies> + <dependency> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-compiler-csharp</artifactId> + <version>1.6-SNAPSHOT</version> + </dependency> + </dependencies> + + </plugin> + + <!-- **************************************************************** + CSHARP PLUGIN + Required as defines custom build cycles + **************************************************************** --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-csharp-lifecycle-plugin</artifactId> + <version>1.0-SNAPSHOT</version> + <extensions>true</extensions> + </plugin> + + <!-- **************************************************************** + NUNIT PLUGIN + If your application requires a .config file uncomment the configuration element + below + **************************************************************** --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-nunit-plugin</artifactId> + <version>1.0-SNAPSHOT</version> + <!-- configuration> + <configFile>src/main/resources/App.config</configFile> + </configuration --> + </plugin> + + <!-- **************************************************************** + VISUAL STUDIO PLUGIN + if you wish to use the Visual Studio Plugin, uncomment the lines below + and add your own set of includes as necessary. These will be added to the + .csproj file. + **************************************************************** --> + <!-- plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-vstudio-plugin</artifactId> + <configuration> + <frameworkHome>${dotnet.home}</frameworkHome> + <includes> + <include>**/*.aspx</include> + <include>**/*.resx</include> + <include>**/*.cs</include> + </includes> + <references> + <reference> + <path>System.dll</path> + <gac>true</gac> + </reference> + </references> + </configuration> + </plugin --> + + </plugins> + + </build> + + <dependencies> + + <dependency> + <groupId>nunit</groupId> + <artifactId>nunit-console</artifactId> + <version>2.2</version> + <type>dotnet-exe</type> + <scope>test</scope> + </dependency> + + </dependencies> + +</project> \ No newline at end of file Added: maven/sandbox/archetype/maven-archetype-dotnetlibrary/src/main/resources/archetype-resources/src/main/csharp/App.cs URL: http://svn.apache.org/viewcvs/maven/sandbox/archetype/maven-archetype-dotnetlibrary/src/main/resources/archetype-resources/src/main/csharp/App.cs?rev=391063&view=auto ============================================================================== --- maven/sandbox/archetype/maven-archetype-dotnetlibrary/src/main/resources/archetype-resources/src/main/csharp/App.cs (added) +++ maven/sandbox/archetype/maven-archetype-dotnetlibrary/src/main/resources/archetype-resources/src/main/csharp/App.cs Mon Apr 3 08:05:55 2006 @@ -0,0 +1,18 @@ +using System; + +namespace $package +{ + /// <summary> + /// Sample Maven Dotnet App + /// </summary> + public class App + { + /// <summary> + /// A public call on the library... + /// </summary> + public void doSomething() + { + Console.WriteLine("Hello World"); + } + } +} Added: maven/sandbox/archetype/maven-archetype-dotnetlibrary/src/main/resources/archetype-resources/src/main/csharp/AssemblyInfo.cs URL: http://svn.apache.org/viewcvs/maven/sandbox/archetype/maven-archetype-dotnetlibrary/src/main/resources/archetype-resources/src/main/csharp/AssemblyInfo.cs?rev=391063&view=auto ============================================================================== --- maven/sandbox/archetype/maven-archetype-dotnetlibrary/src/main/resources/archetype-resources/src/main/csharp/AssemblyInfo.cs (added) +++ maven/sandbox/archetype/maven-archetype-dotnetlibrary/src/main/resources/archetype-resources/src/main/csharp/AssemblyInfo.cs Mon Apr 3 08:05:55 2006 @@ -0,0 +1,58 @@ +using System.Reflection; +using System.Runtime.CompilerServices; + +// +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +// +[assembly: AssemblyTitle("")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("")] +[assembly: AssemblyCopyright("")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: + +[assembly: AssemblyVersion("1.0.*")] + +// +// In order to sign your assembly you must specify a key to use. Refer to the +// Microsoft .NET Framework documentation for more information on assembly signing. +// +// Use the attributes below to control which key is used for signing. +// +// Notes: +// (*) If no key is specified, the assembly is not signed. +// (*) KeyName refers to a key that has been installed in the Crypto Service +// Provider (CSP) on your machine. KeyFile refers to a file which contains +// a key. +// (*) If the KeyFile and the KeyName values are both specified, the +// following processing occurs: +// (1) If the KeyName can be found in the CSP, that key is used. +// (2) If the KeyName does not exist and the KeyFile does exist, the key +// in the KeyFile is installed into the CSP and used. +// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. +// When specifying the KeyFile, the location of the KeyFile should be +// relative to the project output directory which is +// %Project Directory%\obj\<configuration>. For example, if your KeyFile is +// located in the project directory, you would specify the AssemblyKeyFile +// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] +// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework +// documentation for more information on this. +// +[assembly: AssemblyDelaySign(false)] +[assembly: AssemblyKeyFile("")] +[assembly: AssemblyKeyName("")] Added: maven/sandbox/archetype/maven-archetype-dotnetlibrary/src/main/resources/archetype-resources/src/test/csharp/AppTest.cs URL: http://svn.apache.org/viewcvs/maven/sandbox/archetype/maven-archetype-dotnetlibrary/src/main/resources/archetype-resources/src/test/csharp/AppTest.cs?rev=391063&view=auto ============================================================================== --- maven/sandbox/archetype/maven-archetype-dotnetlibrary/src/main/resources/archetype-resources/src/test/csharp/AppTest.cs (added) +++ maven/sandbox/archetype/maven-archetype-dotnetlibrary/src/main/resources/archetype-resources/src/test/csharp/AppTest.cs Mon Apr 3 08:05:55 2006 @@ -0,0 +1,21 @@ +using System; + +using NUnit.Framework; + +namespace $package +{ + /// <summary> + /// A very simple example of a dotnet test. + /// </summary> + [TestFixture] public class AppTest + { + + [Test] public void doTest() + { + Assert.AreEqual(true, true); + Console.WriteLine("Who said Java and dotnet don\'t mix? :-)"); + } + + + } +} \ No newline at end of file