2011/12/29  <[email protected]>:
> Revision 15644 Author tastle Date 2011-12-28 21:59:14 -0600 (Wed, 28 Dec
> 2011)
>
> Log Message
>
> MJS-43 Updated the project so that it builds using Maven 3 and enforced this
> as a prerequsite.  This was done since an existing integration test depends
> on a report to be generated, and reporting was overhauled in Maven 3.  So
> the report will not be generated if Maven 3 is used to install or deploy
> this project.  Specifically the javascript-report-maven-plugin.
>
> Modified Paths
>
> branches/javascript-maven-tools-1.0/javascript-report-maven-plugin/src/it/jsdoc/pom.xml
> branches/javascript-maven-tools-1.0/pom.xml
>
> Diff
>
> Modified:
> branches/javascript-maven-tools-1.0/javascript-report-maven-plugin/src/it/jsdoc/pom.xml
> (15643 => 15644)
>
> ---
> branches/javascript-maven-tools-1.0/javascript-report-maven-plugin/src/it/jsdoc/pom.xml
>        2011-12-28
> 23:58:44 UTC (rev 15643)
> +++
> branches/javascript-maven-tools-1.0/javascript-report-maven-plugin/src/it/jsdoc/pom.xml
>        2011-12-29
> 03:59:14 UTC (rev 15644)
> @@ -28,20 +28,29 @@
>    <artifactId>jsdoc</artifactId>
>    <version>0.99</version>
>
> -  <reporting>
> +  <build>
>      <plugins>
>        <plugin>
> -        <groupId>org.codehaus.mojo.javascript</groupId>
> -        <artifactId>javascript-report-maven-plugin</artifactId>
> -        <version>@pom.version@</version>
> -        <configuration>
> -          <reports>
> -            <report>jsdoc</report>
> -          </reports>
> +             <groupId>org.apache.maven.plugins</groupId>
> +             <artifactId>maven-site-plugin</artifactId>
> +             <version>3.0</version>
> +             <configuration>
> +                     <reportPlugins>
> +                             <plugin>
> +                                     
> <groupId>org.codehaus.mojo.javascript</groupId>
> +                                     
> <artifactId>javascript-report-maven-plugin</artifactId>
> +                                     <version>@pom.version@</version>
> +                                     <configuration>
> +                                             <reports>
> +                                                     <report>jsdoc</report>
> +                                             </reports>
> +                                     </configuration>
> +                             </plugin>
> +                     </reportPlugins>
>               </configuration>
>        </plugin>
>      </plugins>
> -  </reporting>
> +  </build>
>
>
>
>
> Modified: branches/javascript-maven-tools-1.0/pom.xml (15643 => 15644)
>
> --- branches/javascript-maven-tools-1.0/pom.xml       2011-12-28 23:58:44 UTC 
> (rev
> 15643)
> +++ branches/javascript-maven-tools-1.0/pom.xml       2011-12-29 03:59:14 UTC 
> (rev
> 15644)
> @@ -22,6 +22,10 @@
>               <artifactId>mojo-sandbox-parent</artifactId>
>               <version>8</version>
>       </parent>
> +     
> +     <prerequisites>
> +             <maven>3.0</maven>
> +     </prerequisites>


IMHO This project can work with 2.x with this prerequisites you will
prevent 2.x users to use it.

If one it need to be run with 3.x just add a file invoker.properties
in the it directory
see sample 
http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-site-plugin/src/it/MSITE-484/invoker.properties

And again I still think it's better to name this branch 1.x


>
>    <modelVersion>4.0.0</modelVersion>
>    <groupId>org.codehaus.mojo.javascript</groupId>
>
> ________________________________
>
> To unsubscribe from this list please visit:
>
> http://xircles.codehaus.org/manage_email



-- 
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to