You are viewing a plain text version of this content. The canonical link for it is here.
Posted to nmaven-commits@incubator.apache.org by si...@apache.org on 2006/12/14 22:48:42 UTC

svn commit: r487380 - in /incubator/nmaven/branches/SI_SIGNING: components/dotnet-executable/src/main/java/org/apache/maven/dotnet/executable/compiler/ integration-tests/tests/it0022/ integration-tests/tests/it0022/src/ integration-tests/tests/it0022/s...

Author: sisbell
Date: Thu Dec 14 14:48:41 2006
New Revision: 487380

URL: http://svn.apache.org/viewvc?view=rev&rev=487380
Log:
Added support for signing assemblies.

Added:
    incubator/nmaven/branches/SI_SIGNING/components/dotnet-executable/src/main/java/org/apache/maven/dotnet/executable/compiler/KeyInfo.java   (with props)
    incubator/nmaven/branches/SI_SIGNING/integration-tests/tests/it0022/
    incubator/nmaven/branches/SI_SIGNING/integration-tests/tests/it0022/goals.txt   (with props)
    incubator/nmaven/branches/SI_SIGNING/integration-tests/tests/it0022/pom.xml   (with props)
    incubator/nmaven/branches/SI_SIGNING/integration-tests/tests/it0022/sample.snk   (with props)
    incubator/nmaven/branches/SI_SIGNING/integration-tests/tests/it0022/src/
    incubator/nmaven/branches/SI_SIGNING/integration-tests/tests/it0022/src/main/
    incubator/nmaven/branches/SI_SIGNING/integration-tests/tests/it0022/src/main/csharp/
    incubator/nmaven/branches/SI_SIGNING/integration-tests/tests/it0022/src/main/csharp/It0022.cs

Added: incubator/nmaven/branches/SI_SIGNING/components/dotnet-executable/src/main/java/org/apache/maven/dotnet/executable/compiler/KeyInfo.java
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_SIGNING/components/dotnet-executable/src/main/java/org/apache/maven/dotnet/executable/compiler/KeyInfo.java?view=auto&rev=487380
==============================================================================
--- incubator/nmaven/branches/SI_SIGNING/components/dotnet-executable/src/main/java/org/apache/maven/dotnet/executable/compiler/KeyInfo.java (added)
+++ incubator/nmaven/branches/SI_SIGNING/components/dotnet-executable/src/main/java/org/apache/maven/dotnet/executable/compiler/KeyInfo.java Thu Dec 14 14:48:41 2006
@@ -0,0 +1,45 @@
+package org.apache.maven.dotnet.executable.compiler;
+
+import java.util.List;
+import java.io.File;
+
+public interface KeyInfo
+{
+    String getKeyFileUri();
+
+    void setKeyFileUri(String keyFileUri);
+
+    public static class Factory
+    {
+        /**
+         * Constructor
+         */
+        private Factory()
+        {
+        }
+
+        /**
+         * Returns a default instance of key info.
+         *
+         * @return a default instance of key info
+         */
+        public static KeyInfo createDefaultKeyInfo()
+        {
+            return new KeyInfo()
+            {
+
+                private String keyFileUri;
+
+                public String getKeyFileUri() {
+                    return keyFileUri;
+                }
+
+                public void setKeyFileUri(String keyFileUri) {
+                    this.keyFileUri = keyFileUri;
+                }
+
+            };
+        }
+    }
+
+}

Propchange: incubator/nmaven/branches/SI_SIGNING/components/dotnet-executable/src/main/java/org/apache/maven/dotnet/executable/compiler/KeyInfo.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/nmaven/branches/SI_SIGNING/integration-tests/tests/it0022/goals.txt
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_SIGNING/integration-tests/tests/it0022/goals.txt?view=auto&rev=487380
==============================================================================
--- incubator/nmaven/branches/SI_SIGNING/integration-tests/tests/it0022/goals.txt (added)
+++ incubator/nmaven/branches/SI_SIGNING/integration-tests/tests/it0022/goals.txt Thu Dec 14 14:48:41 2006
@@ -0,0 +1 @@
+install
\ No newline at end of file

Propchange: incubator/nmaven/branches/SI_SIGNING/integration-tests/tests/it0022/goals.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/nmaven/branches/SI_SIGNING/integration-tests/tests/it0022/pom.xml
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_SIGNING/integration-tests/tests/it0022/pom.xml?view=auto&rev=487380
==============================================================================
--- incubator/nmaven/branches/SI_SIGNING/integration-tests/tests/it0022/pom.xml (added)
+++ incubator/nmaven/branches/SI_SIGNING/integration-tests/tests/it0022/pom.xml Thu Dec 14 14:48:41 2006
@@ -0,0 +1,22 @@
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.maven.it</groupId>
+  <artifactId>it0020</artifactId>
+  <packaging>library</packaging>
+  <version>1.0.0</version>
+  <name>it0020</name>
+
+  <build>
+    <sourceDirectory>src/main/csharp</sourceDirectory>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.dotnet.plugins</groupId>
+        <artifactId>maven-compile-plugin</artifactId>
+        <extensions>true</extensions>
+        <configuration>
+          <keyfile>sample.snk</keyfile>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>
\ No newline at end of file

Propchange: incubator/nmaven/branches/SI_SIGNING/integration-tests/tests/it0022/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/nmaven/branches/SI_SIGNING/integration-tests/tests/it0022/sample.snk
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_SIGNING/integration-tests/tests/it0022/sample.snk?view=auto&rev=487380
==============================================================================
Binary file - no diff available.

Propchange: incubator/nmaven/branches/SI_SIGNING/integration-tests/tests/it0022/sample.snk
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/nmaven/branches/SI_SIGNING/integration-tests/tests/it0022/src/main/csharp/It0022.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_SIGNING/integration-tests/tests/it0022/src/main/csharp/It0022.cs?view=auto&rev=487380
==============================================================================
--- incubator/nmaven/branches/SI_SIGNING/integration-tests/tests/it0022/src/main/csharp/It0022.cs (added)
+++ incubator/nmaven/branches/SI_SIGNING/integration-tests/tests/it0022/src/main/csharp/It0022.cs Thu Dec 14 14:48:41 2006
@@ -0,0 +1,8 @@
+namespace org.apache.maven.it {
+
+public class It0022 {
+	public static void Main () { 
+		System.Console.Write("Hello World!"); 
+	} 
+}
+}