Re: basedir JavaSource does not exist

2006-07-21 Thread Jeff Mutonho

On 7/21/06, dcabasson <[EMAIL PROTECTED]> wrote:



Jeff Mutonho wrote:
>
>>
>> Can we have a look at your parent pom?
>>
>> Looks like maven is trying to build a war out of your parent project
>
> Sure thing.There goes :
>

Ok, that was not the interesting parent. Guess I wanted to say the eportal
pom (which is the parent of the eportal-web module, isn't it?)

Denis.
--

Thats the one i posted...the parent

--


Jeff  Mutonho

GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042

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



Re: basedir JavaSource does not exist

2006-07-21 Thread dcabasson


Jeff Mutonho wrote:
> 
>>
>> Can we have a look at your parent pom?
>>
>> Looks like maven is trying to build a war out of your parent project
> 
> Sure thing.There goes :
> 

Ok, that was not the interesting parent. Guess I wanted to say the eportal
pom (which is the parent of the eportal-web module, isn't it?)

Denis.
-- 
View this message in context: 
http://www.nabble.com/basedir-JavaSource-does-not-exist-tf1973672.html#a5430061
Sent from the Maven - Users forum at Nabble.com.


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



Re: basedir JavaSource does not exist

2006-07-21 Thread Jeff Mutonho


Can we have a look at your parent pom?

Looks like maven is trying to build a war out of your parent project


Sure thing.There goes :


 4.0.0
 za.co.mycompany.eportal
 mycompany-eportal
 mycompany ePortal
 pom
 1.0.0
 mycompany J2EE application called ePortal
 2005
 
   
 Jeff  Mutonho
 jmutonho
 [EMAIL PROTECTED]
 mycompany
 
   Build Engineer
 
 +2
   

 

   
 oracle.ldap
 ldapjclnt
 1.0
 
   
   
 javax.j2ee
 j2ee
 1.3.0
 
   
   
 net.sf.hibernate2
 hibernate
 2.0.0
 
   
 
 org.springframework
 spring
 1.2.3
 
   
   
 org.apache.log4j
 log4j
 1.2.13
 
   
   
 commons-logging
 commons-logging
 1.0.4
 
   
   
 za.co.mycompany
 OBPortalSynchMDB
 1.0.0
 
   
  
 za.co.mycompany
 EBPortalSynchMDB
 1.0.0
 
   
 
  
   
 
maven-antrun-plugin
 1.0

   
  
   
   
 
   maven-surefire-report-plugin
   
 false
   
 
 
   org.apache.maven.plugins
   maven-jxr-plugin
 
 
   org.apache.maven.plugins
   maven-javadoc-plugin
   
 
   http://java.sun.com/j2se/1.4.2/docs/api
   http://plexus.codehaus.org/ref/1.0-alpha-9/apidocs
 
 true
   
 
 
   org.apache.maven.plugins
   maven-pmd-plugin
   
 
   /rulesets/basic.xml
   /rulesets/imports.xml
   /rulesets/unusedcode.xml
   /rulesets/finalizers.xml
 
   
 
 
   org.apache.maven.plugins
   maven-checkstyle-plugin
   
 config/maven_checks.xml
   
 
 
   org.codehaus.mojo
   taglist-maven-plugin
   
 
   TODO
   @todo
   FIXME
   XXX
 
   
 
 
   org.codehaus.mojo
   cobertura-maven-plugin
 
   
 
 
   mycompany Limited
   http://www.mycompany.co.za/
 
 
   eportal-services
   
   eportal-messaging
   eportal-messaging-support
   eportal-webservices
   eportal-domain
   eportal-exceptions
   eportal
 
 

   
 eportal-services-junit
 
   
 enableCiProfile
 true
   
 
 
   eportal-services-junit
 
   
 
 
  continuum
  http://localhost:8080/continuum
  

  mail
   
[EMAIL PROTECTED]
   

   



  scm:cvs:pserver:mutonj:[EMAIL PROTECTED]:/var/lib/cvsroot:dev


  scm:cvs:pserver:mutonj:[EMAIL PROTECTED]:/var/lib/cvsroot:dev




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



Re: basedir JavaSource does not exist

2006-07-21 Thread Jeff Mutonho

On 7/20/06, Mike Perham <[EMAIL PROTECTED]> wrote:

Is it JavaSource or JavaSources?  You use both below.


I'm sorry , that was a typo.It's JavaSource

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



Re: basedir JavaSource does not exist

2006-07-20 Thread Jeff Mutonho

On 7/20/06, Jeff Mutonho <[EMAIL PROTECTED]> wrote:

m2 is spitting out the error message "basedir JavaSource does not exist"
.I have the following in my "maven-war-plugin" config in my web
project pom(i.e D:\MAVEN-WORK\eportal\eportal-web\pom.xml)


  
  JavaSource
  
  **/*
  


This happens when I run "mvn install" from my top-level directory(i.e
D:\MAVEN-WORK\eportal\).
My directory structure is located in D:\MAVEN-WORK and looks like :

 |-- eportal
 |--pom.xml
 |-- eportal-web
 |-- WebContent
 |-- JavaSources
 |-- pom.xml



But when I run "mvn install" from D:\MAVEN-WORK\eportal\eportal-web ,
I don't get the error message.What the implications of the comment
()?Looks like
"JavaSource" is being resolved from my top
level directory?


Debug output :


[DEBUG]   (s) classesDirectory = D:\MAVEN-WORK\eportal\eportal\target\classes
[DEBUG]   (f) filters = []
[DEBUG]   (f) outputDirectory = D:\MAVEN-WORK\eportal\eportal\target
[DEBUG]   (f) primaryArtifact = true
[DEBUG]   (s) project = [EMAIL PROTECTED]
[DEBUG]   (f) warName = eportal
[DEBUG]   (s) warSourceDirectory = D:\MAVEN-WORK\eportal\eportal\WebContent
[DEBUG]   (f) warSourceExcludes = **/*.java
[DEBUG]   (s) directory = JavaSource
[DEBUG]   (s) excludes = [**/*]
[DEBUG]   (f) webResources = [Lorg.apache.maven.model.Resource;@c68059
[DEBUG]   (s) webXml = D:\MAVEN-WORK\eportalWebContent\WEB-INF\web.xml
[DEBUG]   (s) webappDirectory =
D:\MAVEN-WORK\eportal\eportal\target\eportal-1.0.0
[DEBUG]   (f) workDirectory = D:\MAVEN-WORK\eportal\eportal\target\war\work
[DEBUG] -- end configuration --
[INFO] [war:war]
[INFO] Exploding webapp...
[INFO] Copy webapp webResources to
D:\MAVEN-WORK\eportal\eportal\target\eportal-1.0.0
[INFO] 
[ERROR] FATAL ERROR
[INFO] ----------------
[INFO] basedir JavaSource does not exist
[INFO] --------
[DEBUG] Trace
java.lang.IllegalStateException: basedir JavaSource does not exist
at org.codehaus.plexus.util.DirectoryScanner.scan(DirectoryScanner.java:
542)
at org.apache.maven.plugin.war.AbstractWarMojo.getWarFiles(AbstractWarMo


Jeff



I managed to get around this by specifying my resource directory as

  
 ${project.parent.basedir}/eportal-web/JavaSource


However I would like to know from the m2 experts if the comment
   from the plugin
docs ,actually mean
 ?

Jeff  Mutonho

GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042

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



Re: basedir JavaSource does not exist

2006-07-20 Thread dcabasson


Jeff Mutonho wrote:
> 
> m2 is spitting out the error message "basedir JavaSource does not exist"
> .I have the following in my "maven-war-plugin" config in my web
> project pom(i.e D:\MAVEN-WORK\eportal\eportal-web\pom.xml)
> 

Can we have a look at your parent pom?

Looks like maven is trying to build a war out of your parent project

Denis.
-- 
View this message in context: 
http://www.nabble.com/basedir-JavaSource-does-not-exist-tf1973672.html#a5416917
Sent from the Maven - Users forum at Nabble.com.


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



RE: basedir JavaSource does not exist

2006-07-20 Thread Mike Perham
Is it JavaSource or JavaSources?  You use both below. 

-Original Message-
From: Jeff Mutonho [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 20, 2006 7:18 AM
To: Maven Users List
Subject: basedir JavaSource does not exist

m2 is spitting out the error message "basedir JavaSource does not exist"
.I have the following in my "maven-war-plugin" config in my web
project pom(i.e D:\MAVEN-WORK\eportal\eportal-web\pom.xml)


  
  JavaSource
  
  **/*
  


This happens when I run "mvn install" from my top-level directory(i.e
D:\MAVEN-WORK\eportal\).
My directory structure is located in D:\MAVEN-WORK and looks like :

 |-- eportal
 |--pom.xml
 |-- eportal-web
 |-- WebContent
 |-- JavaSources
 |-- pom.xml



But when I run "mvn install" from D:\MAVEN-WORK\eportal\eportal-web ,
I don't get the error message.What the implications of the comment
()?Looks like
"JavaSource" is being resolved from my top
level directory?


Debug output :


[DEBUG]   (s) classesDirectory =
D:\MAVEN-WORK\eportal\eportal\target\classes
[DEBUG]   (f) filters = []
[DEBUG]   (f) outputDirectory = D:\MAVEN-WORK\eportal\eportal\target
[DEBUG]   (f) primaryArtifact = true
[DEBUG]   (s) project = [EMAIL PROTECTED]
[DEBUG]   (f) warName = eportal
[DEBUG]   (s) warSourceDirectory =
D:\MAVEN-WORK\eportal\eportal\WebContent
[DEBUG]   (f) warSourceExcludes = **/*.java
[DEBUG]   (s) directory = JavaSource
[DEBUG]   (s) excludes = [**/*]
[DEBUG]   (f) webResources = [Lorg.apache.maven.model.Resource;@c68059
[DEBUG]   (s) webXml = D:\MAVEN-WORK\eportalWebContent\WEB-INF\web.xml
[DEBUG]   (s) webappDirectory =
D:\MAVEN-WORK\eportal\eportal\target\eportal-1.0.0
[DEBUG]   (f) workDirectory =
D:\MAVEN-WORK\eportal\eportal\target\war\work
[DEBUG] -- end configuration --
[INFO] [war:war]
[INFO] Exploding webapp...
[INFO] Copy webapp webResources to
D:\MAVEN-WORK\eportal\eportal\target\eportal-1.0.0
[INFO]

[ERROR] FATAL ERROR
[INFO]
----------------
[INFO] basedir JavaSource does not exist
[INFO]
----
[DEBUG] Trace
java.lang.IllegalStateException: basedir JavaSource does not exist
at
org.codehaus.plexus.util.DirectoryScanner.scan(DirectoryScanner.java:
542)
at
org.apache.maven.plugin.war.AbstractWarMojo.getWarFiles(AbstractWarMo


Jeff

-
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]



basedir JavaSource does not exist

2006-07-20 Thread Jeff Mutonho

m2 is spitting out the error message "basedir JavaSource does not exist"
.I have the following in my "maven-war-plugin" config in my web
project pom(i.e D:\MAVEN-WORK\eportal\eportal-web\pom.xml)


 
 JavaSource
 
 **/*
 


This happens when I run "mvn install" from my top-level directory(i.e
D:\MAVEN-WORK\eportal\).
My directory structure is located in D:\MAVEN-WORK and looks like :

|-- eportal
|--pom.xml
|-- eportal-web
|-- WebContent
|-- JavaSources
|-- pom.xml



But when I run "mvn install" from D:\MAVEN-WORK\eportal\eportal-web ,
I don't get the error message.What the implications of the comment
()?Looks like
"JavaSource" is being resolved from my top
level directory?


Debug output :


[DEBUG]   (s) classesDirectory = D:\MAVEN-WORK\eportal\eportal\target\classes
[DEBUG]   (f) filters = []
[DEBUG]   (f) outputDirectory = D:\MAVEN-WORK\eportal\eportal\target
[DEBUG]   (f) primaryArtifact = true
[DEBUG]   (s) project = [EMAIL PROTECTED]
[DEBUG]   (f) warName = eportal
[DEBUG]   (s) warSourceDirectory = D:\MAVEN-WORK\eportal\eportal\WebContent
[DEBUG]   (f) warSourceExcludes = **/*.java
[DEBUG]   (s) directory = JavaSource
[DEBUG]   (s) excludes = [**/*]
[DEBUG]   (f) webResources = [Lorg.apache.maven.model.Resource;@c68059
[DEBUG]   (s) webXml = D:\MAVEN-WORK\eportalWebContent\WEB-INF\web.xml
[DEBUG]   (s) webappDirectory =
D:\MAVEN-WORK\eportal\eportal\target\eportal-1.0.0
[DEBUG]   (f) workDirectory = D:\MAVEN-WORK\eportal\eportal\target\war\work
[DEBUG] -- end configuration --
[INFO] [war:war]
[INFO] Exploding webapp...
[INFO] Copy webapp webResources to
D:\MAVEN-WORK\eportal\eportal\target\eportal-1.0.0
[INFO] 
[ERROR] FATAL ERROR
[INFO] ----------------
[INFO] basedir JavaSource does not exist
[INFO] ----
[DEBUG] Trace
java.lang.IllegalStateException: basedir JavaSource does not exist
   at org.codehaus.plexus.util.DirectoryScanner.scan(DirectoryScanner.java:
542)
   at org.apache.maven.plugin.war.AbstractWarMojo.getWarFiles(AbstractWarMo


Jeff

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