Re: svn commit: r1137822 - /maven/pom/trunk/maven/pom.xml

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1137822 - /maven/pom/trunk/maven/pom.xml

Dennis Lundberg-2
Hi

Hypothetical question. What happens for a project that cannot use the
latest Modello plugin?

Maven Changes Plugin is stuck on version 1.0.1 of the Modello Plugin.
That version just barely got this configuration parameter, it was added
in 1.0. So we get by this time.

Now the version of a plugin is easy to override, but can one "undo" a
parameter that was added in a later version of the plugin?

On 2011-06-21 01:22, [hidden email] wrote:

> Author: hboutemy
> Date: Mon Jun 20 23:22:30 2011
> New Revision: 1137822
>
> URL: http://svn.apache.org/viewvc?rev=1137822&view=rev
> Log:
> [MPOM-15] configured code generation plugins (Modello and maven-plugin-plugin) to generate Java 5 sources
>
> Modified:
>     maven/pom/trunk/maven/pom.xml
>
> Modified: maven/pom/trunk/maven/pom.xml
> URL: http://svn.apache.org/viewvc/maven/pom/trunk/maven/pom.xml?rev=1137822&r1=1137821&r2=1137822&view=diff
> ==============================================================================
> --- maven/pom/trunk/maven/pom.xml (original)
> +++ maven/pom/trunk/maven/pom.xml Mon Jun 20 23:22:30 2011
> @@ -625,6 +625,21 @@ under the License.
>            <artifactId>maven-site-plugin</artifactId>
>            <version>2.3</version>
>          </plugin>
> +        <plugin>
> +          <groupId>org.apache.maven.plugins</groupId>
> +          <artifactId>maven-plugin-plugin</artifactId>
> +          <version>2.8</version>
> +          <configuration>
> +            <useJava5>true</useJava5>
> +          </configuration>
> +        </plugin>
> +        <plugin>
> +          <groupId>org.codehaus.modello</groupId>
> +          <artifactId>modello-maven-plugin</artifactId>
> +          <configuration>
> +            <useJava5>true</useJava5>
> +          </configuration>
> +        </plugin>
>        </plugins>
>      </pluginManagement>
>    </build>
>
>
>


--
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1137822 - /maven/pom/trunk/maven/pom.xml

stephenconnolly
if the parameter is just plain unknown, afaik then it will be ignored. try
adding <madfun> true </madfun> to a random plugins configuration and see if
maven barfs

- Stephen

---
Sent from my Android phone, so random spelling mistakes, random nonsense
words and other nonsense are a direct result of using swype to type on the
screen
On 21 Jun 2011 19:06, "Dennis Lundberg" <[hidden email]> wrote:

> Hi
>
> Hypothetical question. What happens for a project that cannot use the
> latest Modello plugin?
>
> Maven Changes Plugin is stuck on version 1.0.1 of the Modello Plugin.
> That version just barely got this configuration parameter, it was added
> in 1.0. So we get by this time.
>
> Now the version of a plugin is easy to override, but can one "undo" a
> parameter that was added in a later version of the plugin?
>
> On 2011-06-21 01:22, [hidden email] wrote:
>> Author: hboutemy
>> Date: Mon Jun 20 23:22:30 2011
>> New Revision: 1137822
>>
>> URL: http://svn.apache.org/viewvc?rev=1137822&view=rev
>> Log:
>> [MPOM-15] configured code generation plugins (Modello and
maven-plugin-plugin) to generate Java 5 sources
>>
>> Modified:
>> maven/pom/trunk/maven/pom.xml
>>
>> Modified: maven/pom/trunk/maven/pom.xml
>> URL:
http://svn.apache.org/viewvc/maven/pom/trunk/maven/pom.xml?rev=1137822&r1=1137821&r2=1137822&view=diff
>>
==============================================================================

>> --- maven/pom/trunk/maven/pom.xml (original)
>> +++ maven/pom/trunk/maven/pom.xml Mon Jun 20 23:22:30 2011
>> @@ -625,6 +625,21 @@ under the License.
>> <artifactId>maven-site-plugin</artifactId>
>> <version>2.3</version>
>> </plugin>
>> + <plugin>
>> + <groupId>org.apache.maven.plugins</groupId>
>> + <artifactId>maven-plugin-plugin</artifactId>
>> + <version>2.8</version>
>> + <configuration>
>> + <useJava5>true</useJava5>
>> + </configuration>
>> + </plugin>
>> + <plugin>
>> + <groupId>org.codehaus.modello</groupId>
>> + <artifactId>modello-maven-plugin</artifactId>
>> + <configuration>
>> + <useJava5>true</useJava5>
>> + </configuration>
>> + </plugin>
>> </plugins>
>> </pluginManagement>
>> </build>
>>
>>
>>
>
>
> --
> Dennis Lundberg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>