Ignore CVS-directories in Eclipse builds of a Maven 2 project

2006-11-13 Thread Robin de Silva Jayasinghe

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi folks!

I have the following problem with a Maven 2 project:

My project is in a CVS repository and the target-dir is excluded from  
CVS via .cvsignore. As long as I build with Maven everything is fine.  
When I generate a Eclipse project out of this and import it in my  
workspace I run into the problem that Eclipse builds the sources to  
the target "target". Sadly the CVS -directories from src are not  
excluded from target. After the build the target directories contain  
CVS directories and confuse the CVS syncronization of Eclipse. Now  
Eclipse thinks that it wants to add the target-directories CVS  
although I specified them in the .cvsignore.
When I add an exclusion pattern (CVS) for each source-directory in  
the project properties of Eclipse manually then Eclipse behaves fine  
while syncronization with CVS. My question is if it is possible to  
define those exclusion patterns in POM that is reflected in a  
generated Eclipse project. I attached the pom.xml for this project.


Best Regards,
Robin

- --
Robin de Silva Jayasinghe
[EMAIL PROTECTED]



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFFWJ5tJWhj7CIqBXkRAqsMAKCidohImCquDRBGX6otsYErGlQnSACgoehF
eBgpKV3TcrZ77M25Wf8Jf5A=
=IHsw
-END PGP SIGNATURE-

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



Ignore CVS-directories in Eclipse builds of a Maven 2 project

2006-11-12 Thread Robin de Silva Jayasinghe

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi folks!

I have the following problem with a Maven 2 project:

My project is in a CVS repository and the target-dir is excluded from  
CVS via .cvsignore. As long as I build with Maven everything is fine.  
When I generate a Eclipse project out of this and import it in my  
workspace I run into the problem that Eclipse builds the sources to  
the target "target". Sadly the CVS -directories from src are not  
excluded from target. After the build the target directories contain  
CVS directories and confuse the CVS syncronization of Eclipse. Now  
Eclipse thinks that it wants to add the target-directories CVS  
although I specified them in the .cvsignore.
When I add an exclusion pattern (CVS) for each source-directory in  
the project properties of Eclipse manually then Eclipse behaves fine  
while syncronization with CVS. My question is if it is possible to  
define those exclusion patterns in POM that is reflected in a  
generated Eclipse project. I attached the pom.xml for this project.


Best Regards,
Robin


  4.0.0
  xxx
  xxx
  war
  0.0.1
  xxx
  

  
maven-compiler-plugin

  1.5
  1.5

  

  
  

  portlet-api
  portlet-api
  1.0
  provided


  org.hibernate
  hibernate
  3.1
  provided


  javax.mail
  mail
  1.4
  provided


  junit
  junit
  4.0
  provided


  javax.servlet
  servlet-api
  2.4
  provided

  



- --
Robin de Silva Jayasinghe
[EMAIL PROTECTED]



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFFVyPMJWhj7CIqBXkRAvWSAKCyQJcSEWZ6FAM3CvIV+2x1iw7E0gCgkw/4
tt2J7MyuXbaZafsUbzPhRyQ=
=PvoF
-END PGP SIGNATURE-

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