For #1, yes you can use system scope etc like you've written.

But ideally you would use mvn install:install-file and add the jar to
your local repository instead.

So using your example:
mvn install:install-file -DartifactId=JXT_LATAM
-Dfile=./libJXTI/jaxt-libs.jar -DgroupId=JXT -Dpackaging=jar
-Dversion=1.1

Hope that helps.
Wayne


On 4/4/06, Julio Oliveira <[EMAIL PROTECTED]> wrote:
> Hi
>
>
> 1) . I need to compile a java project, that has a fileset like this in ant
>
> <fileset dir="../../libMLI">
>
>  <include name="**/*.jar" />
>
> </fileset>
>
> this work fine in ant, but i don't see who to do the declarative for maven2
>
> ? can i do a lib declarative. I have a lot of  .jar  to install  it at the
> repository .
> something like this ??
>
>
>    <dependency>
>          <groupId>JXT</groupId>
>          <artifactId>JXT_LATAM</artifactId>
>          <version>1.1</version>
>          <scope>system</scope>
>        <systemPath>${basedir}\libJXTI\jaxt-libs.jar</systemPath>
>      </dependency>
>
> 2)  i need to generate de  maven site for the project, but  always it
> depends on compile
>
>     ? how can i do  for do it, with out compile   like    -
> Dmaven.compile.skip=true ???
>
> Thanks in advanced
>
>
> Julio Oliveira - Buenos Aires
>
>

Reply via email to