You are viewing a plain text version of this content. The canonical link for it is here.
Posted to npanday-users@incubator.apache.org by Paul Dietrich <pa...@wrada.com> on 2011/07/06 14:21:09 UTC

gac_msil dependency in dotnet-executable use during npanday build in generate-sources

I'm converting an existing visual studio solution to use npanday.  The solution contains multiple artifacts. One of the artifacts is a code-generator that will be used by the other artifacts in their generate-sources phase of npanday.

My problem is this...

The codeGenerator artifact won't build on my system unless I include a few gac_msil dependencies, specifically, Microsoft.Build.Tasks, Microsoft.Build.Utilities, and Microsoft.Build.Framework.  When I include these in my CodeGenerator pom.xml I can build and install this artifact locally.  When I run the artifact from the command line, it works great.

However, when I try to reference the codeGenerator artifact from my other artifacts (LLRP shown below), maven generates an error because it can't resolve the same 3 dependencies above.  A sample error message shown below. I've also included the pom.xml for my CodeGenerator and for one of my other artifacts (LLRP).

Any help would be greatly appreciated.


[ERROR] Failed to execute goal on project LLRP: Could not resolve dependencies for project Company.LTKNet:LLRP:library:10.14.0.1-SNAPSHOT: The following artifacts could not be resolved: Microsoft.Build.Tasks:Microsoft.Build.Tasks:dll:b03f5f7f11d50a3a:2.0.0.0, Microsoft.Build.Utilities:Microsoft.Build.Utilities:dll:b03f5f7f11d50a3a:2.0.0.0, Microsoft.Build.Framework:Microsoft.Build.Framework:dll:b03f5f7f11d50a3a:2.0.0.0: Failure to find Microsoft.Build.Tasks:Microsoft.Build.Tasks:dll:b03f5f7f11d50a3a:2.0.0.0 in http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]

<?xml version="1.0" encoding="utf-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://maven.apache.org/POM/4.0.0">
  <parent>
    <artifactId>LTKNet-parent</artifactId>
    <groupId>Company.LTKNet</groupId>
    <version>10.14.0.1-SNAPSHOT</version>
    <relativePath>..\pom.xml</relativePath>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>LLRP</artifactId>
  <packaging>library</packaging>
  <name>Company.LTKNet : LLRP</name>
  <build>
    <sourceDirectory>./</sourceDirectory>
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>exec-maven-plugin</artifactId>
        <executions>
          <execution>
            <id>LLRPParam</id>
            <phase>generate-sources</phase>
            <goals>
              <goal>exec</goal>
            </goals>
            <configuration>
              <executable>codeGenerator.exe</executable>
              <arguments>
                <argument>../../../Defintions/Core/llrp-1x0-def.xml</argument>
                <argument>LLRPParam.cs</argument>
                <argument>LLRPParam.xslt</argument>
              </arguments>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.npanday.plugins</groupId>
        <artifactId>maven-compile-plugin</artifactId>
        <extensions>true</extensions>
        <configuration>
          <includeSources>
....
            <includeSource>Transaction.cs</includeSource>
          </includeSources>
          <keyfile>..\PublicPrivateKeyFile.snk</keyfile>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>Company.LTKNet</groupId>
      <artifactId>CodeGenerator</artifactId>
      <version>10.14.0.1-SNAPSHOT</version>
      <type>dotnet-executable</type>
    </dependency>
  </dependencies>
</project>


<?xml version="1.0" encoding="utf-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://maven.apache.org/POM/4.0.0">
  <modelVersion>4.0.0</modelVersion>
  <artifactId>CodeGenerator</artifactId>
  <groupId>Company.LTKNet</groupId>
  <version>10.14.0.1-SNAPSHOT</version>
  <packaging>dotnet-executable</packaging>
  <name>Company.LTKNet : CodeGenerator</name>
  <build>
    <sourceDirectory>./</sourceDirectory>
    <plugins>
      <plugin>
        <groupId>org.apache.npanday.plugins</groupId>
        <artifactId>maven-compile-plugin</artifactId>
        <extensions>true</extensions>
        <configuration>
          <includeSources>
            <includeSource>Program.cs</includeSource>
            <includeSource>Properties\AssemblyInfo.cs</includeSource>
          </includeSources>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>Microsoft.Build.Tasks</groupId>
      <artifactId>Microsoft.Build.Tasks</artifactId>
      <type>gac_msil</type>
      <version>2.0.0.0</version>
      <classifier>b03f5f7f11d50a3a</classifier>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>Microsoft.Build.Utilities</groupId>
      <artifactId>Microsoft.Build.Utilities</artifactId>
      <type>gac_msil</type>
      <version>2.0.0.0</version>
      <classifier>b03f5f7f11d50a3a</classifier>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>Microsoft.Build.Framework</groupId>
      <artifactId>Microsoft.Build.Framework</artifactId>
      <type>gac_msil</type>
      <version>2.0.0.0</version>
      <classifier>b03f5f7f11d50a3a</classifier>
      <scope>compile</scope>
    </dependency>
  </dependencies>
</project>


RE: gac_msil dependency in dotnet-executable use during npanday build in generate-sources

Posted by Paul Dietrich <pa...@wrada.com>.
Thanks for the response.  I was using 1.4 incubating.

I've deferred the npanday integration for now and am just wrapping msbuild with maven-exec.  I'll probably come back to this in a month and will post a solution when I find one.

Paul

-----Original Message-----
From: Brett Porter [mailto:brett@porterclan.net] On Behalf Of Brett Porter
Sent: Monday, July 25, 2011 7:49 PM
To: npanday-users@incubator.apache.org
Subject: Re: gac_msil dependency in dotnet-executable use during npanday build in generate-sources

There may be a bug due to them being transitive, though I think we've used them this way elsewhere. It's a little odd that they appear as type 'dll' in the error message and not library.

What version of NPanday got picked up by this?

- Brett

On 26/07/2011, at 7:33 AM, Lars Corneliussen wrote:

> Hi Paul,
> 
> sorry for the late answer; is this still current?
> 
> @Brett, Deng, Liit? Do you have an idea why npanday fails resolving the artifacts? Shouldn't it resolve to the GAC, for all gac-types?
> 
> _
> Lars
> 
> 
> Am 06.07.11 16:21, schrieb Paul Dietrich:
>> I'm converting an existing visual studio solution to use npanday.  The solution contains multiple artifacts. One of the artifacts is a code-generator that will be used by the other artifacts in their generate-sources phase of npanday.
>> 
>> My problem is this...
>> 
>> The codeGenerator artifact won't build on my system unless I include a few gac_msil dependencies, specifically, Microsoft.Build.Tasks, Microsoft.Build.Utilities, and Microsoft.Build.Framework.  When I include these in my CodeGenerator pom.xml I can build and install this artifact locally.  When I run the artifact from the command line, it works great.
>> 
>> However, when I try to reference the codeGenerator artifact from my other artifacts (LLRP shown below), maven generates an error because it can't resolve the same 3 dependencies above.  A sample error message shown below. I've also included the pom.xml for my CodeGenerator and for one of my other artifacts (LLRP).
>> 
>> Any help would be greatly appreciated.
>> 
>> 
>> [ERROR] Failed to execute goal on project LLRP: Could not resolve dependencies for project Company.LTKNet:LLRP:library:10.14.0.1-SNAPSHOT: The following artifacts could not be resolved: Microsoft.Build.Tasks:Microsoft.Build.Tasks:dll:b03f5f7f11d50a3a:2.0.0.0, Microsoft.Build.Utilities:Microsoft.Build.Utilities:dll:b03f5f7f11d50a3a:2.0.0.0, Microsoft.Build.Framework:Microsoft.Build.Framework:dll:b03f5f7f11d50a3a:2.0.0.0: Failure to find Microsoft.Build.Tasks:Microsoft.Build.Tasks:dll:b03f5f7f11d50a3a:2.0.0.0 in http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced ->  [Help 1]
>> 
>> <?xml version="1.0" encoding="utf-8"?>
>> <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://maven.apache.org/POM/4.0.0">
>>   <parent>
>>     <artifactId>LTKNet-parent</artifactId>
>>     <groupId>Company.LTKNet</groupId>
>>     <version>10.14.0.1-SNAPSHOT</version>
>>     <relativePath>..\pom.xml</relativePath>
>>   </parent>
>>   <modelVersion>4.0.0</modelVersion>
>>   <artifactId>LLRP</artifactId>
>>   <packaging>library</packaging>
>>   <name>Company.LTKNet : LLRP</name>
>>   <build>
>>     <sourceDirectory>./</sourceDirectory>
>>     <plugins>
>>       <plugin>
>>         <groupId>org.codehaus.mojo</groupId>
>>         <artifactId>exec-maven-plugin</artifactId>
>>         <executions>
>>           <execution>
>>             <id>LLRPParam</id>
>>             <phase>generate-sources</phase>
>>             <goals>
>>               <goal>exec</goal>
>>             </goals>
>>             <configuration>
>>               <executable>codeGenerator.exe</executable>
>>               <arguments>
>>                 <argument>../../../Defintions/Core/llrp-1x0-def.xml</argument>
>>                 <argument>LLRPParam.cs</argument>
>>                 <argument>LLRPParam.xslt</argument>
>>               </arguments>
>>             </configuration>
>>           </execution>
>>         </executions>
>>       </plugin>
>>       <plugin>
>>         <groupId>org.apache.npanday.plugins</groupId>
>>         <artifactId>maven-compile-plugin</artifactId>
>>         <extensions>true</extensions>
>>         <configuration>
>>           <includeSources>
>> ....
>>             <includeSource>Transaction.cs</includeSource>
>>           </includeSources>
>>           <keyfile>..\PublicPrivateKeyFile.snk</keyfile>
>>         </configuration>
>>       </plugin>
>>     </plugins>
>>   </build>
>>   <dependencies>
>>     <dependency>
>>       <groupId>Company.LTKNet</groupId>
>>       <artifactId>CodeGenerator</artifactId>
>>       <version>10.14.0.1-SNAPSHOT</version>
>>       <type>dotnet-executable</type>
>>     </dependency>
>>   </dependencies>
>> </project>
>> 
>> 
>> <?xml version="1.0" encoding="utf-8"?>
>> <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://maven.apache.org/POM/4.0.0">
>>   <modelVersion>4.0.0</modelVersion>
>>   <artifactId>CodeGenerator</artifactId>
>>   <groupId>Company.LTKNet</groupId>
>>   <version>10.14.0.1-SNAPSHOT</version>
>>   <packaging>dotnet-executable</packaging>
>>   <name>Company.LTKNet : CodeGenerator</name>
>>   <build>
>>     <sourceDirectory>./</sourceDirectory>
>>     <plugins>
>>       <plugin>
>>         <groupId>org.apache.npanday.plugins</groupId>
>>         <artifactId>maven-compile-plugin</artifactId>
>>         <extensions>true</extensions>
>>         <configuration>
>>           <includeSources>
>>             <includeSource>Program.cs</includeSource>
>>             <includeSource>Properties\AssemblyInfo.cs</includeSource>
>>           </includeSources>
>>         </configuration>
>>       </plugin>
>>     </plugins>
>>   </build>
>>   <dependencies>
>>     <dependency>
>>       <groupId>Microsoft.Build.Tasks</groupId>
>>       <artifactId>Microsoft.Build.Tasks</artifactId>
>>       <type>gac_msil</type>
>>       <version>2.0.0.0</version>
>>       <classifier>b03f5f7f11d50a3a</classifier>
>>       <scope>compile</scope>
>>     </dependency>
>>     <dependency>
>>       <groupId>Microsoft.Build.Utilities</groupId>
>>       <artifactId>Microsoft.Build.Utilities</artifactId>
>>       <type>gac_msil</type>
>>       <version>2.0.0.0</version>
>>       <classifier>b03f5f7f11d50a3a</classifier>
>>       <scope>compile</scope>
>>     </dependency>
>>     <dependency>
>>       <groupId>Microsoft.Build.Framework</groupId>
>>       <artifactId>Microsoft.Build.Framework</artifactId>
>>       <type>gac_msil</type>
>>       <version>2.0.0.0</version>
>>       <classifier>b03f5f7f11d50a3a</classifier>
>>       <scope>compile</scope>
>>     </dependency>
>>   </dependencies>
>> </project>
>> 
>> 
> 

--
Brett Porter
brett@apache.org
http://brettporter.wordpress.com/
http://au.linkedin.com/in/brettporter





Re: gac_msil dependency in dotnet-executable use during npanday build in generate-sources

Posted by Brett Porter <br...@apache.org>.
There may be a bug due to them being transitive, though I think we've used them this way elsewhere. It's a little odd that they appear as type 'dll' in the error message and not library.

What version of NPanday got picked up by this?

- Brett

On 26/07/2011, at 7:33 AM, Lars Corneliussen wrote:

> Hi Paul,
> 
> sorry for the late answer; is this still current?
> 
> @Brett, Deng, Liit? Do you have an idea why npanday fails resolving the artifacts? Shouldn't it resolve to the GAC, for all gac-types?
> 
> _
> Lars
> 
> 
> Am 06.07.11 16:21, schrieb Paul Dietrich:
>> I'm converting an existing visual studio solution to use npanday.  The solution contains multiple artifacts. One of the artifacts is a code-generator that will be used by the other artifacts in their generate-sources phase of npanday.
>> 
>> My problem is this...
>> 
>> The codeGenerator artifact won't build on my system unless I include a few gac_msil dependencies, specifically, Microsoft.Build.Tasks, Microsoft.Build.Utilities, and Microsoft.Build.Framework.  When I include these in my CodeGenerator pom.xml I can build and install this artifact locally.  When I run the artifact from the command line, it works great.
>> 
>> However, when I try to reference the codeGenerator artifact from my other artifacts (LLRP shown below), maven generates an error because it can't resolve the same 3 dependencies above.  A sample error message shown below. I've also included the pom.xml for my CodeGenerator and for one of my other artifacts (LLRP).
>> 
>> Any help would be greatly appreciated.
>> 
>> 
>> [ERROR] Failed to execute goal on project LLRP: Could not resolve dependencies for project Company.LTKNet:LLRP:library:10.14.0.1-SNAPSHOT: The following artifacts could not be resolved: Microsoft.Build.Tasks:Microsoft.Build.Tasks:dll:b03f5f7f11d50a3a:2.0.0.0, Microsoft.Build.Utilities:Microsoft.Build.Utilities:dll:b03f5f7f11d50a3a:2.0.0.0, Microsoft.Build.Framework:Microsoft.Build.Framework:dll:b03f5f7f11d50a3a:2.0.0.0: Failure to find Microsoft.Build.Tasks:Microsoft.Build.Tasks:dll:b03f5f7f11d50a3a:2.0.0.0 in http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced ->  [Help 1]
>> 
>> <?xml version="1.0" encoding="utf-8"?>
>> <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://maven.apache.org/POM/4.0.0">
>>   <parent>
>>     <artifactId>LTKNet-parent</artifactId>
>>     <groupId>Company.LTKNet</groupId>
>>     <version>10.14.0.1-SNAPSHOT</version>
>>     <relativePath>..\pom.xml</relativePath>
>>   </parent>
>>   <modelVersion>4.0.0</modelVersion>
>>   <artifactId>LLRP</artifactId>
>>   <packaging>library</packaging>
>>   <name>Company.LTKNet : LLRP</name>
>>   <build>
>>     <sourceDirectory>./</sourceDirectory>
>>     <plugins>
>>       <plugin>
>>         <groupId>org.codehaus.mojo</groupId>
>>         <artifactId>exec-maven-plugin</artifactId>
>>         <executions>
>>           <execution>
>>             <id>LLRPParam</id>
>>             <phase>generate-sources</phase>
>>             <goals>
>>               <goal>exec</goal>
>>             </goals>
>>             <configuration>
>>               <executable>codeGenerator.exe</executable>
>>               <arguments>
>>                 <argument>../../../Defintions/Core/llrp-1x0-def.xml</argument>
>>                 <argument>LLRPParam.cs</argument>
>>                 <argument>LLRPParam.xslt</argument>
>>               </arguments>
>>             </configuration>
>>           </execution>
>>         </executions>
>>       </plugin>
>>       <plugin>
>>         <groupId>org.apache.npanday.plugins</groupId>
>>         <artifactId>maven-compile-plugin</artifactId>
>>         <extensions>true</extensions>
>>         <configuration>
>>           <includeSources>
>> ....
>>             <includeSource>Transaction.cs</includeSource>
>>           </includeSources>
>>           <keyfile>..\PublicPrivateKeyFile.snk</keyfile>
>>         </configuration>
>>       </plugin>
>>     </plugins>
>>   </build>
>>   <dependencies>
>>     <dependency>
>>       <groupId>Company.LTKNet</groupId>
>>       <artifactId>CodeGenerator</artifactId>
>>       <version>10.14.0.1-SNAPSHOT</version>
>>       <type>dotnet-executable</type>
>>     </dependency>
>>   </dependencies>
>> </project>
>> 
>> 
>> <?xml version="1.0" encoding="utf-8"?>
>> <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://maven.apache.org/POM/4.0.0">
>>   <modelVersion>4.0.0</modelVersion>
>>   <artifactId>CodeGenerator</artifactId>
>>   <groupId>Company.LTKNet</groupId>
>>   <version>10.14.0.1-SNAPSHOT</version>
>>   <packaging>dotnet-executable</packaging>
>>   <name>Company.LTKNet : CodeGenerator</name>
>>   <build>
>>     <sourceDirectory>./</sourceDirectory>
>>     <plugins>
>>       <plugin>
>>         <groupId>org.apache.npanday.plugins</groupId>
>>         <artifactId>maven-compile-plugin</artifactId>
>>         <extensions>true</extensions>
>>         <configuration>
>>           <includeSources>
>>             <includeSource>Program.cs</includeSource>
>>             <includeSource>Properties\AssemblyInfo.cs</includeSource>
>>           </includeSources>
>>         </configuration>
>>       </plugin>
>>     </plugins>
>>   </build>
>>   <dependencies>
>>     <dependency>
>>       <groupId>Microsoft.Build.Tasks</groupId>
>>       <artifactId>Microsoft.Build.Tasks</artifactId>
>>       <type>gac_msil</type>
>>       <version>2.0.0.0</version>
>>       <classifier>b03f5f7f11d50a3a</classifier>
>>       <scope>compile</scope>
>>     </dependency>
>>     <dependency>
>>       <groupId>Microsoft.Build.Utilities</groupId>
>>       <artifactId>Microsoft.Build.Utilities</artifactId>
>>       <type>gac_msil</type>
>>       <version>2.0.0.0</version>
>>       <classifier>b03f5f7f11d50a3a</classifier>
>>       <scope>compile</scope>
>>     </dependency>
>>     <dependency>
>>       <groupId>Microsoft.Build.Framework</groupId>
>>       <artifactId>Microsoft.Build.Framework</artifactId>
>>       <type>gac_msil</type>
>>       <version>2.0.0.0</version>
>>       <classifier>b03f5f7f11d50a3a</classifier>
>>       <scope>compile</scope>
>>     </dependency>
>>   </dependencies>
>> </project>
>> 
>> 
> 

--
Brett Porter
brett@apache.org
http://brettporter.wordpress.com/
http://au.linkedin.com/in/brettporter





Re: gac_msil dependency in dotnet-executable use during npanday build in generate-sources

Posted by Lars Corneliussen <me...@lcorneliussen.de>.
Hi Paul,

sorry for the late answer; is this still current?

@Brett, Deng, Liit? Do you have an idea why npanday fails resolving the 
artifacts? Shouldn't it resolve to the GAC, for all gac-types?

_
Lars


Am 06.07.11 16:21, schrieb Paul Dietrich:
> I'm converting an existing visual studio solution to use npanday.  The solution contains multiple artifacts. One of the artifacts is a code-generator that will be used by the other artifacts in their generate-sources phase of npanday.
>
> My problem is this...
>
> The codeGenerator artifact won't build on my system unless I include a few gac_msil dependencies, specifically, Microsoft.Build.Tasks, Microsoft.Build.Utilities, and Microsoft.Build.Framework.  When I include these in my CodeGenerator pom.xml I can build and install this artifact locally.  When I run the artifact from the command line, it works great.
>
> However, when I try to reference the codeGenerator artifact from my other artifacts (LLRP shown below), maven generates an error because it can't resolve the same 3 dependencies above.  A sample error message shown below. I've also included the pom.xml for my CodeGenerator and for one of my other artifacts (LLRP).
>
> Any help would be greatly appreciated.
>
>
> [ERROR] Failed to execute goal on project LLRP: Could not resolve dependencies for project Company.LTKNet:LLRP:library:10.14.0.1-SNAPSHOT: The following artifacts could not be resolved: Microsoft.Build.Tasks:Microsoft.Build.Tasks:dll:b03f5f7f11d50a3a:2.0.0.0, Microsoft.Build.Utilities:Microsoft.Build.Utilities:dll:b03f5f7f11d50a3a:2.0.0.0, Microsoft.Build.Framework:Microsoft.Build.Framework:dll:b03f5f7f11d50a3a:2.0.0.0: Failure to find Microsoft.Build.Tasks:Microsoft.Build.Tasks:dll:b03f5f7f11d50a3a:2.0.0.0 in http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced ->  [Help 1]
>
> <?xml version="1.0" encoding="utf-8"?>
> <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://maven.apache.org/POM/4.0.0">
>    <parent>
>      <artifactId>LTKNet-parent</artifactId>
>      <groupId>Company.LTKNet</groupId>
>      <version>10.14.0.1-SNAPSHOT</version>
>      <relativePath>..\pom.xml</relativePath>
>    </parent>
>    <modelVersion>4.0.0</modelVersion>
>    <artifactId>LLRP</artifactId>
>    <packaging>library</packaging>
>    <name>Company.LTKNet : LLRP</name>
>    <build>
>      <sourceDirectory>./</sourceDirectory>
>      <plugins>
>        <plugin>
>          <groupId>org.codehaus.mojo</groupId>
>          <artifactId>exec-maven-plugin</artifactId>
>          <executions>
>            <execution>
>              <id>LLRPParam</id>
>              <phase>generate-sources</phase>
>              <goals>
>                <goal>exec</goal>
>              </goals>
>              <configuration>
>                <executable>codeGenerator.exe</executable>
>                <arguments>
>                  <argument>../../../Defintions/Core/llrp-1x0-def.xml</argument>
>                  <argument>LLRPParam.cs</argument>
>                  <argument>LLRPParam.xslt</argument>
>                </arguments>
>              </configuration>
>            </execution>
>          </executions>
>        </plugin>
>        <plugin>
>          <groupId>org.apache.npanday.plugins</groupId>
>          <artifactId>maven-compile-plugin</artifactId>
>          <extensions>true</extensions>
>          <configuration>
>            <includeSources>
> ....
>              <includeSource>Transaction.cs</includeSource>
>            </includeSources>
>            <keyfile>..\PublicPrivateKeyFile.snk</keyfile>
>          </configuration>
>        </plugin>
>      </plugins>
>    </build>
>    <dependencies>
>      <dependency>
>        <groupId>Company.LTKNet</groupId>
>        <artifactId>CodeGenerator</artifactId>
>        <version>10.14.0.1-SNAPSHOT</version>
>        <type>dotnet-executable</type>
>      </dependency>
>    </dependencies>
> </project>
>
>
> <?xml version="1.0" encoding="utf-8"?>
> <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://maven.apache.org/POM/4.0.0">
>    <modelVersion>4.0.0</modelVersion>
>    <artifactId>CodeGenerator</artifactId>
>    <groupId>Company.LTKNet</groupId>
>    <version>10.14.0.1-SNAPSHOT</version>
>    <packaging>dotnet-executable</packaging>
>    <name>Company.LTKNet : CodeGenerator</name>
>    <build>
>      <sourceDirectory>./</sourceDirectory>
>      <plugins>
>        <plugin>
>          <groupId>org.apache.npanday.plugins</groupId>
>          <artifactId>maven-compile-plugin</artifactId>
>          <extensions>true</extensions>
>          <configuration>
>            <includeSources>
>              <includeSource>Program.cs</includeSource>
>              <includeSource>Properties\AssemblyInfo.cs</includeSource>
>            </includeSources>
>          </configuration>
>        </plugin>
>      </plugins>
>    </build>
>    <dependencies>
>      <dependency>
>        <groupId>Microsoft.Build.Tasks</groupId>
>        <artifactId>Microsoft.Build.Tasks</artifactId>
>        <type>gac_msil</type>
>        <version>2.0.0.0</version>
>        <classifier>b03f5f7f11d50a3a</classifier>
>        <scope>compile</scope>
>      </dependency>
>      <dependency>
>        <groupId>Microsoft.Build.Utilities</groupId>
>        <artifactId>Microsoft.Build.Utilities</artifactId>
>        <type>gac_msil</type>
>        <version>2.0.0.0</version>
>        <classifier>b03f5f7f11d50a3a</classifier>
>        <scope>compile</scope>
>      </dependency>
>      <dependency>
>        <groupId>Microsoft.Build.Framework</groupId>
>        <artifactId>Microsoft.Build.Framework</artifactId>
>        <type>gac_msil</type>
>        <version>2.0.0.0</version>
>        <classifier>b03f5f7f11d50a3a</classifier>
>        <scope>compile</scope>
>      </dependency>
>    </dependencies>
> </project>
>
>