Author: eworley Date: Sat Dec 29 01:03:55 2007 New Revision: 607400 URL: http://svn.apache.org/viewvc?rev=607400&view=rev Log: *) Adding process-test-source phase *) Adding compile-test phase *) Adding TestCompilerMojo and TestSourceProcessorMojo.java *) Adding IntegrationTest which compiles test source and verifies that the test source is copied to the right directory, and that the test assembly is created (Note that the test assembly does not currently execute in NUnit)
Added: incubator/nmaven/trunk/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/MavenITmng0007CSharpCompileTestLibrary.java incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0007-CSharpCompileTestLibrary/ incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0007-CSharpCompileTestLibrary/pom.xml incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0007-CSharpCompileTestLibrary/src/ incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0007-CSharpCompileTestLibrary/src/main/ incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0007-CSharpCompileTestLibrary/src/main/dotnet/ incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0007-CSharpCompileTestLibrary/src/main/dotnet/App.cs incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0007-CSharpCompileTestLibrary/src/test/ incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0007-CSharpCompileTestLibrary/src/test/dotnet/ incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0007-CSharpCompileTestLibrary/src/test/dotnet/It0007.cs incubator/nmaven/trunk/plugins/maven-compiler-plugin/src/main/java/org/apache/maven/dotnet/plugin/compiler/TestCompilerMojo.java incubator/nmaven/trunk/plugins/maven-compiler-plugin/src/main/java/org/apache/maven/dotnet/plugin/compiler/TestSourceProcessorMojo.java Modified: incubator/nmaven/trunk/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/IntegrationTestSuite.java incubator/nmaven/trunk/plugins/maven-compiler-plugin/src/main/java/org/apache/maven/dotnet/plugin/compiler/SourceProcessorMojo.java incubator/nmaven/trunk/plugins/maven-compiler-plugin/src/main/resources/META-INF/plexus/components.xml Modified: incubator/nmaven/trunk/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/IntegrationTestSuite.java URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/IntegrationTestSuite.java?rev=607400&r1=607399&r2=607400&view=diff ============================================================================== --- incubator/nmaven/trunk/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/IntegrationTestSuite.java (original) +++ incubator/nmaven/trunk/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/IntegrationTestSuite.java Sat Dec 29 01:03:55 2007 @@ -33,6 +33,8 @@ suite.addTestSuite( MavenITmng0003CSharpCompileWinexe.class ); suite.addTestSuite( MavenITmng0004CSharpCompileWithDependency.class ); suite.addTestSuite( MavenITmng0005CSharpCompileWithTransitiveDependency.class ); +// suite.addTestSuite( MavenITmng0006NUnitTestExecution.class ); + suite.addTestSuite( MavenITmng0007CSharpCompileTestLibrary.class ); return suite; } } Added: incubator/nmaven/trunk/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/MavenITmng0007CSharpCompileTestLibrary.java URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/MavenITmng0007CSharpCompileTestLibrary.java?rev=607400&view=auto ============================================================================== --- incubator/nmaven/trunk/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/MavenITmng0007CSharpCompileTestLibrary.java (added) +++ incubator/nmaven/trunk/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/MavenITmng0007CSharpCompileTestLibrary.java Sat Dec 29 01:03:55 2007 @@ -0,0 +1,25 @@ +package org.apache.maven.dotnet.integrationtests; + +import org.apache.maven.integrationtests.AbstractMavenIntegrationTestCase; +import org.apache.maven.it.Verifier; +import org.apache.maven.it.util.ResourceExtractor; +import org.apache.maven.dotnet.BuildDirectories; + +import java.io.File; + +public class MavenITmng0007CSharpCompileTestLibrary + extends AbstractMavenIntegrationTestCase +{ + public void testit0007() + throws Exception + { + File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/MavenITmng-0007-CSharpCompileTestLibrary" ); + Verifier verifier = new Verifier( testDir.getAbsolutePath() ); + verifier.executeGoal( "install" ); + verifier.assertFilePresent( "target/" + BuildDirectories.BUILD_SOURCES.getBuildDirectoryName() + "/App.cs" ); + verifier.assertFilePresent( "target/" + BuildDirectories.TEST_SOURCES.getBuildDirectoryName() + "/It0007.cs" ); + verifier.assertFilePresent( "target/NMaven.It.It0007-1.0.0-test.dll" ); + verifier.verifyErrorFreeLog(); + verifier.resetStreams(); + } +} Added: incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0007-CSharpCompileTestLibrary/pom.xml URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0007-CSharpCompileTestLibrary/pom.xml?rev=607400&view=auto ============================================================================== --- incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0007-CSharpCompileTestLibrary/pom.xml (added) +++ incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0007-CSharpCompileTestLibrary/pom.xml Sat Dec 29 01:03:55 2007 @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<project> + <modelVersion>4.0.0</modelVersion> + <groupId>NMaven.Its</groupId> + <artifactId>NMaven.It.It0007</artifactId> + <packaging>dotnet:library</packaging> + <version>1.0.0</version> + <name>NMaven.It.It0007</name> + + <build> + <sourceDirectory>src/main/dotnet</sourceDirectory> + <testSourceDirectory>src/test/dotnet</testSourceDirectory> + <plugins> + <plugin> + <groupId>org.apache.maven.dotnet.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <extensions>true</extensions> + </plugin> + </plugins> + </build> + + <dependencies> + <dependency> + <groupId>NUnit</groupId> + <artifactId>NUnit.Framework</artifactId> + <version>2.2.8.0</version> + <type>dotnet:library</type> + </dependency> + </dependencies> + +</project> Added: incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0007-CSharpCompileTestLibrary/src/main/dotnet/App.cs URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0007-CSharpCompileTestLibrary/src/main/dotnet/App.cs?rev=607400&view=auto ============================================================================== --- incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0007-CSharpCompileTestLibrary/src/main/dotnet/App.cs (added) +++ incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0007-CSharpCompileTestLibrary/src/main/dotnet/App.cs Sat Dec 29 01:03:55 2007 @@ -0,0 +1,8 @@ +namespace NMaven.IT { + +public class App { + public static void Main () { + System.Console.Write("Hello World!"); + } +} +} Added: incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0007-CSharpCompileTestLibrary/src/test/dotnet/It0007.cs URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0007-CSharpCompileTestLibrary/src/test/dotnet/It0007.cs?rev=607400&view=auto ============================================================================== --- incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0007-CSharpCompileTestLibrary/src/test/dotnet/It0007.cs (added) +++ incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0007-CSharpCompileTestLibrary/src/test/dotnet/It0007.cs Sat Dec 29 01:03:55 2007 @@ -0,0 +1,13 @@ +using System; +using NUnit.Framework; + +namespace NMaven.IT { + + [TestFixture] + public class It0007 { + [Test] + public void testSimple() { + Assertion.AssertEquals(1, 1); + } + } +} Modified: incubator/nmaven/trunk/plugins/maven-compiler-plugin/src/main/java/org/apache/maven/dotnet/plugin/compiler/SourceProcessorMojo.java URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/plugins/maven-compiler-plugin/src/main/java/org/apache/maven/dotnet/plugin/compiler/SourceProcessorMojo.java?rev=607400&r1=607399&r2=607400&view=diff ============================================================================== --- incubator/nmaven/trunk/plugins/maven-compiler-plugin/src/main/java/org/apache/maven/dotnet/plugin/compiler/SourceProcessorMojo.java (original) +++ incubator/nmaven/trunk/plugins/maven-compiler-plugin/src/main/java/org/apache/maven/dotnet/plugin/compiler/SourceProcessorMojo.java Sat Dec 29 01:03:55 2007 @@ -29,6 +29,7 @@ import java.io.File; import java.io.IOException; +import java.util.Arrays; import java.util.List; import java.util.ArrayList; @@ -83,9 +84,9 @@ return; } DirectoryScanner directoryScanner = new DirectoryScanner(); - directoryScanner.setBasedir( project.getBuild().getSourceDirectory() ); + directoryScanner.setBasedir( sourceDirectory ); - List<String> excludeList = new ArrayList<String>(); + List<String> excludeList = new ArrayList<String>(Arrays.asList(excludes)); //target files excludeList.add( "obj/**" ); excludeList.add( "bin/**" ); @@ -94,18 +95,10 @@ excludeList.add( "Resources/**" ); excludeList.add( "Test/**" ); - List<String> includeList = new ArrayList<String>(); + List<String> includeList = new ArrayList<String>(Arrays.asList(includes)); includeList.add( "**/*." + ProgrammingLanguage.valueOf( language ).getClassFileExtension() ); - for ( int i = 0; i < includes.length; ++i ) - { - includeList.add( includes[i] ); - } directoryScanner.setIncludes( includeList.toArray( includes ) ); - for ( int i = 0; i < excludes.length; ++i ) - { - excludeList.add( excludes[i] ); - } directoryScanner.setExcludes( excludeList.toArray( excludes ) ); directoryScanner.addDefaultExcludes(); Added: incubator/nmaven/trunk/plugins/maven-compiler-plugin/src/main/java/org/apache/maven/dotnet/plugin/compiler/TestCompilerMojo.java URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/plugins/maven-compiler-plugin/src/main/java/org/apache/maven/dotnet/plugin/compiler/TestCompilerMojo.java?rev=607400&view=auto ============================================================================== --- incubator/nmaven/trunk/plugins/maven-compiler-plugin/src/main/java/org/apache/maven/dotnet/plugin/compiler/TestCompilerMojo.java (added) +++ incubator/nmaven/trunk/plugins/maven-compiler-plugin/src/main/java/org/apache/maven/dotnet/plugin/compiler/TestCompilerMojo.java Sat Dec 29 01:03:55 2007 @@ -0,0 +1,187 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.maven.dotnet.plugin.compiler; + +import java.io.File; +import java.io.IOException; +import java.net.URI; +import java.net.URISyntaxException; +import java.util.List; + +import org.apache.maven.artifact.handler.ArtifactHandler; +import org.apache.maven.artifact.handler.manager.ArtifactHandlerManager; +import org.apache.maven.dotnet.ArtifactType; +import org.apache.maven.dotnet.BuildDirectories; +import org.apache.maven.dotnet.InitializationException; +import org.apache.maven.dotnet.ProgrammingLanguage; +import org.apache.maven.dotnet.Vendor; +import org.apache.maven.dotnet.compiler.DotnetCompilerConfig; +import org.apache.maven.dotnet.compiler.DotnetCompilerContext; +import org.apache.maven.dotnet.compiler.DotnetCompilerPlatformVersion; +import org.apache.maven.dotnet.compiler.InvalidArtifactException; +import org.apache.maven.dotnet.compiler.KeyInfo; +import org.apache.maven.plugin.AbstractMojo; +import org.apache.maven.plugin.MojoExecutionException; +import org.apache.maven.plugin.MojoFailureException; +import org.apache.maven.project.MavenProject; + +/** + * Maven Mojo for compiling Class files to the .NET Intermediate Language. + * + * @goal test-compile + * @phase test-compile + * @requiresDependencyResolution + * @description Maven Mojo for compiling class files to the .NET Intermediate Language + */ +public class TestCompilerMojo + extends AbstractMojo +{ + /** + * The maven project. + * + * @parameter expression="${project}" + * @required + */ + private MavenProject project; + + /** + * The location of the local Maven repository. + * + * @parameter expression="${settings.localRepository}" + */ + private File localRepository; + + /** + * Specify a strong name key file. + * + * @parameter expression = "${keyfile}" + */ + private File keyfile; + + /** + * Specifies a strong name key container. (not currently supported) + * + * @parameter expression = "${keycontainer}" + */ + private String keycontainer; + + /** + * The framework version to compile under: 1.1, 2.0, 3.0 + * + * @parameter expression = "${frameworkVersion}" default-value="2.0.50727" + */ + private String frameworkVersion; + + /** + * .NET Language. The default value is <code>C_SHARP</code>. Not case or white-space sensitive. + * + * @parameter expression="${language}" default-value = "C_SHARP" + * @required + */ + private String language; + + /** + * The Vendor for the Compiler. Not case or white-space sensitive. + * + * @parameter expression="${vendor}" + */ + private String vendorName; + + /** + * @component + */ + private DotnetCompilerContext compilerContext; + + /** + * @component + */ + private List<ArtifactHandler> artifactHandlers; + + /** + * @component + */ + private ArtifactHandlerManager artifactHandlerManager; + + public void execute() + throws MojoExecutionException, MojoFailureException + { + Vendor vendor; + if ( vendorName != null ) + { + vendor = Vendor.valueOf( vendorName.toUpperCase() ); + } + else + { + vendor = Vendor.getDefaultVendorForOS(); + } + + getLog().info( ".NET Vendor: " + vendor ); + DotnetCompilerConfig compilerConfig = DotnetCompilerConfig.Factory.createDefaultCompilerConfig(); + compilerConfig.setArtifactType( + ArtifactType.valueOf( project.getPackaging().split( "[:]" )[1].toUpperCase() ) ); + compilerConfig.setCompilerPlatformVersion( DotnetCompilerPlatformVersion.valueFromVersion( frameworkVersion ) ); + + KeyInfo keyInfo = KeyInfo.Factory.createDefaultKeyInfo(); + if ( keyfile != null ) + { + try + { + keyInfo.setKeyFileUri( new URI( keyfile.getAbsolutePath() ) ); + } + catch ( URISyntaxException e ) + { + throw new MojoExecutionException( e.getMessage() ); + } + } + + keyInfo.setKeyContainerName( keycontainer ); + compilerConfig.setKeyInfo( keyInfo ); + + compilerConfig.setLocalRepository( localRepository ); + compilerConfig.setProgrammingLanguage( ProgrammingLanguage.C_SHARP ); + compilerConfig.setTestCompile( true ); + compilerConfig.setCompilerSourceDirectory( + new File( project.getBuild().getDirectory(), BuildDirectories.TEST_SOURCES.getBuildDirectoryName() ) ); + compilerConfig.setVendor( vendor ); + compilerConfig.setTargetDirectory( new File( project.getBuild().getDirectory() ) ); + compilerConfig.setArtifactFileName( + project.getBuild().getFinalName() + "-test" + "." + compilerConfig.getArtifactType().getExtension() ); + + try + { + compilerContext.init( project, compilerConfig ); + } + catch ( InitializationException e ) + { + throw new MojoExecutionException( e.getMessage() ); + } + catch ( IOException e ) + { + throw new MojoExecutionException( e.getMessage() ); + } + try + { + compilerContext.getClassCompiler().compile(); + } + catch ( InvalidArtifactException e ) + { + throw new MojoExecutionException( e.getMessage() ); + } + } +} Added: incubator/nmaven/trunk/plugins/maven-compiler-plugin/src/main/java/org/apache/maven/dotnet/plugin/compiler/TestSourceProcessorMojo.java URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/plugins/maven-compiler-plugin/src/main/java/org/apache/maven/dotnet/plugin/compiler/TestSourceProcessorMojo.java?rev=607400&view=auto ============================================================================== --- incubator/nmaven/trunk/plugins/maven-compiler-plugin/src/main/java/org/apache/maven/dotnet/plugin/compiler/TestSourceProcessorMojo.java (added) +++ incubator/nmaven/trunk/plugins/maven-compiler-plugin/src/main/java/org/apache/maven/dotnet/plugin/compiler/TestSourceProcessorMojo.java Sat Dec 29 01:03:55 2007 @@ -0,0 +1,122 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.maven.dotnet.plugin.compiler; + +import org.apache.maven.plugin.AbstractMojo; +import org.apache.maven.plugin.MojoExecutionException; +import org.apache.maven.dotnet.ProgrammingLanguage; +import org.apache.maven.dotnet.BuildDirectories; +import org.apache.maven.project.MavenProject; + +import org.codehaus.plexus.util.DirectoryScanner; +import org.codehaus.plexus.util.FileUtils; + +import java.io.File; +import java.io.IOException; +import java.util.Arrays; +import java.util.List; +import java.util.ArrayList; + +/** + * Copies test source files to target directory. + * + * @goal process-test-sources + * @phase process-test-sources + * @description Copies source files to target directory. + */ + +public class TestSourceProcessorMojo + extends AbstractMojo +{ + /** + * The maven project. + * + * @parameter expression="${project}" + * @required + */ + private MavenProject project; + + /** + * @parameter expression = "${includes}" + */ + private String[] includes; + + /** + * @parameter expression = "${excludes}" + */ + private String[] excludes; + + /** + * .NET Language. The default value is <code>C_SHARP</code>. Not case or white-space sensitive. + * + * @parameter expression="${language}" default-value = "C_SHARP" + * @required + */ + private String language; + + public void execute() + throws MojoExecutionException + { + File testSourceDirectory = new File( project.getBuild().getTestSourceDirectory() ); + File outputDirectory = + new File( project.getBuild().getDirectory(), BuildDirectories.TEST_SOURCES.getBuildDirectoryName() ); + + if ( !testSourceDirectory.exists() ) + { + getLog().info( "NMAVEN-904-001: No test source files to copy" ); + return; + } + DirectoryScanner directoryScanner = new DirectoryScanner(); + directoryScanner.setBasedir( testSourceDirectory ); + + List<String> excludeList = new ArrayList<String>(Arrays.asList(excludes)); + List<String> includeList = new ArrayList<String>(Arrays.asList(includes)); + includeList.add( "**/*." + ProgrammingLanguage.valueOf( language ).getClassFileExtension() ); + + directoryScanner.setIncludes( includeList.toArray( includes ) ); + directoryScanner.setExcludes( excludeList.toArray( excludes ) ); + + directoryScanner.addDefaultExcludes(); + + directoryScanner.scan(); + String[] files = directoryScanner.getIncludedFiles(); + getLog().info( "NMAVEN-904-002: Copying test source files: From = " + testSourceDirectory + ", To = " + + outputDirectory + ", File Count = " + files.length ); + + super.getPluginContext().put( "TEST SOURCE_FILES_UP_TO_DATE", Boolean.TRUE ); + for ( String file : files ) + { + try + { + File sourceFile = new File( testSourceDirectory, file ); + File targetFile = new File( outputDirectory, file ); + if ( sourceFile.lastModified() > targetFile.lastModified() ) + { + super.getPluginContext().put( "TEST SOURCE_FILES_UP_TO_DATE", Boolean.FALSE ); + FileUtils.copyFile( sourceFile, targetFile ); + targetFile.setLastModified( System.currentTimeMillis() ); + } + } + catch ( IOException e ) + { + throw new MojoExecutionException( "NMAVEN-904-000: Unable to process test sources", e ); + } + } + } +} Modified: incubator/nmaven/trunk/plugins/maven-compiler-plugin/src/main/resources/META-INF/plexus/components.xml URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/plugins/maven-compiler-plugin/src/main/resources/META-INF/plexus/components.xml?rev=607400&r1=607399&r2=607400&view=diff ============================================================================== --- incubator/nmaven/trunk/plugins/maven-compiler-plugin/src/main/resources/META-INF/plexus/components.xml (original) +++ incubator/nmaven/trunk/plugins/maven-compiler-plugin/src/main/resources/META-INF/plexus/components.xml Sat Dec 29 01:03:55 2007 @@ -12,9 +12,15 @@ <process-sources> org.apache.maven.dotnet.plugins:maven-compiler-plugin:process-sources </process-sources> + <process-test-sources> + org.apache.maven.dotnet.plugins:maven-compiler-plugin:process-test-sources + </process-test-sources> <compile> org.apache.maven.dotnet.plugins:maven-compiler-plugin:compile </compile> + <test-compile> + org.apache.maven.dotnet.plugins:maven-compiler-plugin:test-compile + </test-compile> <install> org.apache.maven.plugins:maven-install-plugin:install </install> @@ -35,9 +41,15 @@ <process-sources> org.apache.maven.dotnet.plugins:maven-compiler-plugin:process-sources </process-sources> + <process-test-sources> + org.apache.maven.dotnet.plugins:maven-compiler-plugin:process-test-sources + </process-test-sources> <compile> org.apache.maven.dotnet.plugins:maven-compiler-plugin:compile </compile> + <test-compile> + org.apache.maven.dotnet.plugins:maven-compiler-plugin:test-compile + </test-compile> <install> org.apache.maven.plugins:maven-install-plugin:install </install> @@ -58,9 +70,15 @@ <process-sources> org.apache.maven.dotnet.plugins:maven-compiler-plugin:process-sources </process-sources> + <process-test-sources> + org.apache.maven.dotnet.plugins:maven-compiler-plugin:process-test-sources + </process-test-sources> <compile> org.apache.maven.dotnet.plugins:maven-compiler-plugin:compile </compile> + <test-compile> + org.apache.maven.dotnet.plugins:maven-compiler-plugin:test-compile + </test-compile> <install> org.apache.maven.plugins:maven-install-plugin:install </install> @@ -81,9 +99,15 @@ <process-sources> org.apache.maven.dotnet.plugins:maven-compiler-plugin:process-sources </process-sources> + <process-test-sources> + org.apache.maven.dotnet.plugins:maven-compiler-plugin:process-test-sources + </process-test-sources> <compile> org.apache.maven.dotnet.plugins:maven-compiler-plugin:compile </compile> + <test-compile> + org.apache.maven.dotnet.plugins:maven-compiler-plugin:test-compile + </test-compile> <install> org.apache.maven.plugins:maven-install-plugin:install </install>