You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by be...@apache.org on 2008/09/30 13:07:41 UTC
svn commit: r700413 - in
/maven/plugin-tools/trunk/maven-plugin-tools-javadoc: ./ src/it/
src/it/basic/ src/it/basic/src/ src/it/basic/src/main/
src/it/basic/src/main/java/ src/it/basic/src/main/java/org/
src/it/basic/src/main/java/org/apache/ src/it/b...
Author: bentmann
Date: Tue Sep 30 04:07:40 2008
New Revision: 700413
URL: http://svn.apache.org/viewvc?rev=700413&view=rev
Log:
o Converted "unit" test into full-blown IT (e.g. to support repo managers)
Added:
maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/
maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/basic/
maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/basic/pom.xml (with props)
maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/basic/src/
maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/basic/src/main/
maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/basic/src/main/java/
maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/basic/src/main/java/org/
maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/basic/src/main/java/org/apache/
maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/basic/src/main/java/org/apache/maven/
maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/basic/src/main/java/org/apache/maven/plugin/
maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/basic/src/main/java/org/apache/maven/plugin/my/
maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/basic/src/main/java/org/apache/maven/plugin/my/MyMojo.java (with props)
maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/basic/verify.bsh (with props)
maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/settings.xml (with props)
Removed:
maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/test/
Modified:
maven/plugin-tools/trunk/maven-plugin-tools-javadoc/pom.xml
Modified: maven/plugin-tools/trunk/maven-plugin-tools-javadoc/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-tools-javadoc/pom.xml?rev=700413&r1=700412&r2=700413&view=diff
==============================================================================
--- maven/plugin-tools/trunk/maven-plugin-tools-javadoc/pom.xml (original)
+++ maven/plugin-tools/trunk/maven-plugin-tools-javadoc/pom.xml Tue Sep 30 04:07:40 2008
@@ -54,8 +54,8 @@
<property>
<name>java.vendor</name>
<value>Sun Microsystems Inc.</value>
- </property>
- </activation>
+ </property>
+ </activation>
<dependencies>
<dependency>
<groupId>com.sun</groupId>
@@ -63,106 +63,41 @@
<version>1.4.2</version>
<scope>system</scope>
<systemPath>${java.home}/../lib/tools.jar</systemPath>
- </dependency>
- </dependencies>
- </profile>
- <profile>
- <id>unit-tests</id>
- <activation>
- <property>
- <name>maven.test.skip</name>
- <value>!true</value>
- </property>
- </activation>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.3</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.maven.plugin-testing</groupId>
- <artifactId>maven-plugin-testing-harness</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.codehaus.plexus</groupId>
- <artifactId>plexus-container-default</artifactId>
- <scope>test</scope>
</dependency>
</dependencies>
-
+ </profile>
+ <profile>
+ <id>run-its</id>
<build>
<plugins>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>1.1</version>
- <executions>
- <execution>
- <id>it-test</id>
- <phase>process-test-resources</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <tasks>
- <copy todir="${project.build.testOutputDirectory}/unit" encoding="UTF-8" overwrite="true">
- <fileset dir="${basedir}/src/test/resources/unit" includes="**/*.xml" />
- <filterset>
- <filter token="project.version" value="${project.version}" />
- </filterset>
- </copy>
- </tasks>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <executions>
- <execution>
- <id>it-test</id>
- <phase>process-test-classes</phase>
- <goals>
- <goal>jar</goal>
- </goals>
- <configuration>
- <finalName>${project.build.finalName}-it</finalName>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-install-plugin</artifactId>
- <version>2.2</version>
+ <artifactId>maven-invoker-plugin</artifactId>
+ <version>1.3</version>
+ <configuration>
+ <debug>true</debug>
+ <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
+ <preBuildHookScript>setup.bsh</preBuildHookScript>
+ <postBuildHookScript>verify.bsh</postBuildHookScript>
+ <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
+ <settingsFile>src/it/settings.xml</settingsFile>
+ <addTestClassPath>true</addTestClassPath>
+ <goals>
+ <goal>clean</goal>
+ <goal>javadoc:javadoc</goal>
+ </goals>
+ </configuration>
<executions>
<execution>
- <id>it-test</id>
- <phase>process-test-classes</phase>
+ <id>integration-test</id>
<goals>
- <goal>install-file</goal>
+ <goal>install</goal>
+ <goal>run</goal>
</goals>
- <configuration>
- <file>${project.build.directory}/${project.build.finalName}-it.jar</file>
- <groupId>${project.groupId}</groupId>
- <artifactId>${project.artifactId}</artifactId>
- <version>${project.version}</version>
- <packaging>${project.packaging}</packaging>
- <pomFile>${basedir}/pom.xml</pomFile>
- <createChecksum>true</createChecksum>
- <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
- <localRepositoryId>it-local-repo</localRepositoryId>
- </configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
- </profile>
+ </profile>
</profiles>
</project>
Added: maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/basic/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/basic/pom.xml?rev=700413&view=auto
==============================================================================
--- maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/basic/pom.xml (added)
+++ maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/basic/pom.xml Tue Sep 30 04:07:40 2008
@@ -0,0 +1,119 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+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.
+-->
+
+<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">
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>org.apache.maven.tools.plugin.javadoc</groupId>
+ <artifactId>test</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>jar</packaging>
+
+ <inceptionYear>2008</inceptionYear>
+ <name>Test Mojo Tags</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-plugin-api</artifactId>
+ <version>2.0</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.3</version>
+ <configuration>
+ <outputDirectory>${basedir}/target/site/apidocs</outputDirectory>
+
+ <debug>true</debug>
+ <show>private</show>
+ <encoding>ISO-8859-1</encoding>
+ <docencoding>ISO-8859-1</docencoding>
+ <charset>ISO-8859-1</charset>
+
+ <taglets>
+ <taglet>
+ <tagletClass>org.apache.maven.tools.plugin.javadoc.MojoAggregatorTypeTaglet</tagletClass>
+ </taglet>
+ <taglet>
+ <tagletClass>org.apache.maven.tools.plugin.javadoc.MojoComponentFieldTaglet</tagletClass>
+ </taglet>
+ <taglet>
+ <tagletClass>org.apache.maven.tools.plugin.javadoc.MojoConfiguratorTypeTaglet</tagletClass>
+ </taglet>
+ <taglet>
+ <tagletClass>org.apache.maven.tools.plugin.javadoc.MojoExecuteTypeTaglet</tagletClass>
+ </taglet>
+ <taglet>
+ <tagletClass>org.apache.maven.tools.plugin.javadoc.MojoExecutionStrategyTypeTaglet</tagletClass>
+ </taglet>
+ <taglet>
+ <tagletClass>org.apache.maven.tools.plugin.javadoc.MojoGoalTypeTaglet</tagletClass>
+ </taglet>
+ <taglet>
+ <tagletClass>org.apache.maven.tools.plugin.javadoc.MojoInheritByDefaultTypeTaglet</tagletClass>
+ </taglet>
+ <taglet>
+ <tagletClass>org.apache.maven.tools.plugin.javadoc.MojoInstantiationStrategyTypeTaglet</tagletClass>
+ </taglet>
+ <taglet>
+ <tagletClass>org.apache.maven.tools.plugin.javadoc.MojoParameterFieldTaglet</tagletClass>
+ </taglet>
+ <taglet>
+ <tagletClass>org.apache.maven.tools.plugin.javadoc.MojoPhaseTypeTaglet</tagletClass>
+ </taglet>
+ <taglet>
+ <tagletClass>org.apache.maven.tools.plugin.javadoc.MojoReadOnlyFieldTaglet</tagletClass>
+ </taglet>
+ <taglet>
+ <tagletClass>org.apache.maven.tools.plugin.javadoc.MojoRequiredFieldTaglet</tagletClass>
+ </taglet>
+ <taglet>
+ <tagletClass>org.apache.maven.tools.plugin.javadoc.MojoRequiresDependencyResolutionTypeTaglet</tagletClass>
+ </taglet>
+ <taglet>
+ <tagletClass>org.apache.maven.tools.plugin.javadoc.MojoRequiresDirectInvocationTypeTaglet</tagletClass>
+ </taglet>
+ <taglet>
+ <tagletClass>org.apache.maven.tools.plugin.javadoc.MojoRequiresOnLineTypeTaglet</tagletClass>
+ </taglet>
+ <taglet>
+ <tagletClass>org.apache.maven.tools.plugin.javadoc.MojoRequiresProjectTypeTaglet</tagletClass>
+ </taglet>
+ <taglet>
+ <tagletClass>org.apache.maven.tools.plugin.javadoc.MojoRequiresReportsTypeTaglet</tagletClass>
+ </taglet>
+ </taglets>
+
+ <tagletArtifact>
+ <groupId>org.apache.maven.plugin-tools</groupId>
+ <artifactId>maven-plugin-tools-javadoc</artifactId>
+ <version>@project.version@</version>
+ </tagletArtifact>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Propchange: maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/basic/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/basic/pom.xml
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/basic/src/main/java/org/apache/maven/plugin/my/MyMojo.java
URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/basic/src/main/java/org/apache/maven/plugin/my/MyMojo.java?rev=700413&view=auto
==============================================================================
--- maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/basic/src/main/java/org/apache/maven/plugin/my/MyMojo.java (added)
+++ maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/basic/src/main/java/org/apache/maven/plugin/my/MyMojo.java Tue Sep 30 04:07:40 2008
@@ -0,0 +1,116 @@
+package org.apache.maven.plugin.my;
+
+/*
+ * 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.
+ */
+
+import org.apache.maven.plugin.AbstractMojo;
+import org.apache.maven.plugin.MojoExecutionException;
+
+import java.io.File;
+import java.io.FileOutputStream;
+import java.io.OutputStreamWriter;
+import java.io.Writer;
+import java.io.IOException;
+
+/**
+ * Goal which touches a timestamp file.
+ *
+ * @aggregator
+ * @configurator roleHint
+ * @execute phase="validate" lifecycle="default"
+ * @executionStrategy always
+ * @goal touch
+ * @inheritByDefault true
+ * @instantiationStrategy per-lookup
+ * @phase phaseName
+ * @requiresDependencyResolution compile
+ * @requiresDirectInvocation
+ * @requiresOnline
+ * @requiresProject
+ * @requiresReports
+ */
+public class MyMojo
+ extends AbstractMojo
+{
+ /**
+ * Location of the file.
+ *
+ * @parameter expression="${project.build.directory}"
+ * @required
+ */
+ private File outputDirectory;
+
+ /**
+ * Dummy parameter.
+ *
+ * @parameter expression="${project.build.directory}" default-value="value" alias="myAlias"
+ * @required
+ * @readonly
+ */
+ private String dummy;
+
+ /**
+ * Dummy component.
+ *
+ * @component role="org.apacha.maven.MyComponent" roleHint="default"
+ * @required
+ * @readonly
+ */
+ private String component;
+
+ /** {@inheritDoc} */
+ public void execute()
+ throws MojoExecutionException
+ {
+ File f = outputDirectory;
+
+ if ( !f.exists() )
+ {
+ f.mkdirs();
+ }
+
+ File touch = new File( f, "touch.txt" );
+
+ Writer w = null;
+ try
+ {
+ w = new OutputStreamWriter( new FileOutputStream( touch ), "UTF-8" );
+
+ w.write( "touch.txt" );
+ }
+ catch ( IOException e )
+ {
+ throw new MojoExecutionException( "Error creating file " + touch, e );
+ }
+ finally
+ {
+ if ( w != null )
+ {
+ try
+ {
+ w.close();
+ }
+ catch ( IOException e )
+ {
+ // ignore
+ }
+ }
+ }
+ }
+}
Propchange: maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/basic/src/main/java/org/apache/maven/plugin/my/MyMojo.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/basic/src/main/java/org/apache/maven/plugin/my/MyMojo.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/basic/verify.bsh
URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/basic/verify.bsh?rev=700413&view=auto
==============================================================================
--- maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/basic/verify.bsh (added)
+++ maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/basic/verify.bsh Tue Sep 30 04:07:40 2008
@@ -0,0 +1,66 @@
+import java.io.*;
+import java.util.*;
+import java.util.regex.*;
+
+import org.apache.maven.tools.plugin.javadoc.*;
+
+import org.codehaus.plexus.util.*;
+
+setAccessibility( true );
+
+File docsDir = new File( basedir, "target/site/apidocs" );
+System.out.println( "Checking for existence of: " + docsDir );
+if ( !docsDir.exists() )
+{
+ throw new FileNotFoundException( docsDir + " was not created" );
+}
+
+File docFile = new File( docsDir, "org/apache/maven/plugin/my/MyMojo.html" );
+System.out.println( "Checking for existence of: " + docFile );
+if ( !docFile.isFile() )
+{
+ throw new FileNotFoundException( docFile + " was not created" );
+}
+
+String html = FileUtils.fileRead( docFile, "ISO-8859-1").replaceAll( "(\r\n)|(\r)|(\n)", "" );
+
+System.out.println( "Checking for documentation of mojo type" );
+String mojoType = "<dl><dt><b>" + MojoAggregatorTypeTaglet.HEADER + "</b></dt><dd></dd><dt><b>"
+ + MojoConfiguratorTypeTaglet.HEADER + ":</b></dt><dd>roleHint</dd><dt><b>" + MojoExecuteTypeTaglet.HEADER
+ + ":</b></dt><dd><dl><dt><b>phase:</b></dt><dd>validate</dd>"
+ + "<dt><b>lifecycle:</b></dt><dd>default</dd></dl></dd><dt><b>" + MojoExecutionStrategyTypeTaglet.HEADER
+ + ":</b></dt><dd>always</dd>" + "<dt><b>" + MojoGoalTypeTaglet.HEADER + ":</b></dt><dd>touch</dd>"
+ + "<dt><b>" + MojoInheritByDefaultTypeTaglet.HEADER + ":</b></dt><dd>true</dd><dt><b>"
+ + MojoInstantiationStrategyTypeTaglet.HEADER + ":</b></dt><dd>per-lookup</dd><dt><b>"
+ + MojoPhaseTypeTaglet.HEADER + ":</b></dt><dd>phaseName</dd><dt><b>"
+ + MojoRequiresDependencyResolutionTypeTaglet.HEADER + ":</b></dt><dd>compile</dd><dt><b>"
+ + MojoRequiresDirectInvocationTypeTaglet.HEADER + ":</b></dt><dd>false</dd><dt><b>"
+ + MojoRequiresOnLineTypeTaglet.HEADER + ":</b></dt><dd>true</dd><dt><b>"
+ + MojoRequiresProjectTypeTaglet.HEADER + ":</b></dt><dd>true</dd><dt><b>"
+ + MojoRequiresReportsTypeTaglet.HEADER + ":</b></dt><dd>false</dd></dl>";
+if ( html.toLowerCase( Locale.ENGLISH ).indexOf( ( mojoType ).toLowerCase( Locale.ENGLISH ) ) < 0 )
+{
+ throw new IllegalStateException( "Mojo type doc wrong" );
+}
+
+System.out.println( "Checking for documentation of mojo fields" );
+String mojoField = "<dl><dt><b>" + MojoParameterFieldTaglet.HEADER
+ + ":</b></dt><dd><dl><dt><b>default-value:</b></dt>"
+ + "<dd>value</dd><dt><b>expression:</b></dt><dd>${project.build.directory}</dd><dt><b>alias:</b>"
+ + "</dt><dd>myAlias</dd></dl></dd><dt><b>" + MojoReadOnlyFieldTaglet.HEADER + "</b></dt><dd></dd><dt><b>"
+ + MojoRequiredFieldTaglet.HEADER + "</b></dt><dd>" + "</dd></dl>";
+if ( html.toLowerCase( Locale.ENGLISH ).indexOf( ( mojoField ).toLowerCase( Locale.ENGLISH ) ) < 0 )
+{
+ throw new IllegalStateException( "Mojo field doc wrong" );
+}
+
+mojoField = "<dl><dt><b>" + MojoComponentFieldTaglet.HEADER + ":</b></dt><dd><dl><dt><b>role:</b>"
+ + "</dt><dd>org.apacha.maven.MyComponent</dd><dt><b>roleHint:</b></dt><dd>default</dd></dl></dd>"
+ + "<dt><b>" + MojoReadOnlyFieldTaglet.HEADER + "</b></dt><dd></dd><dt><b>" + MojoRequiredFieldTaglet.HEADER
+ + "</b></dt><dd>" + "</dd></dl>";
+if ( html.toLowerCase( Locale.ENGLISH ).indexOf( ( mojoField ).toLowerCase( Locale.ENGLISH ) ) < 0 )
+{
+ throw new IllegalStateException( "Mojo field doc wrong" );
+}
+
+return true;
Propchange: maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/basic/verify.bsh
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/basic/verify.bsh
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/settings.xml
URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/settings.xml?rev=700413&view=auto
==============================================================================
--- maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/settings.xml (added)
+++ maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/settings.xml Tue Sep 30 04:07:40 2008
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+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.
+-->
+
+<settings>
+ <profiles>
+ <profile>
+ <id>it-repo</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <repositories>
+ <repository>
+ <id>local.central</id>
+ <url>@localRepositoryUrl@</url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ <repository>
+ <id>apache.snapshots</id>
+ <name>Apache Snapshot Repository</name>
+ <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>local.central</id>
+ <url>@localRepositoryUrl@</url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </pluginRepository>
+ </pluginRepositories>
+ </profile>
+ </profiles>
+</settings>
Propchange: maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/settings.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/plugin-tools/trunk/maven-plugin-tools-javadoc/src/it/settings.xml
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision