On 6 February 2012 13:50, Tony Chemit <[email protected]> wrote:
> On Mon, 6 Feb 2012 13:27:07 +0000
> Stephen Connolly <[email protected]> wrote:
>
>> then that should be a test scoped dependency (at least of type pom if
>> you don't want to add the jar onto your test classpath)
>>
>> relying on the default ordering of peers is not the best way to solve
>> this kind of issue.
>
> hum, I just relealize that there is a test dependency as you told me :
>
>  <dependency>
>      <groupId>org.codehaus.mojo</groupId>
>      <artifactId>webstart-jnlp-servlet</artifactId>
>      <version>${project.version}</version>
>      <scope>test</scope>
>    </dependency>
>
> So should this problem appear ? IMHO If there is a such dependency then
> the module should be build before this other one, correct me if i am
> wrong.
>

The problem should not occur... if it is occurring then you have found a bug!

Note using ${project.version} is a bad smell... if you just use the
version number the release plugin *should* update it for you! On the
other hand, if the release plugin borks things up for you, you can end
up with a fixed version without noticing... so beware either way ;-)

> But the problem did not occur before as in the it we used a fixed
> version of the sibling module (bad idea for me).
>
>
>>
>> On 6 February 2012 13:09,  <[email protected]> wrote:
>> > Revision 15893 Author tchemit Date 2012-02-06 07:09:46 -0600 (Mon,
>> > 06 Feb 2012)
>> >
>> > Log Message
>> >
>> > change module order (there is an it in plugin module that requires
>> > jnlp-servlet module)
>> >
>> > Modified Paths
>> >
>> > trunk/mojo/webstart/pom.xml
>> >
>> > Diff
>> >
>> > Modified: trunk/mojo/webstart/pom.xml (15892 => 15893)
>> >
>> > --- trunk/mojo/webstart/pom.xml     2012-02-06 09:30:39 UTC (rev
>> > 15892) +++ trunk/mojo/webstart/pom.xml      2012-02-06 13:09:46
>> > UTC (rev 15893) @@ -88,8 +88,8 @@
>> >
>> >    <modules>
>> >      <module>webstart-pack200-api</module>
>> > +    <module>webstart-jnlp-servlet</module>
>> >      <module>webstart-maven-plugin</module>
>> > -    <module>webstart-jnlp-servlet</module>
>> >    </modules>
>> >
>> >    <properties>
>> >
>> > ________________________________
>> >
>> > To unsubscribe from this list please visit:
>> >
>> > http://xircles.codehaus.org/manage_email
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>     http://xircles.codehaus.org/manage_email
>>
>>
>
>
>
> --
> Tony Chemit
> --------------------
> tél: +33 (0) 2 40 50 29 28
> email: [email protected]
> http://www.codelutin.com
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>

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

    http://xircles.codehaus.org/manage_email


Reply via email to