Author: sisbell Date: Wed Dec 12 09:41:17 2007 New Revision: 603682 URL: http://svn.apache.org/viewvc?rev=603682&view=rev Log: Added license files to classes.
Modified: incubator/nmaven/branches/SI_MAVEN_INTEGRATION/README.txt incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-assembler/src/main/java/org/apache/maven/dotnet/assembler/AssemblyInfoMarshallerAnnotation.java incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/ClassCompiler.java incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/CommandExecutor.java incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/CompilerAnnotation.java incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/CompilerConfig.java incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/CompilerContext.java incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/CompilerException.java incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/DotnetCompilerConfig.java incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/DotnetCompilerContext.java incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/DotnetCompilerPlatformVersion.java incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/InvalidArtifactException.java incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/JavaCompilerContext.java incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/KeyInfo.java incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-core/src/main/java/org/apache/maven/dotnet/ArtifactType.java incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-core/src/main/java/org/apache/maven/dotnet/BuildDirectories.java incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-core/src/main/java/org/apache/maven/dotnet/InitializationException.java incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-core/src/main/java/org/apache/maven/dotnet/PlatformUnsupportedException.java incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-core/src/main/java/org/apache/maven/dotnet/ProgrammingLanguage.java incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-core/src/main/java/org/apache/maven/dotnet/Vendor.java incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-extensions-maven/src/main/java/org/apache/maven/dotnet/extensions/compiler/CSharpClassCompiler.java incubator/nmaven/branches/SI_MAVEN_INTEGRATION/plugins/maven-compiler-plugin/src/main/java/org/apache/maven/dotnet/plugin/compiler/CompilerMojo.java incubator/nmaven/branches/SI_MAVEN_INTEGRATION/plugins/maven-compiler-plugin/src/main/java/org/apache/maven/dotnet/plugin/compiler/SourceProcessorMojo.java Modified: incubator/nmaven/branches/SI_MAVEN_INTEGRATION/README.txt URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_MAVEN_INTEGRATION/README.txt?rev=603682&r1=603681&r2=603682&view=diff ============================================================================== --- incubator/nmaven/branches/SI_MAVEN_INTEGRATION/README.txt (original) +++ incubator/nmaven/branches/SI_MAVEN_INTEGRATION/README.txt Wed Dec 12 09:41:17 2007 @@ -4,69 +4,3 @@ Prerequisites * csc.exe must be available on your PATH. Usually it can be found in C:\WINDOWS\Microsoft.NET\Framework\[version] * NUnit must be installed or otherwise configured, see http://incubator.apache.org/nmaven/getting-started.html - -Initial Build -* The latest version of NMaven requires .NET 2.0+ to build and run NMaven. This is due to needing the .NET 2.0 AppDomainManagers for - executing Maven .NET plugins. You may still target your own projects with .NET 1.1 build. -* On the first build, for Windows execute - bootstrap-build.bat [ -DMicrosoft | -DVisualStudio2005 | -DMono ] - Or on *nix, - bootstrap-build.sh - -If this is a clean build (meaning that you do not have a ~./m2/nmaven-settings.xml file) -then you will also need to make sure that you have csc within your path. On subsequent builds, you can just type mvn -f pom.xml install from -the command prompt. - -IntelliJ IDEA Setup -* Do the initial build. This will create the dotnet modello model source code and will download all of the maven -binary dependencies. Next, click the maven-dotnet.ipr file. Go to settings/Path variables and set localRepository - to your ~/.m2/repository directory (specify the absolute path). Exit IntelliJ and click the maven-dotnet.ipr file. - Now all of the binary dependencies will be mapped to the local maven repo. - -Deploying NMaven Artifacts (File System Only) -* On the command line - set phase=deploy - set deploy.directory=${remoteRepository} - bootstrap-build.bat -* Due to a bug with not being able to use snapshots with an executables exe.config file, you will need to do this - next step manually: Copy ${localRepository}\NMaven\Plugins\NMaven.Plugin.Resx\0.14\NMaven.Plugin.Resx.exe.config to - ${remoteRepository}\NMaven\Plugins\NMaven.Plugin.Resx\0.14\NMaven.Plugin.Resx.exe.config - - To set up a remote repository accessible to others, you can transfer the contents of ${remoteRepository} - from your file system to a web server. - -Generating CS Project Files and Solutions: - * Go to the directory containing a pom file. - * type: mvn org.apache.maven.dotnet.plugins:maven-solution-plugin:solution - - If the project was multi-module, the plugin will pick those up as well. - -Setting up the Visual Studio 2005 Addin: - After building the project with bootstrap-build -DVisualStudio2005 - * Deploy the components/dotnet-service/embedder/target/dotnet-service-embedder.war file on a standard web server - running port 8080. - * To generate the Addin for VisualStudio type: mvn org.apache.maven.dotnet.plugins:maven-vsinstaller-plugin:install - * Start the IDE - * Click on an NMaven project - * Click on Tools/NMaven Addin - -Changing NMaven's Version: - If you need to either update (or change) NMaven's project version, run the following: - modify-versions.bat <<new_nmaven_version>> <<new_maven_version>> - For example, - modify-versions.bat 0.15 2.1-SNAPSHOT - changes the maven version to 0.15 and changes (or leaves) the maven version as 2.1-SNAPSHOT - - This changes all of the versions within the pom.xml files. - - If you also need to override the maven version at build time (it is currently set to maven-2.1-SNAPSHOT) - bootstrap-build.bat -DmavenVersion=<<new_version>> - -Building Against NonPublic Repo (For release versions) - Deploy local versioned snapshot of maven 2.1 to internal repo - Deploy openrdf artifacts to internal repo - Deploy Castle artifacts to internal repo - Modify version to internal release version (as shown above) - Manually change the mavenVersion property in the pom.xml to a release version - Type: bootstrap-build.bat -DrdfProfile.none -DVisualStudio2005 -DmavenVersion=<<Internal versioned copy of 2.1>> - Modified: incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-assembler/src/main/java/org/apache/maven/dotnet/assembler/AssemblyInfoMarshallerAnnotation.java URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-assembler/src/main/java/org/apache/maven/dotnet/assembler/AssemblyInfoMarshallerAnnotation.java?rev=603682&r1=603681&r2=603682&view=diff ============================================================================== --- incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-assembler/src/main/java/org/apache/maven/dotnet/assembler/AssemblyInfoMarshallerAnnotation.java (original) +++ incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-assembler/src/main/java/org/apache/maven/dotnet/assembler/AssemblyInfoMarshallerAnnotation.java Wed Dec 12 09:41:17 2007 @@ -1,3 +1,21 @@ +/* + * 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.assembler; import org.apache.maven.dotnet.ProgrammingLanguage; Modified: incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/ClassCompiler.java URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/ClassCompiler.java?rev=603682&r1=603681&r2=603682&view=diff ============================================================================== --- incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/ClassCompiler.java (original) +++ incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/ClassCompiler.java Wed Dec 12 09:41:17 2007 @@ -1,7 +1,24 @@ +/* + * 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.compiler; import java.io.File; -import java.util.Set; import java.util.List; public interface ClassCompiler Modified: incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/CommandExecutor.java URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/CommandExecutor.java?rev=603682&r1=603681&r2=603682&view=diff ============================================================================== --- incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/CommandExecutor.java (original) +++ incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/CommandExecutor.java Wed Dec 12 09:41:17 2007 @@ -1,3 +1,21 @@ +/* + * 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.compiler; import org.codehaus.plexus.logging.Logger; @@ -7,8 +25,6 @@ import org.codehaus.plexus.util.cli.CommandLineException; import org.codehaus.plexus.util.cli.DefaultConsumer; -import java.util.Set; -import java.util.HashSet; import java.util.List; import java.util.ArrayList; import java.io.File; Modified: incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/CompilerAnnotation.java URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/CompilerAnnotation.java?rev=603682&r1=603681&r2=603682&view=diff ============================================================================== --- incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/CompilerAnnotation.java (original) +++ incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/CompilerAnnotation.java Wed Dec 12 09:41:17 2007 @@ -1,3 +1,21 @@ +/* + * 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.compiler; import org.apache.maven.dotnet.ProgrammingLanguage; Modified: incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/CompilerConfig.java URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/CompilerConfig.java?rev=603682&r1=603681&r2=603682&view=diff ============================================================================== --- incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/CompilerConfig.java (original) +++ incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/CompilerConfig.java Wed Dec 12 09:41:17 2007 @@ -1,3 +1,21 @@ +/* + * 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.compiler; import org.apache.maven.dotnet.ProgrammingLanguage; @@ -32,7 +50,7 @@ /** * Sets the artifact type for the compiler plugin: library, module, exe, winexe or nar * - * @param artifactType + * @param artifactType the artifact type for the compiler plugin: library, module, exe, winexe or nar */ void setArtifactType( ArtifactType artifactType ); @@ -69,6 +87,11 @@ */ File getTargetDirectory(); + /** + * Returns the programming language that the compiler should use. + * + * @return the programming language that the compiler should use + */ ProgrammingLanguage getProgrammingLanguage(); void setProgrammingLanguage( ProgrammingLanguage programLanguage ); @@ -81,6 +104,11 @@ void setArtifactFileName(String artifactFileName); + /** + * Verifies that the necessary parameters exist within the config exist and are valid. + * + * @throws IllegalArgumentException if the necessary parameters do not exist or are are invalid. + */ void verifyCompilerConfig() throws IllegalArgumentException; Modified: incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/CompilerContext.java URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/CompilerContext.java?rev=603682&r1=603681&r2=603682&view=diff ============================================================================== --- incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/CompilerContext.java (original) +++ incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/CompilerContext.java Wed Dec 12 09:41:17 2007 @@ -1,7 +1,24 @@ +/* + * 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.compiler; import org.apache.maven.project.MavenProject; -import org.apache.maven.dotnet.PlatformUnsupportedException; import org.apache.maven.dotnet.InitializationException; import java.io.IOException; Modified: incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/CompilerException.java URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/CompilerException.java?rev=603682&r1=603681&r2=603682&view=diff ============================================================================== --- incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/CompilerException.java (original) +++ incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/CompilerException.java Wed Dec 12 09:41:17 2007 @@ -1,3 +1,21 @@ +/* + * 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.compiler; /** Modified: incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/DotnetCompilerConfig.java URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/DotnetCompilerConfig.java?rev=603682&r1=603681&r2=603682&view=diff ============================================================================== --- incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/DotnetCompilerConfig.java (original) +++ incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/DotnetCompilerConfig.java Wed Dec 12 09:41:17 2007 @@ -1,3 +1,21 @@ +/* + * 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.compiler; import org.apache.maven.dotnet.ProgrammingLanguage; Modified: incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/DotnetCompilerContext.java URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/DotnetCompilerContext.java?rev=603682&r1=603681&r2=603682&view=diff ============================================================================== --- incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/DotnetCompilerContext.java (original) +++ incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/DotnetCompilerContext.java Wed Dec 12 09:41:17 2007 @@ -1,3 +1,21 @@ +/* + * 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.compiler; import org.apache.maven.artifact.Artifact; Modified: incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/DotnetCompilerPlatformVersion.java URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/DotnetCompilerPlatformVersion.java?rev=603682&r1=603681&r2=603682&view=diff ============================================================================== --- incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/DotnetCompilerPlatformVersion.java (original) +++ incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/DotnetCompilerPlatformVersion.java Wed Dec 12 09:41:17 2007 @@ -1,3 +1,21 @@ +/* + * 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.compiler; public enum DotnetCompilerPlatformVersion Modified: incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/InvalidArtifactException.java URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/InvalidArtifactException.java?rev=603682&r1=603681&r2=603682&view=diff ============================================================================== --- incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/InvalidArtifactException.java (original) +++ incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/InvalidArtifactException.java Wed Dec 12 09:41:17 2007 @@ -1,3 +1,21 @@ +/* + * 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.compiler; /** Modified: incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/JavaCompilerContext.java URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/JavaCompilerContext.java?rev=603682&r1=603681&r2=603682&view=diff ============================================================================== --- incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/JavaCompilerContext.java (original) +++ incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/JavaCompilerContext.java Wed Dec 12 09:41:17 2007 @@ -1,3 +1,21 @@ +/* + * 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.compiler; public interface JavaCompilerContext extends CompilerContext Modified: incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/KeyInfo.java URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/KeyInfo.java?rev=603682&r1=603681&r2=603682&view=diff ============================================================================== --- incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/KeyInfo.java (original) +++ incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-compiler/src/main/java/org/apache/maven/dotnet/compiler/KeyInfo.java Wed Dec 12 09:41:17 2007 @@ -1,3 +1,21 @@ +/* + * 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.compiler; import java.net.URI; Modified: incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-core/src/main/java/org/apache/maven/dotnet/ArtifactType.java URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-core/src/main/java/org/apache/maven/dotnet/ArtifactType.java?rev=603682&r1=603681&r2=603682&view=diff ============================================================================== --- incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-core/src/main/java/org/apache/maven/dotnet/ArtifactType.java (original) +++ incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-core/src/main/java/org/apache/maven/dotnet/ArtifactType.java Wed Dec 12 09:41:17 2007 @@ -1,3 +1,21 @@ +/* + * 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; /** Modified: incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-core/src/main/java/org/apache/maven/dotnet/BuildDirectories.java URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-core/src/main/java/org/apache/maven/dotnet/BuildDirectories.java?rev=603682&r1=603681&r2=603682&view=diff ============================================================================== --- incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-core/src/main/java/org/apache/maven/dotnet/BuildDirectories.java (original) +++ incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-core/src/main/java/org/apache/maven/dotnet/BuildDirectories.java Wed Dec 12 09:41:17 2007 @@ -1,3 +1,21 @@ +/* + * 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; public enum BuildDirectories Modified: incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-core/src/main/java/org/apache/maven/dotnet/InitializationException.java URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-core/src/main/java/org/apache/maven/dotnet/InitializationException.java?rev=603682&r1=603681&r2=603682&view=diff ============================================================================== --- incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-core/src/main/java/org/apache/maven/dotnet/InitializationException.java (original) +++ incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-core/src/main/java/org/apache/maven/dotnet/InitializationException.java Wed Dec 12 09:41:17 2007 @@ -1,3 +1,21 @@ +/* + * 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; /** Modified: incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-core/src/main/java/org/apache/maven/dotnet/PlatformUnsupportedException.java URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-core/src/main/java/org/apache/maven/dotnet/PlatformUnsupportedException.java?rev=603682&r1=603681&r2=603682&view=diff ============================================================================== --- incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-core/src/main/java/org/apache/maven/dotnet/PlatformUnsupportedException.java (original) +++ incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-core/src/main/java/org/apache/maven/dotnet/PlatformUnsupportedException.java Wed Dec 12 09:41:17 2007 @@ -1,3 +1,21 @@ +/* + * 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; /** Modified: incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-core/src/main/java/org/apache/maven/dotnet/ProgrammingLanguage.java URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-core/src/main/java/org/apache/maven/dotnet/ProgrammingLanguage.java?rev=603682&r1=603681&r2=603682&view=diff ============================================================================== --- incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-core/src/main/java/org/apache/maven/dotnet/ProgrammingLanguage.java (original) +++ incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-core/src/main/java/org/apache/maven/dotnet/ProgrammingLanguage.java Wed Dec 12 09:41:17 2007 @@ -1,3 +1,21 @@ +/* + * 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; public enum ProgrammingLanguage Modified: incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-core/src/main/java/org/apache/maven/dotnet/Vendor.java URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-core/src/main/java/org/apache/maven/dotnet/Vendor.java?rev=603682&r1=603681&r2=603682&view=diff ============================================================================== --- incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-core/src/main/java/org/apache/maven/dotnet/Vendor.java (original) +++ incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-core/src/main/java/org/apache/maven/dotnet/Vendor.java Wed Dec 12 09:41:17 2007 @@ -1,3 +1,21 @@ +/* + * 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; public enum Vendor Modified: incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-extensions-maven/src/main/java/org/apache/maven/dotnet/extensions/compiler/CSharpClassCompiler.java URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-extensions-maven/src/main/java/org/apache/maven/dotnet/extensions/compiler/CSharpClassCompiler.java?rev=603682&r1=603681&r2=603682&view=diff ============================================================================== --- incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-extensions-maven/src/main/java/org/apache/maven/dotnet/extensions/compiler/CSharpClassCompiler.java (original) +++ incubator/nmaven/branches/SI_MAVEN_INTEGRATION/components/dotnet-extensions-maven/src/main/java/org/apache/maven/dotnet/extensions/compiler/CSharpClassCompiler.java Wed Dec 12 09:41:17 2007 @@ -1,3 +1,21 @@ +/* + * 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.extensions.compiler; import java.io.File; Modified: incubator/nmaven/branches/SI_MAVEN_INTEGRATION/plugins/maven-compiler-plugin/src/main/java/org/apache/maven/dotnet/plugin/compiler/CompilerMojo.java URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_MAVEN_INTEGRATION/plugins/maven-compiler-plugin/src/main/java/org/apache/maven/dotnet/plugin/compiler/CompilerMojo.java?rev=603682&r1=603681&r2=603682&view=diff ============================================================================== --- incubator/nmaven/branches/SI_MAVEN_INTEGRATION/plugins/maven-compiler-plugin/src/main/java/org/apache/maven/dotnet/plugin/compiler/CompilerMojo.java (original) +++ incubator/nmaven/branches/SI_MAVEN_INTEGRATION/plugins/maven-compiler-plugin/src/main/java/org/apache/maven/dotnet/plugin/compiler/CompilerMojo.java Wed Dec 12 09:41:17 2007 @@ -1,15 +1,20 @@ -/** - * Maven Mojo for compiling Class files to the .NET Intermediate Language. - * To use a specific vendor (MICROSOFT/MONO) or language, the compiler/language must be previously installed AND - * configured through the plugin-compiler.xml file: otherwise the Mojo either will throw a MojoExecutionException - * telling you that the platform is not supported (occurs if entry is not in plugin-compilers.xml, regardless of - * whether the compiler/language is installed) or will attempt to execute the compiler and fail (occurs if entry is in - * plugin-compilers.xml and the compiler/language is not installed). +/* + * 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 * - * @author Shane Isbell - * @goal compile - * @phase compile - * @description Maven Mojo for compiling class files to the .NET Intermediate Language + * 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; @@ -22,7 +27,6 @@ import org.apache.maven.dotnet.compiler.KeyInfo; import org.apache.maven.dotnet.compiler.InvalidArtifactException; import org.apache.maven.dotnet.ProgrammingLanguage; -import org.apache.maven.dotnet.PlatformUnsupportedException; import org.apache.maven.dotnet.Vendor; import org.apache.maven.dotnet.BuildDirectories; import org.apache.maven.dotnet.ArtifactType; @@ -38,6 +42,14 @@ import java.util.Set; import java.util.HashSet; +/** + * Maven Mojo for compiling Class files to the .NET Intermediate Language. + * + * @author Shane Isbell + * @goal compile + * @phase compile + * @description Maven Mojo for compiling class files to the .NET Intermediate Language + */ public class CompilerMojo extends AbstractMojo { Modified: incubator/nmaven/branches/SI_MAVEN_INTEGRATION/plugins/maven-compiler-plugin/src/main/java/org/apache/maven/dotnet/plugin/compiler/SourceProcessorMojo.java URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_MAVEN_INTEGRATION/plugins/maven-compiler-plugin/src/main/java/org/apache/maven/dotnet/plugin/compiler/SourceProcessorMojo.java?rev=603682&r1=603681&r2=603682&view=diff ============================================================================== --- incubator/nmaven/branches/SI_MAVEN_INTEGRATION/plugins/maven-compiler-plugin/src/main/java/org/apache/maven/dotnet/plugin/compiler/SourceProcessorMojo.java (original) +++ incubator/nmaven/branches/SI_MAVEN_INTEGRATION/plugins/maven-compiler-plugin/src/main/java/org/apache/maven/dotnet/plugin/compiler/SourceProcessorMojo.java Wed Dec 12 09:41:17 2007 @@ -1,3 +1,21 @@ +/* + * 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;