struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrei Ivanov" <andrei.iva...@gmail.com>
Subject Re: struts 2 + java 1.4 + maven
Date Thu, 06 Nov 2008 11:38:50 GMT
On Thu, Nov 6, 2008 at 11:53 AM, Antonio <antonio.petrelli@gmail.com> wrote:
> 2008/11/4 Andrei Ivanov <andrei.ivanov@gmail.com>:
>> I'm forced to use java 1.4 and I was very happy to see there are jars
>> that work with it.
>> The thing is I also want to use maven for managing dependencies and I
>> don't know how to specify in my
>> pom that it has to use the translated jars...
>
> It depends of what you are trying to use.
> For example, with Tiles the translated versions are with the "j4"
> classifier. So you specify the dependency this way:
>
>    <dependency>
>      <groupId>org.apache.tiles</groupId>
>      <artifactId>tiles-core</artifactId>
>      <version>${pom.version}</version>
>      <classifier>j4</classifier>
>    </dependency>
>
> But it is dependent on the fact that Tiles publishes retrotranslated
> version of its packages with the "j4" classifier!
> Moreover, it could be possible that the software you are trying to
> depend on might not have published a retrotranslated version of the
> package.
>
> HTH
> Antonio
>

The classifier part escaped me when reading the maven documentation.
Thank you very much!
I do have a maven repository and I can deploy all the necessary packages there.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message