You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Maurice Marrink <ma...@gmail.com> on 2008/07/01 22:30:25 UTC

Re: Wicket Iolite, maven guru wanted

I wouldn't presume calling myself a maven guru :) but i recently build
an archetype myself too.
I wonder why you have to use resource in your archetype. i get that
your archetype is a maven multiproject but i don't see how using
resource is better then using source.
I am just guessing here but what if use source instead of resource and
add a modules element to the relevant pom.

A different solution would be to not include that code as modules but
as dependencies to a jar, that way you can avoid all the problems.

Maurice

BTW just looking at the wicket archetype has helped me very much.

On Mon, Jun 30, 2008 at 7:24 PM, Nino Saturnino Martinez Vazquez Wael
<ni...@jayway.dk> wrote:
> Hi
>
> Could some maven guru please take a look at wicket iolite..? The problem are
> that it is a multi module project, so in order to get it working I had to
> map everything as resources in the archetype    .xml , this it not good
> because the java package mojo does not look on these files meaning that java
> packages arent supported:(
>
> --
> -Wicket for love
>
> Nino Martinez Wael
> Java Specialist @ Jayway DK
> http://www.jayway.dk
> +45 2936 7684
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Wicket Iolite, maven guru wanted

Posted by Nino Saturnino Martinez Vazquez Wael <ni...@jayway.dk>.

Maurice Marrink wrote:
> I wouldn't presume calling myself a maven guru :) but i recently build
> an archetype myself too.
>   
Any feedback highly appreciated..:)
> I wonder why you have to use resource in your archetype. i get that
> your archetype is a maven multiproject but i don't see how using
> resource is better then using source.
>   
Well it's better because AFAIK it's the only way to do it the 
multi-module way, I cant remember why exactly...
> I am just guessing here but what if use source instead of resource and
> add a modules element to the relevant pom.
>   
What i did before, but it did not work. Again something with package 
structure or something..
> A different solution would be to not include that code as modules but
> as dependencies to a jar, that way you can avoid all the problems.
>   
True but then the whole template thing goes away, which leaves some 
flexibility out, but could actually be an okay idea now that I think 
about it(providing different entity setup classes etc). But still I'll 
loose the multi-module thing..
> Maurice
>
> BTW just looking at the wicket archetype has helped me very much.
>
> On Mon, Jun 30, 2008 at 7:24 PM, Nino Saturnino Martinez Vazquez Wael
> <ni...@jayway.dk> wrote:
>   
>> Hi
>>
>> Could some maven guru please take a look at wicket iolite..? The problem are
>> that it is a multi module project, so in order to get it working I had to
>> map everything as resources in the archetype    .xml , this it not good
>> because the java package mojo does not look on these files meaning that java
>> packages arent supported:(
>>
>> --
>> -Wicket for love
>>
>> Nino Martinez Wael
>> Java Specialist @ Jayway DK
>> http://www.jayway.dk
>> +45 2936 7684
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>     
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>   

-- 
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org