dev@glassfish.java.net

Re: FullBuild of v3 causing compilation problem

From: Sahoo <Sahoo_at_Sun.COM>
Date: Thu, 11 Dec 2008 16:33:14 +0530

Craig,

Thanks for suggesting this. We are going to incorporate this in our
pom.xml soon.

Thanks,
Sahoo

Craig L Russell wrote:
> If mvn version is a problem, it's possible to have a mvn plugin that
> guarantees that you're running "the right version" of mvn (and java,
> for that matter).
>
> Check it out:
>
> <build>
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-enforcer-plugin</artifactId>
> <executions>
> <execution>
> <id>enforce-versions</id>
> <goals>
> <goal>enforce</goal>
> </goals>
> <configuration>
> <rules>
> <requireMavenVersion>
> <version>2.0.9</version>
> </requireMavenVersion>
> <requireJavaVersion>
> <version>1.6</version>
> </requireJavaVersion>
> </rules>
> </configuration>
> </execution>
> </executions>
> </plugin>
> </plugins>
>
> More details at http://maven.apache.org/plugins/maven-enforcer-plugin/
>
> Craig
>
> On Dec 10, 2008, at 3:20 AM, Sahoo wrote:
>
>> Wolfram Rittmeyer wrote:
>>> Sahoo wrote:
>>>> Are you using mvn 2.0.9 or not?
>>>>
>>>
>>> No, it's mvn 2.0.8. This would solve the problem?
>>>
>> Yes, most likely. See [1]. BTW, the wikipage does mention the mvn
>> version as 2.0.9. You might have missed that.
>>
>> Thanks,
>> Sahoo
>>
>> [1]
>> http://www.nabble.com/Does-the-trunk-build--tt20025310.html#a20077537
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> Craig L Russell
> Architect, Sun Java Enterprise System http://db.apache.org/jdo
> 408 276-5638 mailto:Craig.Russell_at_sun.com
> P.S. A good JDO? O, Gasp!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>