Chao Peng
Chao Peng

Reputation: 167

How to install maven-site-plugin 3.0 in ubuntu 12.04

I installed maven 3.0.4 by using apt-get install maven, but how to install the maven-site-plugin 3.0 , the synaptic package manager shows there are only libmaven-site-plugin-java 2.1-2 and libjavacc-maven-site-plugin-java 2.6-2

Upvotes: 0

Views: 1111

Answers (1)

khmarbaise
khmarbaise

Reputation: 97389

You never install the maven-site-plugin via operating system (or in ubuntu) you will using it via your pom by defining it like this:

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-site-plugin</artifactId>
        <version>3.1</version>
        <configuration>
          ...
   ...

See also the documentation about the maven-site-plugin.

Upvotes: 3

Related Questions