Hi all,

 

I build the site of my project whether from Windows or Fedora, svn does not
work

Correctly on windows so I wanted to activate the SCM report plugin only on
demand

e.g.

 

mvn clean install site -Dgenerate.statsvn=true

 

The problem is that I can not find the way to specify this in my pom.xml I
tried this bellow

Without success e.g.

 

<reporting>

  <plugins>

    <j:if test="${context.getVariable('generate.scm')=='true'}">

       <ant:echo>Generating StatSVN report using stat-scm</ant:echo>

       <plugin>

          <groupId>net.sf</groupId>

          <artifactId>stat-scm</artifactId>

       </plugin>

    </j:if>

  </plugins>

</reporting>

 

That way does not work.

 

TIA,

Regards,

Giovanni

Reply via email to