On 2011-06-08 00:45, Daniel Serodio (lists) wrote: > That was it. Thanks a lot. > > Is there somewhere in the documentation I could've found this information?
Yes, it's here: http://maven.apache.org/plugins/maven-site-plugin/plugin-info.html > > Benson Margulies wrote: >> The site plugin does not go into<reporting/> . Put that into >> <pluginManagement><plugins/></pluginManagement> >> >> On Tue, Jun 7, 2011 at 5:29 PM, Daniel Serodio (lists) >> <[email protected]> wrote: >>> When I run "mvn site", I get a "AbstractMethodError [...] >>> SiteRendererSink.unknown" error. As reported in SUREFIRE-714, >>> maven-surefire-plugin 2.8 needs maven-site-plugin 2.1 or greater; I told >>> Maven to use these versions of the plugins, but it's still using >>> maven-site-plugin 2.0-beta-7 >>> >>> I'm using Maven 2.2.1 BTW. >>> >>> Why isn't Maven using the plugin versions I told it to use? >>> >>> Thanks in advance, >>> Daniel Serodio >>> >>> >>> >>> <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>com.example</groupId> >>> <artifactId>busca-web</artifactId> >>> <version>1.0.0-SNAPSHOT</version> >>> <packaging>war</packaging> >>> <name>Busca</name> >>> <description>Busca - Frontent Web</description> >>> >>> <properties> >>> <project.build.sourceEncoding>ISO8859-1</project.build.sourceEncoding> >>> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> >>> >>> </properties> >>> >>> <build> >>> <plugins> >>> <plugin> >>> <groupId>org.apache.maven.plugins</groupId> >>> <artifactId>maven-compiler-plugin</artifactId> >>> <configuration> >>> <source>1.6</source> >>> <target>1.6</target> >>> </configuration> >>> </plugin> >>> <plugin> >>> <groupId>org.apache.maven.plugins</groupId> >>> <artifactId>maven-resources-plugin</artifactId> >>> </plugin> >>> </plugins> >>> </build> >>> >>> <reporting> >>> <plugins> >>> <plugin> >>> <groupId>org.apache.maven.plugins</groupId> >>> <artifactId>maven-site-plugin</artifactId> >>> <version>2.3</version> >>> </plugin> >>> <plugin> >>> <groupId>org.apache.maven.plugins</groupId> >>> <artifactId>maven-surefire-report-plugin</artifactId> >>> <version>2.8</version> >>> <configuration> >>> <outputEncoding>UTF-8</outputEncoding> >>> </configuration> >>> </plugin> >>> </plugins> >>> </reporting> >>> >>> <dependencies> >>> <dependency> >>> <groupId>org.slf4j</groupId> >>> <artifactId>slf4j-api</artifactId> >>> <version>1.6.1</version> >>> </dependency> >>> <dependency> >>> <groupId>org.slf4j</groupId> >>> <artifactId>slf4j-log4j12</artifactId> >>> <version>1.6.1</version> >>> </dependency> >>> <dependency> >>> <groupId>commons-lang</groupId> >>> <artifactId>commons-lang</artifactId> >>> <version>2.6</version> >>> </dependency> >>> <dependency> >>> <groupId>mysql</groupId> >>> <artifactId>mysql-connector-java</artifactId> >>> <version>5.1.6</version> >>> </dependency> >>> >>> <dependency> >>> <groupId>junit</groupId> >>> <artifactId>junit</artifactId> >>> <version>4.8.1</version> >>> <scope>test</scope> >>> </dependency> >>> >>> <dependency> >>> <groupId>javax.servlet</groupId> >>> <artifactId>servlet-api</artifactId> >>> <version>2.5</version> >>> <scope>provided</scope> >>> </dependency> >>> </dependencies> >>> >>> </project> >>> >>> >>> --------------------------------------------------------------------- >>> 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] >> > -- Dennis Lundberg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
