I see. I assume that this (passing the profile) is a temporary fix until a permanent resolution to the circular dependency is found. It feels like I'm doing mvn test -Dmaven.test.skip=true. Thanks for the clarification.
On 12/14/06, Dennis Lundberg <[EMAIL PROTECTED]> wrote:
John Tolentino wrote: > Hi Dennis, > > Thanks for the edits. Docck checks for the two reporting (javadoc and > jxr) plugins though. Should docck exclude the two reporting plugins > from the check/list of errors then? No I don't think so. These two plugins had to be moved to a profile because of the "circular dependency" issue. This is only necessary for our maven-plugins though. Any other project that uses docck does not have this problem. To avoid the errors from docck when working on maven-plugins (i.e org.apache.maven.plugins) you just need to add the profile, like this: mvn -Preporting docck:check > Regards, > John > > On 12/14/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> Author: dennisl >> Date: Thu Dec 14 00:50:11 2006 >> New Revision: 487139 >> >> URL: http://svn.apache.org/viewvc?view=rev&rev=487139 >> Log: >> o Remove reporting plugins that are available in >> maven-plugin-surrogate-parent. You use "mvn -Preporting ..." to >> activate those plugins. >> >> Modified: >> maven/sandbox/plugins/maven-swizzle-plugin/pom.xml >> >> Modified: maven/sandbox/plugins/maven-swizzle-plugin/pom.xml >> URL: >> http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-swizzle-plugin/pom.xml?view=diff&rev=487139&r1=487138&r2=487139 >> >> ============================================================================== >> >> --- maven/sandbox/plugins/maven-swizzle-plugin/pom.xml (original) >> +++ maven/sandbox/plugins/maven-swizzle-plugin/pom.xml Thu Dec 14 >> 00:50:11 2006 >> @@ -1,83 +1,71 @@ >> -<!-- >> - >> -Copyright 2006 >> - >> -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"> >> - <parent> >> - <artifactId>maven-plugins</artifactId> >> - <groupId>org.apache.maven.plugins</groupId> >> - <version>4</version> >> - </parent> >> - <modelVersion>4.0.0</modelVersion> >> - <artifactId>maven-swizzle-plugin</artifactId> >> - <packaging>maven-plugin</packaging> >> - <version>1.0-SNAPSHOT</version> >> - <name>maven-swizzle-plugin Maven Mojo</name> >> - <url>http://maven.apache.org</url> >> - <build> >> - <plugins> >> - <plugin> >> - <groupId>org.apache.maven.plugins</groupId> >> - <artifactId>maven-site-plugin</artifactId> >> - <configuration> >> - >> <excludeModules>org/codehaus/plexus/swizzle/*.vm</excludeModules> >> - </configuration> >> - </plugin> >> - </plugins> >> - </build> >> - <reporting> >> - <plugins> >> - <plugin> >> - <groupId>org.apache.maven.plugins</groupId> >> - <artifactId>maven-javadoc-plugin</artifactId> >> - </plugin> >> - <plugin> >> - <groupId>org.apache.maven.plugins</groupId> >> - <artifactId>maven-jxr-plugin</artifactId> >> - </plugin> >> - </plugins> >> - </reporting> >> - <dependencies> >> - <dependency> >> - <groupId>org.apache.maven</groupId> >> - <artifactId>maven-plugin-api</artifactId> >> - <version>2.0</version> >> - </dependency> >> - <dependency> >> - <groupId>junit</groupId> >> - <artifactId>junit</artifactId> >> - <version>3.8.1</version> >> - <scope>test</scope> >> - </dependency> >> - <dependency> >> - <groupId>org.codehaus.plexus</groupId> >> - <artifactId>plexus-swizzle</artifactId> >> - <version>1.0-SNAPSHOT</version> >> - </dependency> >> - <dependency> >> - <groupId>org.apache.maven.shared</groupId> >> - <artifactId>maven-plugin-testing-harness</artifactId> >> - <version>1.0-beta-1</version> >> - <scope>test</scope> >> - </dependency> >> - </dependencies> >> -</project> >> +<!-- >> + >> +Copyright 2006 >> + >> +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"> >> + <parent> >> + <artifactId>maven-plugins</artifactId> >> + <groupId>org.apache.maven.plugins</groupId> >> + <version>4</version> >> + </parent> >> + <modelVersion>4.0.0</modelVersion> >> + <artifactId>maven-swizzle-plugin</artifactId> >> + <packaging>maven-plugin</packaging> >> + <version>1.0-SNAPSHOT</version> >> + <name>maven-swizzle-plugin Maven Mojo</name> >> + <url>http://maven.apache.org</url> >> + <build> >> + <plugins> >> + <plugin> >> + <groupId>org.apache.maven.plugins</groupId> >> + <artifactId>maven-site-plugin</artifactId> >> + <configuration> >> + >> <excludeModules>org/codehaus/plexus/swizzle/*.vm</excludeModules> >> + </configuration> >> + </plugin> >> + </plugins> >> + </build> >> + <dependencies> >> + <dependency> >> + <groupId>org.apache.maven</groupId> >> + <artifactId>maven-plugin-api</artifactId> >> + <version>2.0</version> >> + </dependency> >> + <dependency> >> + <groupId>junit</groupId> >> + <artifactId>junit</artifactId> >> + <version>3.8.1</version> >> + <scope>test</scope> >> + </dependency> >> + <dependency> >> + <groupId>org.codehaus.plexus</groupId> >> + <artifactId>plexus-swizzle</artifactId> >> + <version>1.0-SNAPSHOT</version> >> + </dependency> >> + <dependency> >> + <groupId>org.apache.maven.shared</groupId> >> + <artifactId>maven-plugin-testing-harness</artifactId> >> + <version>1.0-beta-1</version> >> + <scope>test</scope> >> + </dependency> >> + </dependencies> >> +</project> >> >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- Dennis Lundberg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]