Author: sisbell Date: Sun Feb 11 17:17:19 2007 New Revision: 506204 URL: http://svn.apache.org/viewvc?view=rev&rev=506204 Log: Updated site docs.
Added: incubator/nmaven/trunk/components/dotnet-core/src/main/java/org/apache/maven/dotnet/impl/package.html incubator/nmaven/trunk/components/dotnet-core/src/main/java/org/apache/maven/dotnet/package.html incubator/nmaven/trunk/components/dotnet-executable/src/main/java/org/apache/maven/dotnet/executable/compiler/impl/package.html incubator/nmaven/trunk/components/dotnet-executable/src/main/java/org/apache/maven/dotnet/executable/impl/package.html incubator/nmaven/trunk/components/dotnet-model/assembly-plugins/src/ incubator/nmaven/trunk/components/dotnet-model/assembly-plugins/src/site/ incubator/nmaven/trunk/components/dotnet-model/assembly-plugins/src/site/site.xml (with props) incubator/nmaven/trunk/components/dotnet-model/executable-plugins/src/ incubator/nmaven/trunk/components/dotnet-model/executable-plugins/src/site/ incubator/nmaven/trunk/components/dotnet-model/executable-plugins/src/site/site.xml (with props) incubator/nmaven/trunk/components/dotnet-registry/src/main/java/org/apache/maven/dotnet/registry/impl/package.html incubator/nmaven/trunk/components/dotnet-registry/src/main/java/org/apache/maven/dotnet/registry/package.html incubator/nmaven/trunk/site/src/site/apt/adding-executables.apt Modified: incubator/nmaven/trunk/components/dotnet-artifact/src/main/java/org/apache/maven/dotnet/artifact/impl/package.html incubator/nmaven/trunk/components/dotnet-assembler/src/main/java/org/apache/maven/dotnet/assembler/AssemblyInfoMarshaller.java incubator/nmaven/trunk/components/dotnet-assembler/src/main/java/org/apache/maven/dotnet/assembler/impl/package.html incubator/nmaven/trunk/components/dotnet-core/src/main/resources/META-INF/nmaven/net-dependencies.xml incubator/nmaven/trunk/components/dotnet-model/assembly-plugins/pom.xml incubator/nmaven/trunk/components/dotnet-model/compiler-plugins/compiler-plugins.mdo incubator/nmaven/trunk/components/dotnet-model/compiler-plugins/pom.xml incubator/nmaven/trunk/components/dotnet-model/compiler-plugins/src/site/site.xml incubator/nmaven/trunk/components/dotnet-model/executable-plugins/executable-plugins.mdo incubator/nmaven/trunk/components/dotnet-model/executable-plugins/pom.xml incubator/nmaven/trunk/components/dotnet-vendor/src/main/java/org/apache/maven/dotnet/vendor/impl/package.html incubator/nmaven/trunk/components/pom.xml incubator/nmaven/trunk/site/src/site/apt/adding-plugins.apt incubator/nmaven/trunk/site/src/site/site.xml Modified: incubator/nmaven/trunk/components/dotnet-artifact/src/main/java/org/apache/maven/dotnet/artifact/impl/package.html URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/components/dotnet-artifact/src/main/java/org/apache/maven/dotnet/artifact/impl/package.html?view=diff&rev=506204&r1=506203&r2=506204 ============================================================================== --- incubator/nmaven/trunk/components/dotnet-artifact/src/main/java/org/apache/maven/dotnet/artifact/impl/package.html (original) +++ incubator/nmaven/trunk/components/dotnet-artifact/src/main/java/org/apache/maven/dotnet/artifact/impl/package.html Sun Feb 11 17:17:19 2007 @@ -22,6 +22,6 @@ --> </head> <body bgcolor="white"> - Provides the implementation classes of the <i>org.apache.maven.artifact</i> package. + Provides the implementation classes of the <i>org.apache.maven.dotnet.artifact</i> package. </body> </html> Modified: incubator/nmaven/trunk/components/dotnet-assembler/src/main/java/org/apache/maven/dotnet/assembler/AssemblyInfoMarshaller.java URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/components/dotnet-assembler/src/main/java/org/apache/maven/dotnet/assembler/AssemblyInfoMarshaller.java?view=diff&rev=506204&r1=506203&r2=506204 ============================================================================== --- incubator/nmaven/trunk/components/dotnet-assembler/src/main/java/org/apache/maven/dotnet/assembler/AssemblyInfoMarshaller.java (original) +++ incubator/nmaven/trunk/components/dotnet-assembler/src/main/java/org/apache/maven/dotnet/assembler/AssemblyInfoMarshaller.java Sun Feb 11 17:17:19 2007 @@ -39,11 +39,18 @@ * @param assemblyInfo the assembly info * @param mavenProject the maven project * @param outputStream the output stream to write to (currently unused) - * @throws IOException if there was a problem writing out the class file. + * @throws IOException if there was a problem writing out the class file */ void marshal( AssemblyInfo assemblyInfo, MavenProject mavenProject, OutputStream outputStream ) throws IOException; + /** + * Unmarshalls an AssemblyInfo.* class file. + * + * @param inputStream the input stream of the AssemblyInfo.* class file + * @return an AssemblyInfo object for the specified input stream + * @throws IOException if there was a problem reading the AssemblyInfo class file + */ AssemblyInfo unmarshall( InputStream inputStream) throws IOException; /** Modified: incubator/nmaven/trunk/components/dotnet-assembler/src/main/java/org/apache/maven/dotnet/assembler/impl/package.html URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/components/dotnet-assembler/src/main/java/org/apache/maven/dotnet/assembler/impl/package.html?view=diff&rev=506204&r1=506203&r2=506204 ============================================================================== --- incubator/nmaven/trunk/components/dotnet-assembler/src/main/java/org/apache/maven/dotnet/assembler/impl/package.html (original) +++ incubator/nmaven/trunk/components/dotnet-assembler/src/main/java/org/apache/maven/dotnet/assembler/impl/package.html Sun Feb 11 17:17:19 2007 @@ -22,7 +22,7 @@ --> </head> <body bgcolor="white"> - Provides the implementation classes of the <i>org.apache.maven.assembler</i> package. Implementations include + Provides the implementation classes of the <i>org.apache.maven.dotnent.assembler</i> package. Implementations include assembly info generation for C#, VB and Java. </body> </html> Added: incubator/nmaven/trunk/components/dotnet-core/src/main/java/org/apache/maven/dotnet/impl/package.html URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/components/dotnet-core/src/main/java/org/apache/maven/dotnet/impl/package.html?view=auto&rev=506204 ============================================================================== --- incubator/nmaven/trunk/components/dotnet-core/src/main/java/org/apache/maven/dotnet/impl/package.html (added) +++ incubator/nmaven/trunk/components/dotnet-core/src/main/java/org/apache/maven/dotnet/impl/package.html Sun Feb 11 17:17:19 2007 @@ -0,0 +1,27 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<html> +<head> +<!-- + + @(#)package.html + + Copyright 2006 Shane Isbell + + Licensed 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. + +--> +</head> +<body bgcolor="white"> + Provides the implementation classes of the <i>org.apache.maven.dotnet</i> package. +</body> +</html> \ No newline at end of file Added: incubator/nmaven/trunk/components/dotnet-core/src/main/java/org/apache/maven/dotnet/package.html URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/components/dotnet-core/src/main/java/org/apache/maven/dotnet/package.html?view=auto&rev=506204 ============================================================================== --- incubator/nmaven/trunk/components/dotnet-core/src/main/java/org/apache/maven/dotnet/package.html (added) +++ incubator/nmaven/trunk/components/dotnet-core/src/main/java/org/apache/maven/dotnet/package.html Sun Feb 11 17:17:19 2007 @@ -0,0 +1,27 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<html> +<head> +<!-- + + @(#)package.html + + Copyright 2006 Shane Isbell + + Licensed 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. + +--> +</head> +<body bgcolor="white"> + Provides core interfaces and classes for common exceptions, contexts and registries. +</body> +</html> \ No newline at end of file Modified: incubator/nmaven/trunk/components/dotnet-core/src/main/resources/META-INF/nmaven/net-dependencies.xml URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/components/dotnet-core/src/main/resources/META-INF/nmaven/net-dependencies.xml?view=diff&rev=506204&r1=506203&r2=506204 ============================================================================== --- incubator/nmaven/trunk/components/dotnet-core/src/main/resources/META-INF/nmaven/net-dependencies.xml (original) +++ incubator/nmaven/trunk/components/dotnet-core/src/main/resources/META-INF/nmaven/net-dependencies.xml Sun Feb 11 17:17:19 2007 @@ -9,6 +9,6 @@ <groupId>NMaven.Utility.Settings</groupId> <artifactId>SettingsGenerator</artifactId> <versionId>0.14</versionId> - <type>exe</type> - </netDependency> + <type>exe</type> + </netDependency> </netDependencies> Added: incubator/nmaven/trunk/components/dotnet-executable/src/main/java/org/apache/maven/dotnet/executable/compiler/impl/package.html URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/components/dotnet-executable/src/main/java/org/apache/maven/dotnet/executable/compiler/impl/package.html?view=auto&rev=506204 ============================================================================== --- incubator/nmaven/trunk/components/dotnet-executable/src/main/java/org/apache/maven/dotnet/executable/compiler/impl/package.html (added) +++ incubator/nmaven/trunk/components/dotnet-executable/src/main/java/org/apache/maven/dotnet/executable/compiler/impl/package.html Sun Feb 11 17:17:19 2007 @@ -0,0 +1,27 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<html> +<head> +<!-- + + @(#)package.html + + Copyright 2006 Shane Isbell + + Licensed 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. + +--> +</head> +<body bgcolor="white"> + Provides the various compiler implementation classes of the <i>CompilerExecutable</i> interface. +</body> +</html> \ No newline at end of file Added: incubator/nmaven/trunk/components/dotnet-executable/src/main/java/org/apache/maven/dotnet/executable/impl/package.html URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/components/dotnet-executable/src/main/java/org/apache/maven/dotnet/executable/impl/package.html?view=auto&rev=506204 ============================================================================== --- incubator/nmaven/trunk/components/dotnet-executable/src/main/java/org/apache/maven/dotnet/executable/impl/package.html (added) +++ incubator/nmaven/trunk/components/dotnet-executable/src/main/java/org/apache/maven/dotnet/executable/impl/package.html Sun Feb 11 17:17:19 2007 @@ -0,0 +1,28 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<html> +<head> +<!-- + + @(#)package.html + + Copyright 2006 Shane Isbell + + Licensed 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. + +--> +</head> +<body bgcolor="white"> + Provides the implementation classes of the <i>org.apache.maven.dotnet.executable</i> and + <i>org.apache.maven.dotnet.executable.compiler</i> packages. +</body> +</html> \ No newline at end of file Modified: incubator/nmaven/trunk/components/dotnet-model/assembly-plugins/pom.xml URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/components/dotnet-model/assembly-plugins/pom.xml?view=diff&rev=506204&r1=506203&r2=506204 ============================================================================== --- incubator/nmaven/trunk/components/dotnet-model/assembly-plugins/pom.xml (original) +++ incubator/nmaven/trunk/components/dotnet-model/assembly-plugins/pom.xml Sun Feb 11 17:17:19 2007 @@ -1,55 +1,86 @@ -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - <parent> - <groupId>org.apache.maven.dotnet</groupId> - <version>0.14-SNAPSHOT</version> - <artifactId>dotnet-model</artifactId> - </parent> - <modelVersion>4.0.0</modelVersion> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <parent> <groupId>org.apache.maven.dotnet</groupId> - <artifactId>dotnet-model-assembly-plugins</artifactId> <version>0.14-SNAPSHOT</version> - <name>dotnet-model-assembly-plugins</name> - <description> - Assembly Model - </description> - - <build> - <plugins> - <plugin> - <groupId>org.codehaus.modello</groupId> - <artifactId>modello-maven-plugin</artifactId> - <version>1.0-alpha-10</version> - <executions> - <execution> - <goals> - <goal>xpp3-reader</goal> - <goal>java</goal> - </goals> - </execution> - </executions> - - <configuration> - <model>assembly-plugins.mdo</model> - <version>1.0.0</version> - </configuration> - </plugin> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <source>1.5</source> - <target>1.5</target> - </configuration> - </plugin> - </plugins> - </build> - - <dependencies> - <dependency> - <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-utils</artifactId> - <version>1.0.4</version> - </dependency> - </dependencies> + <artifactId>dotnet-model</artifactId> + </parent> + <modelVersion>4.0.0</modelVersion> + <groupId>org.apache.maven.dotnet</groupId> + <artifactId>dotnet-model-assembly-plugins</artifactId> + <version>0.14-SNAPSHOT</version> + <name>dotnet-model-assembly-plugins</name> + <description> + Assembly model used for reading in information about assembly info marshallers. + </description> + <build> + <resources> + <resource> + <directory>${basedir}/src/site</directory> + </resource> + </resources> + <plugins> + <plugin> + <groupId>org.codehaus.modello</groupId> + <artifactId>modello-maven-plugin</artifactId> + <version>1.0-alpha-10</version> + <executions> + <execution> + <goals> + <goal>xpp3-reader</goal> + <goal>java</goal> + </goals> + </execution> + <execution> + <id>site</id> + <phase>pre-site</phase> + <goals> + <goal>xdoc</goal> + </goals> + </execution> + </executions> + <configuration> + <model>assembly-plugins.mdo</model> + <version>1.0.0</version> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <source>1.5</source> + <target>1.5</target> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-site-plugin</artifactId> + <configuration> + <workingDirectory>${project.build.directory}/site</workingDirectory> + <siteDirectory>${project.build.directory}/generated-site</siteDirectory> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-resources-plugin</artifactId> + <configuration> + <outputDirectory>${project.build.directory}/generated-site</outputDirectory> + </configuration> + </plugin> + </plugins> + </build> + <dependencies> + <dependency> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-utils</artifactId> + <version>1.0.4</version> + </dependency> + </dependencies> + <distributionManagement> + <site> + <id>nmaven-apache-site</id> + <name>NMaven Site</name> + <url>file://${basedir}/../../../../www/components/dotnet-model/assembly-plugins</url> + </site> + </distributionManagement> </project> Added: incubator/nmaven/trunk/components/dotnet-model/assembly-plugins/src/site/site.xml URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/components/dotnet-model/assembly-plugins/src/site/site.xml?view=auto&rev=506204 ============================================================================== --- incubator/nmaven/trunk/components/dotnet-model/assembly-plugins/src/site/site.xml (added) +++ incubator/nmaven/trunk/components/dotnet-model/assembly-plugins/src/site/site.xml Sun Feb 11 17:17:19 2007 @@ -0,0 +1,20 @@ +<project name="NMaven"> + <bannerRight> + <src>./images/apache-incubator-logo.png</src> + </bannerRight> + + <body> + <links> + <item name="Project Site" href="http://incubator.apache.org/projects/nmaven.html"/> + <item name="NMaven" href="http://incubator.apache.org/nmaven"/> + <item name="NMaven SVN" href="http://svn.apache.org/repos/asf/incubator/nmaven/"/> + <item name="Maven" href="http://maven.apache.org/"/> + <item name="Mono Project" href="http://www.mono-project.com/"/> + <item name="DotGNU" href="http://dotgnu.org/"/> + </links> + <menu name="General Info"> + <item name="About" href="assembly-plugin.html"/> + </menu> + ${reports} + </body> +</project> \ No newline at end of file Propchange: incubator/nmaven/trunk/components/dotnet-model/assembly-plugins/src/site/site.xml ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/nmaven/trunk/components/dotnet-model/compiler-plugins/compiler-plugins.mdo URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/components/dotnet-model/compiler-plugins/compiler-plugins.mdo?view=diff&rev=506204&r1=506203&r2=506204 ============================================================================== --- incubator/nmaven/trunk/components/dotnet-model/compiler-plugins/compiler-plugins.mdo (original) +++ incubator/nmaven/trunk/components/dotnet-model/compiler-plugins/compiler-plugins.mdo Sun Feb 11 17:17:19 2007 @@ -67,7 +67,7 @@ </field> <field> <name>frameworkVersions</name> - <description>Supported framework version(s) of the compiler: 1.1.4322, 2.0.50727</description> + <description>Supported framework version(s) of the compiler: 1.1.4322, 2.0.50727, 3.0</description> <association> <type>String</type> <multiplicity>*</multiplicity> Modified: incubator/nmaven/trunk/components/dotnet-model/compiler-plugins/pom.xml URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/components/dotnet-model/compiler-plugins/pom.xml?view=diff&rev=506204&r1=506203&r2=506204 ============================================================================== --- incubator/nmaven/trunk/components/dotnet-model/compiler-plugins/pom.xml (original) +++ incubator/nmaven/trunk/components/dotnet-model/compiler-plugins/pom.xml Sun Feb 11 17:17:19 2007 @@ -1,72 +1,82 @@ -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - <parent> - <groupId>org.apache.maven.dotnet</groupId> - <version>0.14-SNAPSHOT</version> - <artifactId>dotnet-model</artifactId> - </parent> - <modelVersion>4.0.0</modelVersion> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <parent> <groupId>org.apache.maven.dotnet</groupId> - <artifactId>dotnet-model-compiler-plugins</artifactId> <version>0.14-SNAPSHOT</version> - <name>dotnet-model-compiler-plugins</name> - <description> - Compiler Model - </description> - - - <build> - <plugins> - <plugin> - <groupId>org.codehaus.modello</groupId> - <artifactId>modello-maven-plugin</artifactId> - <version>1.0-alpha-10</version> - <executions> - <execution> - <goals> - <goal>xpp3-reader</goal> - <goal>java</goal> - </goals> - </execution> - </executions> - - <configuration> - <model>compiler-plugins.mdo</model> - <version>1.0.0</version> - </configuration> - </plugin> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <source>1.5</source> - <target>1.5</target> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-site-plugin</artifactId> - <configuration> - <workingDirectory>${project.build.directory}/site</workingDirectory> - <siteDirectory>${project.build.directory}/generated-site</siteDirectory> - - </configuration> - </plugin> - </plugins> - </build> - - <dependencies> - <dependency> - <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-utils</artifactId> - <version>1.0.4</version> - </dependency> - </dependencies> - <distributionManagement> - <site> - <id>nmaven-site</id> - <name>NMaven Site</name> - <url>scp://shell.sourceforge.net//home/groups/n/nm/nmaven/htdocs/components/nmaven-model/nmaven-compile-plugin</url> - </site> - </distributionManagement> + <artifactId>dotnet-model</artifactId> + </parent> + <modelVersion>4.0.0</modelVersion> + <groupId>org.apache.maven.dotnet</groupId> + <artifactId>dotnet-model-compiler-plugins</artifactId> + <version>0.14-SNAPSHOT</version> + <name>dotnet-model-compiler-plugins</name> + <description> + Compiler Model + </description> + <build> + <plugins> + <plugin> + <groupId>org.codehaus.modello</groupId> + <artifactId>modello-maven-plugin</artifactId> + <version>1.0-alpha-10</version> + <executions> + <execution> + <goals> + <goal>xpp3-reader</goal> + <goal>java</goal> + </goals> + </execution> + <execution> + <id>site</id> + <phase>pre-site</phase> + <goals> + <goal>xdoc</goal> + </goals> + </execution> + </executions> + <configuration> + <model>compiler-plugins.mdo</model> + <version>1.0.0</version> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <source>1.5</source> + <target>1.5</target> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-site-plugin</artifactId> + <configuration> + <workingDirectory>${project.build.directory}/site</workingDirectory> + <siteDirectory>${project.build.directory}/generated-site</siteDirectory> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-resources-plugin</artifactId> + <configuration> + <outputDirectory>${project.build.directory}/generated-site</outputDirectory> + </configuration> + </plugin> + </plugins> + </build> + + <dependencies> + <dependency> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-utils</artifactId> + <version>1.0.4</version> + </dependency> + </dependencies> + <distributionManagement> + <site> + <id>nmaven-apache-site</id> + <name>NMaven Site</name> + <url>file://${basedir}/../../../../www/components/dotnet-model/compiler-plugins</url> + </site> + </distributionManagement> </project> Modified: incubator/nmaven/trunk/components/dotnet-model/compiler-plugins/src/site/site.xml URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/components/dotnet-model/compiler-plugins/src/site/site.xml?view=diff&rev=506204&r1=506203&r2=506204 ============================================================================== --- incubator/nmaven/trunk/components/dotnet-model/compiler-plugins/src/site/site.xml (original) +++ incubator/nmaven/trunk/components/dotnet-model/compiler-plugins/src/site/site.xml Sun Feb 11 17:17:19 2007 @@ -1,26 +1,20 @@ <project name="NMaven"> - <bannerRight> - <src>http://sflogo.sourceforge.net/sflogo.php?group_id=176362&type=4</src> - </bannerRight> + <bannerRight> + <src>./images/apache-incubator-logo.png</src> + </bannerRight> - <body> - <links> - <item name="Project Site" href="http://sourceforge.net/projects/nmaven/"/> - <item name="NMaven" href="http://nmaven.sourceforge.net/"/> - <item name="NMaven SVN" href="http://svn.sourceforge.net/viewvc/nmaven/"/> - <item name="Maven" href="http://maven.apache.org/"/> - <item name="Mono Project" href="http://www.mono-project.com/"/> - <item name="DotGNU" href="http://dotgnu.org/"/> - </links> - <menu name="General Info"> - <item name="About" href="index.html"/> - <item name="Features" href="features.html"/> - <item name="Getting Started" href="getting-started.html"/> - <item name="Plugins" href="/plugins/index.html"/> - <item name="Adding Compilers" href="adding-plugins.html"/> - <item name="Configuration" href="environment-configuration.html"/> - <item name="Download" href="http://sourceforge.net/project/showfiles.php?group_id=176362"/> - </menu> - ${reports} - </body> + <body> + <links> + <item name="Project Site" href="http://incubator.apache.org/projects/nmaven.html"/> + <item name="NMaven" href="http://incubator.apache.org/nmaven"/> + <item name="NMaven SVN" href="http://svn.apache.org/repos/asf/incubator/nmaven/"/> + <item name="Maven" href="http://maven.apache.org/"/> + <item name="Mono Project" href="http://www.mono-project.com/"/> + <item name="DotGNU" href="http://dotgnu.org/"/> + </links> + <menu name="General Info"> + <item name="About" href="compiler-plugin.html"/> + </menu> + ${reports} + </body> </project> Modified: incubator/nmaven/trunk/components/dotnet-model/executable-plugins/executable-plugins.mdo URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/components/dotnet-model/executable-plugins/executable-plugins.mdo?view=diff&rev=506204&r1=506203&r2=506204 ============================================================================== --- incubator/nmaven/trunk/components/dotnet-model/executable-plugins/executable-plugins.mdo (original) +++ incubator/nmaven/trunk/components/dotnet-model/executable-plugins/executable-plugins.mdo Sun Feb 11 17:17:19 2007 @@ -61,7 +61,7 @@ </field> <field> <name>frameworkVersions</name> - <description>Supported framework version(s) of the compiler: 1.1.4322, 2.0.50727</description> + <description>Supported framework version(s) of the compiler: 1.1.4322, 2.0.50727, 3.0</description> <association> <type>String</type> <multiplicity>*</multiplicity> Modified: incubator/nmaven/trunk/components/dotnet-model/executable-plugins/pom.xml URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/components/dotnet-model/executable-plugins/pom.xml?view=diff&rev=506204&r1=506203&r2=506204 ============================================================================== --- incubator/nmaven/trunk/components/dotnet-model/executable-plugins/pom.xml (original) +++ incubator/nmaven/trunk/components/dotnet-model/executable-plugins/pom.xml Sun Feb 11 17:17:19 2007 @@ -1,70 +1,81 @@ -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - <parent> - <groupId>org.apache.maven.dotnet</groupId> - <version>0.14-SNAPSHOT</version> - <artifactId>dotnet-model</artifactId> - </parent> - <modelVersion>4.0.0</modelVersion> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <parent> <groupId>org.apache.maven.dotnet</groupId> - <artifactId>dotnet-model-executable-plugins</artifactId> <version>0.14-SNAPSHOT</version> - <name>dotnet-model-executable-plugins</name> - <description> - Executable Model - </description> - <build> - <plugins> - <plugin> - <groupId>org.codehaus.modello</groupId> - <artifactId>modello-maven-plugin</artifactId> - <version>1.0-alpha-10</version> - <executions> - <execution> - <goals> - <goal>xpp3-reader</goal> - <goal>java</goal> - </goals> - </execution> - </executions> - - <configuration> - <model>executable-plugins.mdo</model> - <version>1.0.0</version> - </configuration> - </plugin> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <source>1.5</source> - <target>1.5</target> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-site-plugin</artifactId> - <configuration> - <workingDirectory>${project.build.directory}/site</workingDirectory> - <siteDirectory>${project.build.directory}/generated-site</siteDirectory> - - </configuration> - </plugin> - </plugins> - </build> - - <dependencies> - <dependency> - <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-utils</artifactId> - <version>1.0.4</version> - </dependency> - </dependencies> - <distributionManagement> - <site> - <id>nmaven-site</id> - <name>NMaven Site</name> - <url>scp://shell.sourceforge.net//home/groups/n/nm/nmaven/htdocs/components/nmaven-model/nmaven-compile-plugin</url> - </site> - </distributionManagement> + <artifactId>dotnet-model</artifactId> + </parent> + <modelVersion>4.0.0</modelVersion> + <groupId>org.apache.maven.dotnet</groupId> + <artifactId>dotnet-model-executable-plugins</artifactId> + <version>0.14-SNAPSHOT</version> + <name>dotnet-model-executable-plugins</name> + <description> + Executable Model + </description> + <build> + <plugins> + <plugin> + <groupId>org.codehaus.modello</groupId> + <artifactId>modello-maven-plugin</artifactId> + <version>1.0-alpha-10</version> + <executions> + <execution> + <goals> + <goal>xpp3-reader</goal> + <goal>java</goal> + </goals> + </execution> + <execution> + <id>site</id> + <phase>pre-site</phase> + <goals> + <goal>xdoc</goal> + </goals> + </execution> + </executions> + <configuration> + <model>executable-plugins.mdo</model> + <version>1.0.0</version> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <source>1.5</source> + <target>1.5</target> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-site-plugin</artifactId> + <configuration> + <workingDirectory>${project.build.directory}/site</workingDirectory> + <siteDirectory>${project.build.directory}/generated-site</siteDirectory> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-resources-plugin</artifactId> + <configuration> + <outputDirectory>${project.build.directory}/generated-site</outputDirectory> + </configuration> + </plugin> + </plugins> + </build> + <dependencies> + <dependency> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-utils</artifactId> + <version>1.0.4</version> + </dependency> + </dependencies> + <distributionManagement> + <site> + <id>nmaven-apache-site</id> + <name>NMaven Site</name> + <url>file://${basedir}/../../../../www/components/dotnet-model/executable-plugins</url> + </site> + </distributionManagement> </project> Added: incubator/nmaven/trunk/components/dotnet-model/executable-plugins/src/site/site.xml URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/components/dotnet-model/executable-plugins/src/site/site.xml?view=auto&rev=506204 ============================================================================== --- incubator/nmaven/trunk/components/dotnet-model/executable-plugins/src/site/site.xml (added) +++ incubator/nmaven/trunk/components/dotnet-model/executable-plugins/src/site/site.xml Sun Feb 11 17:17:19 2007 @@ -0,0 +1,20 @@ +<project name="NMaven"> + <bannerRight> + <src>./images/apache-incubator-logo.png</src> + </bannerRight> + + <body> + <links> + <item name="Project Site" href="http://incubator.apache.org/projects/nmaven.html"/> + <item name="NMaven" href="http://incubator.apache.org/nmaven"/> + <item name="NMaven SVN" href="http://svn.apache.org/repos/asf/incubator/nmaven/"/> + <item name="Maven" href="http://maven.apache.org/"/> + <item name="Mono Project" href="http://www.mono-project.com/"/> + <item name="DotGNU" href="http://dotgnu.org/"/> + </links> + <menu name="General Info"> + <item name="About" href="executable-plugin.html"/> + </menu> + ${reports} + </body> +</project> \ No newline at end of file Propchange: incubator/nmaven/trunk/components/dotnet-model/executable-plugins/src/site/site.xml ------------------------------------------------------------------------------ svn:eol-style = native Added: incubator/nmaven/trunk/components/dotnet-registry/src/main/java/org/apache/maven/dotnet/registry/impl/package.html URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/components/dotnet-registry/src/main/java/org/apache/maven/dotnet/registry/impl/package.html?view=auto&rev=506204 ============================================================================== --- incubator/nmaven/trunk/components/dotnet-registry/src/main/java/org/apache/maven/dotnet/registry/impl/package.html (added) +++ incubator/nmaven/trunk/components/dotnet-registry/src/main/java/org/apache/maven/dotnet/registry/impl/package.html Sun Feb 11 17:17:19 2007 @@ -0,0 +1,27 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<html> +<head> +<!-- + + @(#)package.html + + Copyright 2006 Shane Isbell + + Licensed 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. + +--> +</head> +<body bgcolor="white"> + Provides the implementation classes of the <i>org.apache.maven.dotnet.registry</i> package. +</body> +</html> \ No newline at end of file Added: incubator/nmaven/trunk/components/dotnet-registry/src/main/java/org/apache/maven/dotnet/registry/package.html URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/components/dotnet-registry/src/main/java/org/apache/maven/dotnet/registry/package.html?view=auto&rev=506204 ============================================================================== --- incubator/nmaven/trunk/components/dotnet-registry/src/main/java/org/apache/maven/dotnet/registry/package.html (added) +++ incubator/nmaven/trunk/components/dotnet-registry/src/main/java/org/apache/maven/dotnet/registry/package.html Sun Feb 11 17:17:19 2007 @@ -0,0 +1,28 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<html> +<head> +<!-- + + @(#)package.html + + Copyright 2006 Shane Isbell + + Licensed 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. + +--> +</head> +<body bgcolor="white"> + Provides interfaces and classes for finding configuration information. The core interface of this package is + <code>RepositoryRegistry</code>, which provides the methods for loading the registry and for finding repositories. +</body> +</html> \ No newline at end of file Modified: incubator/nmaven/trunk/components/dotnet-vendor/src/main/java/org/apache/maven/dotnet/vendor/impl/package.html URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/components/dotnet-vendor/src/main/java/org/apache/maven/dotnet/vendor/impl/package.html?view=diff&rev=506204&r1=506203&r2=506204 ============================================================================== --- incubator/nmaven/trunk/components/dotnet-vendor/src/main/java/org/apache/maven/dotnet/vendor/impl/package.html (original) +++ incubator/nmaven/trunk/components/dotnet-vendor/src/main/java/org/apache/maven/dotnet/vendor/impl/package.html Sun Feb 11 17:17:19 2007 @@ -22,6 +22,6 @@ --> </head> <body bgcolor="white"> - Provides the implementation classes of the <i>org.apache.maven.vendor</i> package. + Provides the implementation classes of the <i>org.apache.maven.dotnet.vendor</i> package. </body> </html> Modified: incubator/nmaven/trunk/components/pom.xml URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/components/pom.xml?view=diff&rev=506204&r1=506203&r2=506204 ============================================================================== --- incubator/nmaven/trunk/components/pom.xml (original) +++ incubator/nmaven/trunk/components/pom.xml Sun Feb 11 17:17:19 2007 @@ -6,6 +6,116 @@ <packaging>pom</packaging> <version>0.14-SNAPSHOT</version> <name>dotnet-components</name> + <url>http://incubator.apache.org/nmaven</url> + <description> + NMaven provides Maven 2.x plugins to support building of .NET applications + </description> + <mailingLists> + <mailingList> + <name>NMaven Dev List</name> + <subscribe>[EMAIL PROTECTED]</subscribe> + <unsubscribe>[EMAIL PROTECTED]</unsubscribe> + <post>nmaven-dev@incubator.apache.org</post> + <archive>http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/</archive> + <otherArchives> + <otherArchive>http://www.nabble.com/nmaven-dev-f17655.html</otherArchive> + </otherArchives> + </mailingList> + <mailingList> + <name>NMaven Commits List</name> + <subscribe>[EMAIL PROTECTED]</subscribe> + <unsubscribe>[EMAIL PROTECTED]</unsubscribe> + <post>nmaven-commits@incubator.apache.org</post> + <archive>http://mail-archives.apache.org/mod_mbox/incubator-nmaven-commits/</archive> + <otherArchives> + <otherArchive>http://www.nabble.com/nmaven-commits-f17656.html</otherArchive> + </otherArchives> + </mailingList> + </mailingLists> + <scm> + <url>https://svn.apache.org/repos/asf/incubator/nmaven/</url> + <connection>scm:svn:https://svn.apache.org/repos/asf/incubator/nmaven/</connection> + <developerConnection> + scm:svn:https://svn.apache.org/repos/asf/incubator/nmaven/</developerConnection> + <tag>REL_0_14_SNAPSHOT</tag> + </scm> + <organization> + <name>NMaven</name> + <url>http://incubator.apache.org/nmaven</url> + </organization> + <issueManagement> + <system>JIRA Bugtracking</system> + <url>http://jira.codehaus.org/browse/NMAVEN</url> + </issueManagement> + + <licenses> + <license> + <name>Apache 2.0</name> + <url>LICENSE.txt</url> + </license> + </licenses> + + <developers> + <developer> + <name>Brett Porter</name> + <id>brett</id> + <email>[EMAIL PROTECTED]</email> + <roles> + <role>champion</role> + <role>mentor</role> + </roles> + </developer> + <developer> + <name>Jason van Zyl</name> + <id>jvanzyl</id> + <email>[EMAIL PROTECTED]</email> + <roles> + <role>champion</role> + <role>mentor</role> + </roles> + </developer> + <developer> + <name>Shane Isbell</name> + <id>sisbell</id> + <email>[EMAIL PROTECTED]</email> + <url>http://jroller.com/page/random7</url> + <roles> + <role>committer</role> + </roles> + </developer> + <developer> + <name>Dan Fabulich</name> + <id>dfabulich</id> + <email>[EMAIL PROTECTED]</email> + <roles> + <role>committer</role> + </roles> + </developer> + <developer> + <name>Chris Stevenson</name> + <id>chrisjs</id> + <email>[EMAIL PROTECTED]</email> + <roles> + <role>committer</role> + </roles> + </developer> + <developer> + <name>Trygve Laugstol</name> + <id>trygvis</id> + <email>[EMAIL PROTECTED]</email> + <roles> + <role>committer</role> + </roles> + </developer> + <developer> + <name>James Strachan</name> + <id>jstrachan</id> + <email>[EMAIL PROTECTED]</email> + <roles> + <role>committer</role> + </roles> + </developer> + </developers> <modules> <module>dotnet-core</module> <module>dotnet-model</module> Added: incubator/nmaven/trunk/site/src/site/apt/adding-executables.apt URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/site/src/site/apt/adding-executables.apt?view=auto&rev=506204 ============================================================================== --- incubator/nmaven/trunk/site/src/site/apt/adding-executables.apt (added) +++ incubator/nmaven/trunk/site/src/site/apt/adding-executables.apt Sun Feb 11 17:17:19 2007 @@ -0,0 +1,120 @@ +Adding Executables + +* Adding Executable Info to Config Files + + NMaven has a concept of two types of executables: + + [[1]] An executable plugin that exists in a predetermined place on the file system. These are typically executables + that are part of the .NET framework or part of some other 3rd party program. + + [[2]] An executable plugin that is resolved from a Maven repo. The NMaven .NET plugins, nmaven-utility-rex and nmaven-utility-settings + fall into this category. + + [] + + How you handle each case is slightly different. In the first case, where the executable is already installed on the + file system, you add support for the executable by adding an entry + in the {{{components/dotnet-model/executable-plugins/executable-plugin.html}executable-plugins.xml}} file. Take the example below where XSD is part of the .NET framework. + The MS:XSD:SCHEMA entry uses a standard DefaultNetExecutable implementation. The <<executable>> + tag denotes the command as it is executed from the commandline, in this case xsd. The <<commandFilter>> gives a list + of command options that the plugin will accept from the invoking AbstractMojo implementation. + + NMaven will look at the <<vendor>> and <<framework>> to see if the xsd executable exists within the framework's install root. + If it does, then it constructs the absolute path. If it does not find the file, it will execute without a path (so + in this case you will need to make sure that the executable exists within the system path). + ++----+ + + <executablePlugins> + <executablePlugin> + <identifier>MS:XSD:SCHEMA</identifier> + <pluginClass>org.apache.maven.dotnet.executable.impl.DefaultNetExecutable</pluginClass> + <vendor>MICROSOFT</vendor> + <executable>xsd</executable> + <profile>XSD:SCHEMA</profile> + <frameworkVersions> + <frameworkVersion>2.0.50727</frameworkVersion> + <frameworkVersion>1.1.4322</frameworkVersion> + </frameworkVersions> + <platforms> + <platform> + <operatingSystem>Windows</operatingSystem> + </platform> + </platforms> + <commandFilter> + <includes> + <include>classes</include> + <include>dataset</include> + <include>element</include> + <include>fields</include> + <include>enableDataBinding</include> + <include>namespace</include> + <include>language</include> + <include>out</include> + <include>o</include> + <include>type</include> + <include>uri</include> + <include>parameters</include> + </includes> + </commandFilter> + </executablePlugin> + <executablePlugin> + <identifier>MS:RESGEN</identifier> + <pluginClass>org.apache.maven.dotnet.executable.impl.DefaultNetExecutable</pluginClass> + <vendor>MICROSOFT</vendor> + <executable>resgen</executable> + <profile>RESGEN</profile> + <frameworkVersions> + <frameworkVersion>2.0.50727</frameworkVersion> + <frameworkVersion>1.1.4322</frameworkVersion> + </frameworkVersions> + <platforms> + <platform> + <operatingSystem>Windows</operatingSystem> + </platform> + </platforms> + </executablePlugin> +</executablePlugins> + ++----+ + + In the second case, where the executable is not already installed, you add an entry within the net-dependencies.xml file. + This file tells NMaven how to resolve the executable from a Maven repository. + ++----+ + + <netDependencies> + <netDependency> + <groupId>NMaven.Utility.ResX</groupId> + <artifactId>resx</artifactId> + <versionId>0.14</versionId> + <type>exe</type> + </netDependency> + <netDependency> + <groupId>NMaven.Utility.Settings</groupId> + <artifactId>SettingsGenerator</artifactId> + <versionId>0.14</versionId> + <type>exe</type> + </netDependency> +</netDependencies> + ++----+ + +* Executing an executable from a Mojo + + In the case where you have added the executable entry in the executable-plugins.xml file, + you should use the NetExecutableFactory.getNetExecutableFor method within the Mojo's execute method. + ++----+ + netExecutableFactory.getNetExecutableFor(vendor, frameworkVersion, profile, + project, getCommands(), null).execute(); ++----+ + + + In the case where you have added the net dependency entry in the net-dependencies.xml file, + you should use the NetExecutableFactory.getNetExecutableFromRepository method within the Mojo's execute method. + ++----+ + netExecutableFactory.getNetExecutableFromRepository("NMaven.Utility.ResX", "resx", + vendorInfo, project, localRepository, commands).execute(); ++----+ Modified: incubator/nmaven/trunk/site/src/site/apt/adding-plugins.apt URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/site/src/site/apt/adding-plugins.apt?view=diff&rev=506204&r1=506203&r2=506204 ============================================================================== --- incubator/nmaven/trunk/site/src/site/apt/adding-plugins.apt (original) +++ incubator/nmaven/trunk/site/src/site/apt/adding-plugins.apt Sun Feb 11 17:17:19 2007 @@ -1,17 +1,24 @@ Adding Compilers - To add support for additional compilers, add a compiler-plugins.xml file, similar to - the examples below, in the root of each module that you are building. NMaven will pick it up and add it to the list - of supported compilers. Of course, if your compiler does not work with the DefaultCompiler, you will need to - create your own implementation of org.apache.maven.dotnet.executable.NetExecutable and add the class-name implementation to - the pluginClass tag. + You can add support for additional compilers in two different ways: + + [[1]] Add a compiler-plugins.xml file, similar to the examples below, in the root of each module that you are building. + NMaven will pick it up and add it to the list of supported compilers. + + [[2]] Add a compilerPlugin entry to the master file: components/dotnet-core/src/resources/META-INF/nmaven/compiler-plugins.xml. + + [] + + Of course, if your compiler does not work with the <<<org.apache.maven.dotnet.executable.compiler.impl.DefaultCompiler>>>, you will also need to + create your own implementation of <<<org.apache.maven.dotnet.executable.compiler.CompilerExecutable>>> and add the + fully-qualified class name implementation to the pluginClass tag. * compiler-plugins.xml - * {{{http://svn.sourceforge.net/viewvc/nmaven/components/tags/REL_0_12/nmaven-core/src/main/resources/META-INF/nmaven/compiler-plugins.xml?view=markup}compiler-plugins.xml}} + * {{{https://svn.apache.org/repos/asf/incubator/nmaven/trunk/components/dotnet-core/src/main/resources/META-INF/nmaven/compiler-plugins.xml}compiler-plugins.xml}} is the master plugin file. - * {{{http://nmaven.sourceforge.net/components/nmaven-model/nmaven-compile-plugin/compiler-plugin.html}Compiler Plugins Model}} + * {{{http://incubator.apache.org/nmaven/components/dotnet-model/compiler-plugins/compiler-plugin.html}Compiler Plugins Model}} Example: @@ -86,7 +93,7 @@ NMaven matches a plugin based on four user-specified parameters - vendor, language, framework version and profile - and on one platform parameter: operating system. Sometimes a user may want to target, say C# version 2.0.50727 but would like to - use a different NetCompiler implementation than the standard one. The \<profile/> field gives this capability. The + use a different CompilerExecutable implementation than the standard one. The \<profile/> field gives this capability. The profile also has other uses such using a different set of command filters; or, as in the case of the COMPACT profile, specifying a new set of system assemblies. @@ -136,9 +143,16 @@ * assembly-plugins.xml - For each compiler that implements a new language, you will also need to add an assembly-plugin entry. Currently, this - needs to be placed in the nmaven-core jar (file system access in future release). The AssemblyInfoMarshaller tells the - nmaven framework how to format the AssemblyInfo.*. + For each compiler that implements a new language, you will also need to 1) add an assembly-plugin entry to the + components/dotnet-core/src/resources/META-INF/nmaven/assembly-plugins.xml file and 2) implement a new AssemblyInfoMarshaller + interface (provided the default one does not work). + + The assembly-plugin entry consists of an <<identifier>> (for traceability), + a <<pluginClass>>, which provides the fully-qualified class name of the + {{{https://svn.apache.org/repos/asf/incubator/nmaven/trunk/components/dotnet-assembler/src/main/java/org/apache/maven/dotnet/assembler/AssemblyInfoMarshaller.java}AssemblyInfoMarshaller}} implementation, + the <<language>> (which should match one of the supported .NET languages within the compiler-plugins.xml) and an <<extension>> + that NMaven will use in the class file name (the CS assembly plugin will generate a class file called + AssemblyInfo.cs). +----+ @@ -161,4 +175,5 @@ </assemblyPlugin> </assemblyPlugins> -+----+ \ No newline at end of file ++----+ + Modified: incubator/nmaven/trunk/site/src/site/site.xml URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/site/src/site/site.xml?view=diff&rev=506204&r1=506203&r2=506204 ============================================================================== --- incubator/nmaven/trunk/site/src/site/site.xml (original) +++ incubator/nmaven/trunk/site/src/site/site.xml Sun Feb 11 17:17:19 2007 @@ -17,9 +17,12 @@ <item name="Features" href="features.html"/> <item name="Getting Started" href="getting-started.html"/> <item name="Plugins" href="/plugins/index.html"/> - <item name="Adding Compilers" href="adding-plugins.html"/> <item name="Configuration" href="environment-configuration.html"/> - <item name="JavaDocs" href="apidocs/index.html"/> + </menu> + <menu name="Developer Documentation"> + <item name="Adding Compilers" href="adding-plugins.html"/> + <item name="Adding Executables" href="adding-executables.html"/> + <item name="JavaDocs" href="apidocs/index.html"/> </menu> ${reports} </body>