Re: exclude .svn

2008-05-06 Thread Jan Torben Heuer
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: exclude .svn

2008-05-05 Thread Wayne Fay
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
<[EMAIL PROTECTED]> wrote:
> Olivier Lamy ha scritto:
>
>
> > They are excluded by default.
> >
> > 2008/5/5 Nicola Benaglia <[EMAIL PROTECTED]>:
> >
> >
> > > Hi,
> > >  I need to exclude my .svn from the created jar.
> > >
> > >  I tried unsuccesfully this:
> > >
> > >  
> > >  org.apache.maven.plugins
> > >   maven-jar-plugin
> > >   
> > >   
> > >   **/.svn/*
> > >   
> > >   
> > >   
> > >
> > >  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: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: exclude .svn

2008-05-05 Thread Nicola Benaglia

Olivier Lamy ha scritto:

They are excluded by default.

2008/5/5 Nicola Benaglia <[EMAIL PROTECTED]>:
  

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

 I tried unsuccesfully this:

 
  org.apache.maven.plugins
   maven-jar-plugin
   
   
   **/.svn/*
   
   
   

 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: exclude .svn

2008-05-05 Thread Olivier Lamy
They are excluded by default.

2008/5/5 Nicola Benaglia <[EMAIL PROTECTED]>:
> Hi,
>  I need to exclude my .svn from the created jar.
>
>  I tried unsuccesfully this:
>
>  
>   org.apache.maven.plugins
>maven-jar-plugin
>
>
>**/.svn/*
>
>
>
>
>  Where do I get wrong?
>
>  Thank you,
>  Nicola
>
>
>  -
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



exclude .svn

2008-05-05 Thread Nicola Benaglia

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

I tried unsuccesfully this:


  org.apache.maven.plugins
   maven-jar-plugin
   
   
   **/.svn/*
   
   
   

Where do I get wrong?

Thank you,
Nicola


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: exclude .svn folders with maven-source-plugin

2007-10-05 Thread ossi petz

hallo

it seems to have a connection to some resource settings:

the parent pom defines resources, since we put hibernate.hbm files and 
webstart keyfiles into the source folder:



  

  src/main/resources



src/main/java
  
**/*.java
  

  


when i add the lines below to a submodule the .svn folders do not end up 
in the sources jar.


  


  src/main/resources

  

the submodule with the -svn folder has in its pom:


when i dont include these resources settings in the buid section the 
.svn folders are included.



well. it seems to happen for a reaseon. so thanks for listening :)




Wayne Fay schrieb:

They are excluded by default. You must be doing something special.

Send the relevant portion of your pom and perhaps someone will have
specific advice.

Wayne

On 10/4/07, ossi petz <[EMAIL PROTECTED]> wrote:

hallo

i dont know exaclty when this started to happen:
i added the maven source plugin to the build section.

i noticed the created sources.jar contains the '.svn' folders from the
source directory.

is there a way to exclude them?


thanks a lot :)

ossi


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: exclude .svn folders with maven-source-plugin

2007-10-05 Thread ossi petz

hallo

well the plugin configuration os copied from an example:
  
maven-source-plugin

  true


  
install

  jar
  test-jar

  

  

the situation is even more weird. the project contains several modules. 
some sub-modules contain the .svn folder, some dont (and there is no 
difference between the poms beside the dependency part).


well maybe someon can give me a hint? i ll try to figure out the difference.


regards

ossi




Wayne Fay schrieb:

They are excluded by default. You must be doing something special.

Send the relevant portion of your pom and perhaps someone will have
specific advice.

Wayne

On 10/4/07, ossi petz <[EMAIL PROTECTED]> wrote:

hallo

i dont know exaclty when this started to happen:
i added the maven source plugin to the build section.

i noticed the created sources.jar contains the '.svn' folders from the
source directory.

is there a way to exclude them?


thanks a lot :)

ossi


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: exclude .svn folders with maven-source-plugin

2007-10-04 Thread Wayne Fay
They are excluded by default. You must be doing something special.

Send the relevant portion of your pom and perhaps someone will have
specific advice.

Wayne

On 10/4/07, ossi petz <[EMAIL PROTECTED]> wrote:
> hallo
>
> i dont know exaclty when this started to happen:
> i added the maven source plugin to the build section.
>
> i noticed the created sources.jar contains the '.svn' folders from the
> source directory.
>
> is there a way to exclude them?
>
>
> thanks a lot :)
>
> ossi
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



exclude .svn folders with maven-source-plugin

2007-10-04 Thread ossi petz

hallo

i dont know exaclty when this started to happen:
i added the maven source plugin to the build section.

i noticed the created sources.jar contains the '.svn' folders from the 
source directory.


is there a way to exclude them?


thanks a lot :)

ossi


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]