From nmaven-commits-return-872-apmail-incubator-nmaven-commits-archive=incubator.apache.org@incubator.apache.org Fri Sep 26 14:45:54 2008 Return-Path: Delivered-To: apmail-incubator-nmaven-commits-archive@locus.apache.org Received: (qmail 39708 invoked from network); 26 Sep 2008 14:45:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Sep 2008 14:45:54 -0000 Received: (qmail 83642 invoked by uid 500); 26 Sep 2008 14:45:52 -0000 Delivered-To: apmail-incubator-nmaven-commits-archive@incubator.apache.org Received: (qmail 83612 invoked by uid 500); 26 Sep 2008 14:45:52 -0000 Mailing-List: contact nmaven-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: nmaven-dev@incubator.apache.org Delivered-To: mailing list nmaven-commits@incubator.apache.org Received: (qmail 83601 invoked by uid 99); 26 Sep 2008 14:45:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Sep 2008 07:45:52 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Sep 2008 14:44:47 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id DD7FA23889B9; Fri, 26 Sep 2008 07:45:20 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r699345 [1/3] - in /incubator/nmaven/www/0.16: ./ css/ developer-guide/ images/ images/logos/ installation-guide/ user-guide/ Date: Fri, 26 Sep 2008 14:45:19 -0000 To: nmaven-commits@incubator.apache.org From: brett@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080926144520.DD7FA23889B9@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: brett Date: Fri Sep 26 07:45:17 2008 New Revision: 699345 URL: http://svn.apache.org/viewvc?rev=699345&view=rev Log: Upload by wagon-svn Added: incubator/nmaven/www/0.16/dependency-management.html incubator/nmaven/www/0.16/developer-guide/ incubator/nmaven/www/0.16/developer-guide/integration-tests.html incubator/nmaven/www/0.16/images/close.gif incubator/nmaven/www/0.16/installation-guide/ incubator/nmaven/www/0.16/installation-guide/building.html incubator/nmaven/www/0.16/installation-guide/release.html incubator/nmaven/www/0.16/installation-guide/toolchains.html incubator/nmaven/www/0.16/plugin-management.html incubator/nmaven/www/0.16/plugins.html incubator/nmaven/www/0.16/user-guide/ incubator/nmaven/www/0.16/user-guide/archetypes.html incubator/nmaven/www/0.16/user-guide/assemblies.html incubator/nmaven/www/0.16/user-guide/building-nmaven-projects.html incubator/nmaven/www/0.16/user-guide/creating-projects.html incubator/nmaven/www/0.16/user-guide/dependencies.html incubator/nmaven/www/0.16/user-guide/directory-layout.html incubator/nmaven/www/0.16/user-guide/index.html incubator/nmaven/www/0.16/user-guide/quick-start.html incubator/nmaven/www/0.16/user-guide/testing.html Modified: incubator/nmaven/www/0.16/css/maven-base.css incubator/nmaven/www/0.16/css/maven-theme.css incubator/nmaven/www/0.16/css/print.css incubator/nmaven/www/0.16/css/site.css incubator/nmaven/www/0.16/dependencies.html incubator/nmaven/www/0.16/features.html incubator/nmaven/www/0.16/images/apache-maven-project-2.png incubator/nmaven/www/0.16/images/banner.jpg incubator/nmaven/www/0.16/images/bg.jpg incubator/nmaven/www/0.16/images/breadcrumbs.jpg incubator/nmaven/www/0.16/images/collapsed.gif incubator/nmaven/www/0.16/images/expanded.gif incubator/nmaven/www/0.16/images/external.png incubator/nmaven/www/0.16/images/h3.jpg incubator/nmaven/www/0.16/images/h5.jpg incubator/nmaven/www/0.16/images/icon_error_sml.gif incubator/nmaven/www/0.16/images/icon_info_sml.gif incubator/nmaven/www/0.16/images/icon_success_sml.gif incubator/nmaven/www/0.16/images/icon_warning_sml.gif incubator/nmaven/www/0.16/images/logo_apache.jpg incubator/nmaven/www/0.16/images/logo_maven.jpg incubator/nmaven/www/0.16/images/logos/build-by-maven-black.png incubator/nmaven/www/0.16/images/logos/build-by-maven-white.png incubator/nmaven/www/0.16/images/logos/maven-feather.png incubator/nmaven/www/0.16/images/maven-logo-2.gif incubator/nmaven/www/0.16/images/newwindow.png incubator/nmaven/www/0.16/index.html incubator/nmaven/www/0.16/integration.html incubator/nmaven/www/0.16/issue-tracking.html incubator/nmaven/www/0.16/license.html incubator/nmaven/www/0.16/mail-lists.html incubator/nmaven/www/0.16/project-info.html incubator/nmaven/www/0.16/project-summary.html incubator/nmaven/www/0.16/source-repository.html incubator/nmaven/www/0.16/team-list.html Modified: incubator/nmaven/www/0.16/css/maven-base.css URL: http://svn.apache.org/viewvc/incubator/nmaven/www/0.16/css/maven-base.css?rev=699345&r1=699344&r2=699345&view=diff ============================================================================== --- incubator/nmaven/www/0.16/css/maven-base.css (original) +++ incubator/nmaven/www/0.16/css/maven-base.css Fri Sep 26 07:45:17 2008 @@ -35,11 +35,9 @@ } .xleft, #bannerLeft img { float:left; - text-shadow: #7CFC00 1px 1px 1px; } .xright, #bannerRight { float:right; - text-shadow: #7CFC00 1px 1px 1px; } #banner { padding: 0px; Modified: incubator/nmaven/www/0.16/css/maven-theme.css URL: http://svn.apache.org/viewvc/incubator/nmaven/www/0.16/css/maven-theme.css?rev=699345&r1=699344&r2=699345&view=diff ============================================================================== (empty) Modified: incubator/nmaven/www/0.16/css/print.css URL: http://svn.apache.org/viewvc/incubator/nmaven/www/0.16/css/print.css?rev=699345&r1=699344&r2=699345&view=diff ============================================================================== (empty) Modified: incubator/nmaven/www/0.16/css/site.css URL: http://svn.apache.org/viewvc/incubator/nmaven/www/0.16/css/site.css?rev=699345&r1=699344&r2=699345&view=diff ============================================================================== (empty) Modified: incubator/nmaven/www/0.16/dependencies.html URL: http://svn.apache.org/viewvc/incubator/nmaven/www/0.16/dependencies.html?rev=699345&r1=699344&r2=699345&view=diff ============================================================================== --- incubator/nmaven/www/0.16/dependencies.html (original) +++ incubator/nmaven/www/0.16/dependencies.html Fri Sep 26 07:45:17 2008 @@ -12,7 +12,7 @@ - Apache NMaven 0.15 - Project Dependencies + Apache NMaven - Project Dependencies + + + + + + + + + + +
+ +
+
+
+

Project Dependency Management

+

compile

+

The following is a list of compile dependencies in the DependencyManagement of this project. These dependencies can be included in the submodules to compile and run the submodule:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GroupIdArtifactIdVersionType
org.apache.mavenmaven-artifact2.0.9jar
org.apache.mavenmaven-core2.0.9jar
org.apache.mavenmaven-model2.0.9jar
org.apache.mavenmaven-plugin-api2.0.9jar
org.apache.mavenmaven-project2.0.9jar
org.apache.mavenmaven-toolchain2.0.9jar
org.codehaus.plexusplexus-component-api1.0-alpha-32jar
org.codehaus.plexusplexus-container-default1.0-alpha-32jar
org.codehaus.plexusplexus-utils1.4.6jar
+
+
+ +
+
+
+
+
+ + + Added: incubator/nmaven/www/0.16/developer-guide/integration-tests.html URL: http://svn.apache.org/viewvc/incubator/nmaven/www/0.16/developer-guide/integration-tests.html?rev=699345&view=auto ============================================================================== --- incubator/nmaven/www/0.16/developer-guide/integration-tests.html (added) +++ incubator/nmaven/www/0.16/developer-guide/integration-tests.html Fri Sep 26 07:45:17 2008 @@ -0,0 +1,228 @@ + + + + + + + + + + + + + + + Apache NMaven - Writing and Running Integration Tests + + + + + + + + + + + +
+ +
+
+
+

Writing and Running Integration Tests

+

The integration test suite is one of the best ways to ensure ongoing compatibility of NMaven with various types of projects.

+

Running Integration Tests During the Build

+

The default way to run the integration tests for the current version is during the overall build, like this when run from the top level of the checkout:

+
mvn clean install -Prun-its
+
+

If there are any failures, you will find them in components/maven-dotnet-core-it-runner/target/surefire-reports. The individual projects will be in %TEMP%/it-path-name. Within that directory you will find log.txt that contains the actual build output.

+
+

Running Integration Tests Standalone

+

During development, you may wish to run the suite for a different version to the current one. To do this, switch to the core-integration-tests directory and run the following command:

+
mvn test -Dtest=IntegrationTestSuite -Dnmaven.version=0.15
+
+

If the nmaven.version is omitted, the latest release version will be used.

+

When running the tests standalone, the individual projects will be found in target/test-classes/it-path-name where it-path-name will be replaced by the test's resource directory.

+

If you'd prefer to run just one or more tests, you can use the test argument as above to select the tests to run. For example:

+
mvn test -Dtest=MavenITmng0000CSharpCompileLibrary
+
+
+
+ +
+
+
+
+
+ + + Modified: incubator/nmaven/www/0.16/features.html URL: http://svn.apache.org/viewvc/incubator/nmaven/www/0.16/features.html?rev=699345&r1=699344&r2=699345&view=diff ============================================================================== --- incubator/nmaven/www/0.16/features.html (original) +++ incubator/nmaven/www/0.16/features.html Fri Sep 26 07:45:17 2008 @@ -12,7 +12,7 @@ - Apache NMaven 0.15 - + Apache NMaven - + + + + + + + + + + +
+ +
+
+
+

Building NMaven

+

To build NMaven:

+
  1. Check out the source code from Subversion:
    svn co https://svn.apache.org/repos/asf/incubator/nmaven/trunk nmaven
    +
    +
  2. +
  3. Run the standard Maven installation command:
    mvn install
    +
    +
  4. +
+

To run with integration tests:

+
mvn install -P run-its
+
+
+

Linux Specific Setup

+

Building on Linux may take some extra steps. By default, on many Linux environments, the GNU Compiler for Java is already installed. The current GNU version may not work with NMaven, which requires JDK 1.5. To check which version the system uses, type java -version on the command line. If you see something similar to the following, you will need to take additional steps to get the build setup:

+
java version "1.4.2"
+gij (GNU libgcj) version 4.1.1 20060525 (Red Hat 4.1.1-1)
+
+

Create a file /etc/profile.d/java.sh with the following entries:

+
export JAVA_HOME=/usr/java/jdk1.5.0_09
+export PATH=$JAVA_HOME/bin:$PATH
+
+

Type mvn -version from the command line. You should see the following:

+
java version "1.5.0_09"
+Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b01)
+Java HotSpot(TM) Client VM (build 1.5.0_09-b01, mixed mode, sharing)
+
+

You can try to build with the default version of Mono installed. If it doesn't work, type mono -V on the command line to see what version you are running. If it is below 1.2.3.1, then download the latest mono version, unzip and run rpm from the commandline. Detailed instructions are located here: Installing Mono. Make sure to su to root before installing with these instructions!

+
+ +
+
+
+
+
+ + + Added: incubator/nmaven/www/0.16/installation-guide/release.html URL: http://svn.apache.org/viewvc/incubator/nmaven/www/0.16/installation-guide/release.html?rev=699345&view=auto ============================================================================== --- incubator/nmaven/www/0.16/installation-guide/release.html (added) +++ incubator/nmaven/www/0.16/installation-guide/release.html Fri Sep 26 07:45:17 2008 @@ -0,0 +1,209 @@ + + + + + + + + + + + + + + + Apache NMaven - Building NMaven + + + + + + + + + + + +
+ +
+
+
+ +
+
+
+
+
+ + + Added: incubator/nmaven/www/0.16/installation-guide/toolchains.html URL: http://svn.apache.org/viewvc/incubator/nmaven/www/0.16/installation-guide/toolchains.html?rev=699345&view=auto ============================================================================== --- incubator/nmaven/www/0.16/installation-guide/toolchains.html (added) +++ incubator/nmaven/www/0.16/installation-guide/toolchains.html Fri Sep 26 07:45:17 2008 @@ -0,0 +1,314 @@ + + + + + + + + + + + + + + + Apache NMaven - Configuring Toolchains + + + + + + + + + + + +
+ +
+
+
+

Configuring Toolchains

+

By default NMaven uses the .NET executables on the path (for example, by starting a "SDK Command Prompt" session from the Windows Start Menu). To configure a particular toolchain to use, or to avoid the path configuration requirement you need to configure a Maven toolchain.

+

Toolchains are a new feature in Maven 2.0.9 and above. For more information about the feature in general, see Using Toolchains.

+

There are two steps to this: adding the toolchain plugin to your project (or a common parent), and creating a ~/.m2/toolchains.xml file (alongside your settings.xml file). The following examples show the configuration for the currently available toolchains.

+

Microsoft Toolchain

+

For Microsoft builds you will need both Microsoft .NET Framework (1.1+) *and* NET Framework SDK.

+

To use the Microsoft SDK, configure the Toolchains plugin like the following:

+
 <build>
+   <plugins>
+     <plugin>
+       <groupId>org.apache.maven.plugins</groupId>
+       <artifactId>maven-toolchains-plugin</artifactId>
+       <version>1.0-SNAPSHOT</version>
+       <executions>
+         <execution>
+           <phase>validate</phase>
+           <goals>
+             <goal>toolchain</goal>
+           </goals>
+         </execution>
+       </executions>
+       <configuration>
+         <toolchains>
+           <dotnet>
+             <vendor>MICROSOFT</vendor>
+           </dotnet>
+         </toolchains>
+       </configuration>
+     </plugin>
+   </plugins>
+ </build>  
+
+

This will select the MICROSOFT vendor from the toolchains file. This requires adding configuration such as the following to your ~/.m2/toolchains.xml file:

+
<?xml version="1.0" encoding="UTF8"?>
+
+<toolchains>
+  <toolchain>
+    <type>dotnet</type>
+    <provides>
+      <frameworkVersion>2.0</frameworkVersion>
+      <vendorVersion>2.0.50727</vendorVersion>
+      <vendor>MICROSOFT</vendor>
+      <id>.NET Framework 2.0</id>
+    </provides>
+    <configuration>
+      <csharpCompiler>C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe</csharpCompiler>
+      <nunitConsole>C:\Program Files\NUnit 2.4.8\bin\nunit-console.exe</nunitConsole>
+      <installRoot>C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727</installRoot>
+      <sdkInstallRoot>C:\Program Files\Microsoft.NET\SDK\v2.0</sdkInstallRoot>
+    </configuration>
+  </toolchain>
+</toolchains>
+
+
+

Mono Toolchain

+

For Mono builds, you will need Mono (tested with 1.2.3.1+).

+

To use the Mono SDK, configure the Toolchains plugin like the following:

+
 <build>
+   <plugins>
+     <plugin>
+       <groupId>org.apache.maven.plugins</groupId>
+       <artifactId>maven-toolchains-plugin</artifactId>
+       <version>1.0-SNAPSHOT</version>
+       <executions>
+         <execution>
+           <phase>validate</phase>
+           <goals>
+             <goal>toolchain</goal>
+           </goals>
+         </execution>
+       </executions>
+       <configuration>
+         <toolchains>
+           <dotnet>
+             <vendor>MONO</vendor>
+           </dotnet>
+         </toolchains>
+       </configuration>
+     </plugin>
+   </plugins>
+ </build>  
+
+

This will select the MONO vendor from the toolchains file. This requires adding configuration such as the following to your ~/.m2/toolchains.xml file:

+
<?xml version="1.0" encoding="UTF8"?>
+
+<toolchains>
+  <toolchain>
+    <type>dotnet</type>
+    <provides>
+      <frameworkVersion>2.0</frameworkVersion>
+      <vendorVersion>1.9.1</vendorVersion>
+      <vendor>MONO</vendor>
+      <id>Mono 1.9.1</id>
+    </provides>
+    <configuration>
+      <csharpCompiler>C:\Program Files\Mono-1.9.1\lib\mono\1.0\mcs.exe</csharpCompiler>
+      <nunitConsole>C:\Program Files\NUnit 2.4.8\bin\nunit-console.exe</nunitConsole>
+      <installRoot>C:\Program Files\Mono-1.9.1</installRoot>
+      <sdkInstallRoot>C:\Program Files\Mono-1.9.1\lib\mono\2.0</sdkInstallRoot>
+    </configuration>
+  </toolchain>
+</toolchains>
+
+
+
+ +
+
+
+
+
+ + + Modified: incubator/nmaven/www/0.16/integration.html URL: http://svn.apache.org/viewvc/incubator/nmaven/www/0.16/integration.html?rev=699345&r1=699344&r2=699345&view=diff ============================================================================== --- incubator/nmaven/www/0.16/integration.html (original) +++ incubator/nmaven/www/0.16/integration.html Fri Sep 26 07:45:17 2008 @@ -12,7 +12,7 @@ - Apache NMaven 0.15 - Continuous Integration + Apache NMaven - Continuous Integration