You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Nicola Benaglia <ni...@tecno-progetti.eu> on 2008/05/05 18:54:04 UTC

exclude .svn

Hi,
I need to exclude my .svn from the created jar.

I tried unsuccesfully this:

<plugin>
           <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <configuration>
                    <excludes>
                        <exclude>**/.svn/*</exclude>
                    </excludes>
                </configuration>
            </plugin>

Where do I get wrong?

Thank you,
Nicola


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


Re: exclude .svn

Posted by Jan Torben Heuer <jt...@mail2003.dnsalias.org>.
Wayne Fay wrote:

> I think you must have added /target (or something under it) to SVN.
> Remove it and try again.

Is it possible that maven automatically puts target to svn:ignore when it
creates that diretory (and svn is used)

Jan


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


Re: exclude .svn

Posted by Wayne Fay <wa...@gmail.com>.
I think you must have added /target (or something under it) to SVN.
Remove it and try again.

Wayne

On Mon, May 5, 2008 at 12:16 PM, Nicola Benaglia
<ni...@tecno-progetti.eu> wrote:
> Olivier Lamy ha scritto:
>
>
> > They are excluded by default.
> >
> > 2008/5/5 Nicola Benaglia <ni...@tecno-progetti.eu>:
> >
> >
> > > Hi,
> > >  I need to exclude my .svn from the created jar.
> > >
> > >  I tried unsuccesfully this:
> > >
> > >  <plugin>
> > >          <groupId>org.apache.maven.plugins</groupId>
> > >               <artifactId>maven-jar-plugin</artifactId>
> > >               <configuration>
> > >                   <excludes>
> > >                       <exclude>**/.svn/*</exclude>
> > >                   </excludes>
> > >               </configuration>
> > >           </plugin>
> > >
> > >  Where do I get wrong?
> > >
> >
>  Hi Olivier;
>  if I open my jar I see:
>
>  .svn
>  META-INF
>  org
>
>  Inside each folder in org there's no .svn
>  But how to exclude the first level .svn ?
>
>
>
>  Thank you,
>  Nicola
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>  For additional commands, e-mail: users-help@maven.apache.org
>
>

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


Re: exclude .svn

Posted by Nicola Benaglia <ni...@tecno-progetti.eu>.
Olivier Lamy ha scritto:
> They are excluded by default.
>
> 2008/5/5 Nicola Benaglia <ni...@tecno-progetti.eu>:
>   
>> Hi,
>>  I need to exclude my .svn from the created jar.
>>
>>  I tried unsuccesfully this:
>>
>>  <plugin>
>>           <groupId>org.apache.maven.plugins</groupId>
>>                <artifactId>maven-jar-plugin</artifactId>
>>                <configuration>
>>                    <excludes>
>>                        <exclude>**/.svn/*</exclude>
>>                    </excludes>
>>                </configuration>
>>            </plugin>
>>
>>  Where do I get wrong?
Hi Olivier;
if I open my jar I see:

.svn
META-INF
org

Inside each folder in org there's no .svn
But how to exclude the first level .svn ?

Thank you,
Nicola

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


Re: exclude .svn

Posted by Olivier Lamy <ol...@apache.org>.
They are excluded by default.

2008/5/5 Nicola Benaglia <ni...@tecno-progetti.eu>:
> Hi,
>  I need to exclude my .svn from the created jar.
>
>  I tried unsuccesfully this:
>
>  <plugin>
>           <groupId>org.apache.maven.plugins</groupId>
>                <artifactId>maven-jar-plugin</artifactId>
>                <configuration>
>                    <excludes>
>                        <exclude>**/.svn/*</exclude>
>                    </excludes>
>                </configuration>
>            </plugin>
>
>  Where do I get wrong?
>
>  Thank you,
>  Nicola
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>  For additional commands, e-mail: users-help@maven.apache.org
>
>

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