I'm running Maven 2.0.6.  I'm running whatever the latest snapshot is (my
command line is mvn -U etc etc). 

The relevant parts of the POM are shown below.

Thanks,

Ian


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>
        <!-- Basic information -->
        <groupId>Me.Shared</groupId>
        <artifactId>MeCommon</artifactId>
        <version>1.0-SNAPSHOT</version>
        <packaging>pom</packaging>
        <!-- Build Settings -->
        <build>
                <plugins>
                        <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-jar-plugin</artifactId>
                                <configuration>
                                        <archive>
                                                <manifest>
                                                        
<addClasspath>true</addClasspath>
                                                </manifest>
                                        </archive>
                                </configuration>
                        </plugin>
                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>cobertura-maven-plugin</artifactId>
                                <version>2.1</version>
                                <configuration>
                                        <check>
                                                
<haltOnFailure>false</haltOnFailure>
                                        </check>
                                </configuration>
                        </plugin>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-war-plugin</artifactId>
                                <version>2.0.2</version>
                                <configuration>
                                        <archive>
                                                <manifest>
                                                        
<addClasspath>true</addClasspath>
                                                </manifest>
                                        </archive>
                                </configuration>
                        </plugin>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-ejb-plugin</artifactId>
                                <configuration>
                                        <generateClient>true</generateClient>
                                        <archive>
                                                <manifest>
                                                        
<addClasspath>true</addClasspath>
                                                </manifest>
                                        </archive>
                                </configuration>
                        </plugin>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-checkstyle-plugin</artifactId>
                                <dependencies>
                                        <dependency>
                                                <groupId>Me.Shared</groupId>
                                                
<artifactId>MavenBuildTools</artifactId>
                                                <version>1.0-SNAPSHOT</version>
                                        </dependency>
                                </dependencies>
                                <configuration>
                                        
<configLocation>MeCheckstyleConfig.xml</configLocation>
                                        
<testSourceDirectory>true</testSourceDirectory>
                                        <failsOnError>false</failsOnError>
                                </configuration>
                        </plugin>
                </plugins>
                <extensions>
                        <extension>
                                <groupId>org.apache.maven.wagon</groupId>
                                <artifactId>wagon-webdav</artifactId>
                        </extension>
                </extensions>
        </build>
        <!-- The way to deploy our distributions -->
        <distributionManagement>
                <snapshotRepository>
                        <id>internal.snapshots</id>
                        <url>file://D:/Maven/snapshotrepository</url>
                </snapshotRepository>
                <repository>
                        <id>internal</id>
                        <url>file://D:/Maven/repository</url>
                </repository>
        </distributionManagement>
        <!-- Reporting modules for code -->
        <reporting>
                <plugins>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                
<artifactId>maven-project-info-reports-plugin</artifactId>
                                <reportSets>
                                        <reportSet>
                                                <reports>
                                                        <report>index</report>
                                                        
<report>dependencies</report>
                                                        <report>cim</report>
                                                        
<report>scm-list</report>
                                                        
<report>issue-tracking</report>
                                                </reports>
                                        </reportSet>
                                </reportSets>
                        </plugin>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                
<artifactId>maven-surefire-report-plugin</artifactId>
                        </plugin>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-javadoc-plugin</artifactId>
                                <!-- 2.3 seems buggy , so stick with 2.2 for 
now -->
        <version>2.2</version>
                        </plugin>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-jxr-plugin</artifactId>
                        </plugin>
                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>jdepend-maven-plugin</artifactId>
                        </plugin>
                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>cobertura-maven-plugin</artifactId>
                                <version>2.1</version>
                        </plugin>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-pmd-plugin</artifactId>
                                <configuration>
                                        <linkXref>true</linkXref>
                                        <minimumTokens>100</minimumTokens>
                                        <targetJdk>1.5</targetJdk>
                                </configuration>
                        </plugin>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-checkstyle-plugin</artifactId>
                                <configuration>
                                        
<configLocation>MeCheckstyleConfig.xml</configLocation>
                                        
<testSourceDirectory>true</testSourceDirectory>
                                        <failsOnError>false</failsOnError>
                                </configuration>
                        </plugin>
                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>dashboard-maven-plugin</artifactId>
                        </plugin>
                </plugins>
        </reporting>

  <!-- Places to get our plugins from -->       
  <pluginRepositories>
    <pluginRepository>
                <id>Codehaus Snapshots</id>
                <url>http://snapshots.repository.codehaus.org/</url>
    </pluginRepository>
  </pluginRepositories>

        <!-- More project information -->
        <name>MeCommon</name>
</project>



dvicente wrote:
> 
> Hi,
> 
> could you give us your pom ?
> 
> which maven's version do you use ?
> 
> which dashboard plugin's version ?
> 
> 
> 
> Ian Rowlands wrote:
>> 
>> 
>> 
>> 
>> 
>> I've added it into the pom file, I can see the report output being
>> generated, but when I open the project-reports.html file it doesn't have
>> a
>> link in there.  Is there anything else I have to do?
>> 
>> I am running the build in a number of phases, as recommended:
>> 
>> mvn site
>> mvn dashboard:dashboard
>> mvn site:deploy
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-do-I-get-the-Dashboard-plugin-integrated-to-my-website--tf4156303s177.html#a11838389
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to