XDoclet2 plugin + Maven2 + Hibernate problem

2006-08-15 Thread Adrian Shum
Hi all,

I tried to use XDoclet2 plugin for Maven2 in order to generate
Hibernate mapping files.

  
xdoclet
maven2-xdoclet2-plugin
2.0.5-SNAPSHOT

  

  
  
org.xdoclet.plugin.hibernate.HibernateMappingPlugin
  
  
target/generated-resources/
3.0
  


  


  
  
xdoclet-plugins
xdoclet-plugin-hibernate
1.0.3
  


  

  xdoclet

  

  


However, it failed to run which give me the following error messages:

Missing:
--
1) xdoclet-plugins:xdoclet-plugin-qtags:jar:${pom.currentVersion}
(something deleted)
--
1 required artifact is missing.

for artifact:
  xdoclet:maven2-xdoclet2-plugin:maven-plugin:2.0.5-SNAPSHOT



I bet this is one of the dependent artifacts.  However, it look strange to me 
that the version is 
not something expanded correctly.  Even I want to download the jar and install 
locally, I don't 
really know what should be the version I required to deploy the artifact as.

Did I make any mistakes in the POM?

One more related problem,  though I have setup the legacy repository correctly 
as what
described in http://xdoclet.codehaus.org/Maven2+Plugin, mvn still failed to 
download the
plugin.  At last I downloaded the JAR and install locally (and it works). What 
maybe the 
problem causing this?

Thanks a lot.


Best regards,
Adrian




This email is confidential. If you are not the intended recipient, please 
delete it from your system and notify the sender immediately. Any unauthorized 
use, disclosure, dissemination or copying of this email is prohibited. Taifook 
Securities Group, its group companies and their content providers ("Parties") 
shall not be responsible for the accuracy or completeness of this email or its 
attachment, if any, which could contain virus, be corrupted, destroyed, 
incomplete, intercepted, lost or arrive late.   The Parites do not accept 
liability for any damage caused by this email.



Geoff Urbach/AU1/AGL is out of the office.

2006-08-15 Thread Geoff Urbach

I will be out of the office starting  16/08/2006 and will not return until
30/05/2008.

I am no longer working for agl. For AGL related work please contact Nick
Volmer, otherwise I can be contacted via email: [EMAIL PROTECTED]


**
This email is intended solely for the use of the addressee
and may contain information that is confidential or privileged.
If you receive this email in error please notify the sender and
delete the email immediately.
**

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



Re: Projectstructure

2006-08-15 Thread Kai Uwe Bachmann

Hello,

in my opinion you don't have a problem with maven but with Eclipse. 
Have you tried to post your problem to an Eclipse forum ?


Mit freundlichen Grüßen / Best Regards

Kai Uwe Bachmann
Am 15.08.2006 um 20:01 schrieb Kaiser, Hans:


Hello,


it's not required to put the subprojects in the directory of the root
project. You can place them all in separate directories
like Eclipse does and reference to it by relative path. I think you
have a directory structure like
wokspace
|-- myApp
|-- common
...
so you have to create a pom.xml in myApp with
...

   ../common
...

...


no project structure is

workspace
|-- my-app (is also the CVS-module)
 |-- presentation
 |-- common
 |-- web
 |-- pom.xml (the master pom)



I think this will solve your problem.

If common, presentation and web are independent of myApp it could be a
better solution to reference them as dependency
and let maven do the rest



I will try the relative paths by adding the master pom to a subdir.
Anyway, would be a possibility to setup an environment for eclipse, 
with

the given structure?



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



Build Profiles and Wars

2006-08-15 Thread Marco A Villalobos Jr
I'm using the code below in a profile.
I execute the profile, expecting it to delete the file
web.foobar.xml from the WEB-INF directory.

That is not happenning.

Sorry, I cannot figure this out, and have been
pounding for 3 hours on it.

What must I do?

---


   
maven-antrun-plugin


   
process-resources


Will
DELETE:
${project.build.directory}/${project.build.finalName}/WEB-INF/web.foobar.xml






run









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



Re: Graphical View of Dependencies

2006-08-15 Thread Milos Kleint
you might want to check the mevenide support in netbeans. 
http://mevenide.codehaus.org/m2-site
when you open the project in netbeans, and invoke the View Graph action 
in project's subnode name Dependencies, you get somethign like this

http://mevenide.codehaus.org/m2-site/images/dependencyGraph.png
for projects witl a lot of transitive deps, the graph gets a bit 
chaotic, but you can move stuff around and save the layout you want.


Milos

Koh, Pin (STL) wrote:

Is there a good graphic tool to visualize jar dependencies?

Pin Koh
*** Confidentiality Notice ***
This email, its electronic document attachments, and the contents of its 
website linkages may contain confidential health information.  This information 
is intended solely for use by the individual or entity to whom it is addressed. 
 If you have received this information in error, please notify the sender 
immediately and arrange for the prompt destruction of the material and any 
accompanying attachments.



  



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



Geoff Urbach/AU1/AGL is out of the office.

2006-08-15 Thread Geoff Urbach

I will be out of the office starting  16/08/2006 and will not return until
30/05/2008.

I am no longer working for agl. For AGL related work please contact Nick
Volmer, otherwise I can be contacted via email: [EMAIL PROTECTED]


**
This email is intended solely for the use of the addressee
and may contain information that is confidential or privileged.
If you receive this email in error please notify the sender and
delete the email immediately.
**

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



Geoff Urbach/AU1/AGL is out of the office.

2006-08-15 Thread Geoff Urbach

I will be out of the office starting  16/08/2006 and will not return until
30/05/2008.

I am no longer working for agl. For AGL related work please contact Nick
Volmer, otherwise I can be contacted via email: [EMAIL PROTECTED]


**
This email is intended solely for the use of the addressee
and may contain information that is confidential or privileged.
If you receive this email in error please notify the sender and
delete the email immediately.
**

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



install cruise control plugin for maven 2.0

2006-08-15 Thread manoj kaushik

can anyone please tell me which version of cruisecontrol is supported by
maven 2.0


[ANN] Proximity Demo Update

2006-08-15 Thread Tamás Cservenák

Hi All,

Proximity DEMO site on
http://proximity.abstracthorizon.org:12000/px-webapp/

is updated with current SVN version.

Much of improvements are made in code, both cleanup and new features added.
One of major improvements are the "plugin" like itemInspector configuration.
This enabled to index JAR/ZIP directories and files. Also, the whole
metadata handling code is cleaned up, and the "base" set of properties
supported by Proximity are extended (lastScanTime, file hashes, etc).

Finally, the webapp is updated to reflect the new changes, note the "Expand
Properties" button on Browse Files view and expanded Search capabilites

RC4 release (final RC) is targeted to the end of the week.

Have fun!
~t~


[m2] eclipse:eclipse and eclipse 3.2 projects within a project support.

2006-08-15 Thread Barrie Treloar

With Eclipse 3.2 I was lead to believe you could create projects
within projects, so that I could checkout a maven project that
contains modules and wire that up in Eclipse correctly.  Instead of
manually checking out the modules as I did under Eclipse 3.1.

I am able to manually add the project in Eclipse via File -> Import ->
General -> Existing Projects into Workspace and use the module
directoy as the value for "Select root directory".
The project then appears in the "Projects" list for importing.

If I select the project root then there are no projects to choose from.

I thought that the snapshot version of the eclipse:eclipse plugin had
the functionality to do this for me, but it is not working how I
expect.  I assume I am doing something wrong. Should mvn
eclipse:eclipse at the project root do what I expect?

Any help appreciated.
Bae

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



Re: eclipse

2006-08-15 Thread Max Cooper
If you run 'mvn eclipse:eclipse' from the top level of your project (as 
opposed to running it individually for each module), the  maven eclipse 
plugin will create "project dependencies" rather than dependencies on 
the jar files in the repository.


I would start by checking to see if you currently have "project 
dependencies" or if you have dependencies on jars.


-Max

Douglas Ferguson wrote:

When using eclipse for multi-module projects:

 


If I am working on 2 modules at the same time, is there anyway to have
eclipse resolve dependencies without having to install them to the maven
repository?

 


When using the m2 plugin, is there an easy way to add a local
dependency/parent/or submodule?

 


When using the m2 plugin, do I have to configure all the goals I need to run
per module? Since the basedir has to be set it seems like you have to
configure all your modules and all the goals you want to run.

 


__


Douglas W. Ferguson

EPSIIA - Another Fiserv Connection

Development

Office Phone: 512-329-0081 ext. 3309

Dial Toll Free: 800-415-5946

Mobile Phone: 512-293-7279

Fax: 512-329-0086

[EMAIL PROTECTED]

www.epsiia.com  


__

 





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



RE: Help building and deploying a war with JSTL in it

2006-08-15 Thread Kenneth Litwak
Oops. Sorry for sending a file to the list.  

Ken

-Original Message-
From: Kenneth Litwak [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 15, 2006 4:47 PM
To: Maven Users List
Subject: RE: Help building and deploying a war with JSTL in it

Hi Ben,

  Thanks for your suggestions. Here's my file.  I'm not familiar with
the term POM that everyone else seems to be using but this is the xml
file with dependencies in it.  Thanks.

Ken

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
ben short
Sent: Tuesday, August 15, 2006 3:23 PM
To: Maven Users List
Subject: Re: Help building and deploying a war with JSTL in it

Hi Ken,

I have the following dependency im my pom...


taglibs
c
1.1.2
compile
tld


And i add the following to my jsp pages...

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %>

Maven takes care of the rest form me.

In the war file under WEB-INF i have a tdl directory that has the
c-1.1.2.tld file in it.

Maybe supply your pom and I might beable to help you further.

Ben




On 8/15/06, Kenneth Litwak <[EMAIL PROTECTED]> wrote:
> Hi,
>
>   I have a web app built with Maven.  I'm not the maven expert here,
but
> he's out of the office for several days. He set things up to use
> multiple configurations.  The "local" one I use for my own unit
testing
> is doing fine but one for our main test server is not.  When I try to
> run a war, I get a jasper exception from tomcat because the URI for
> jstl/core cannot be found.  My repository has a JSTL directory, with
> both the jstl and jstl-standard jars in it.  My project.xml has a
> dependency for jstl.  The jstl jar, but NOT the jstl-standard jar
shows
> up in the WEB-INF/lib directory after I build the war.  What do I need
> to check or change to make this work? Thanks.
>
> Ken
>
>
>
>  Kenneth D. Litwak
> Software Engineer III
> IMT
> Azusa Pacific University
> 901 E. Alosta
> Azusa, CA 91702
>
>
> -
> 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]


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



RE: Help building and deploying a war with JSTL in it

2006-08-15 Thread Kenneth Litwak
Hi Ben,

  Thanks for your suggestions. Here's my file.  I'm not familiar with
the term POM that everyone else seems to be using but this is the xml
file with dependencies in it.  Thanks.

Ken

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
ben short
Sent: Tuesday, August 15, 2006 3:23 PM
To: Maven Users List
Subject: Re: Help building and deploying a war with JSTL in it

Hi Ken,

I have the following dependency im my pom...


taglibs
c
1.1.2
compile
tld


And i add the following to my jsp pages...

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %>

Maven takes care of the rest form me.

In the war file under WEB-INF i have a tdl directory that has the
c-1.1.2.tld file in it.

Maybe supply your pom and I might beable to help you further.

Ben




On 8/15/06, Kenneth Litwak <[EMAIL PROTECTED]> wrote:
> Hi,
>
>   I have a web app built with Maven.  I'm not the maven expert here,
but
> he's out of the office for several days. He set things up to use
> multiple configurations.  The "local" one I use for my own unit
testing
> is doing fine but one for our main test server is not.  When I try to
> run a war, I get a jasper exception from tomcat because the URI for
> jstl/core cannot be found.  My repository has a JSTL directory, with
> both the jstl and jstl-standard jars in it.  My project.xml has a
> dependency for jstl.  The jstl jar, but NOT the jstl-standard jar
shows
> up in the WEB-INF/lib directory after I build the war.  What do I need
> to check or change to make this work? Thanks.
>
> Ken
>
>
>
>  Kenneth D. Litwak
> Software Engineer III
> IMT
> Azusa Pacific University
> 901 E. Alosta
> Azusa, CA 91702
>
>
> -
> 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]





  
  3

  

  student-schedule

  Graduate Student Schedule

  studentSchedule

  0.1

  

  
Azusa Pacific University


  

  
Project Description
  
  
This is the Project Description
  

  

  http://devel.apu.edu/StudentSchedule/
  https://devel.apu.edu:8000/jira/
  devel.apu.edu

  

  

  

  

  

  

  junit
  3.8.1


  log4j
  log4j
  1.2.8
  
	true
  


  servletapi
  2.3


  casclient
  2.0.10
  
true
  



  apu-db
  0.2
  
true
  


  commons-dbcp
  commons-dbcp
  1.2.1
  
  


  commons-pool
  commons-pool
  1.2
  
  


  ifxjdbc
  2.21.JC4
  
true
  


  postgresql
  postgresql
  7.4-jdbc3
  
true
  



  apu-util
  latest
  
true
  


  jldap
  2004.05.18
  
true
  




  apu-registration
  2.1
  
true
  


  apu-ifas
  0.1.4
  
true
  


  jakarta-oro
  2.0.7
  
true
  



  apu-academics
  3.0.B1
  
true
  


  apu-monitor
  0.1.1
  
true
  


  mx4j
  2.1.0
  
  
true
  


  jstl
  1.1.2
  
true
  


  javamail
  1.3.1
  
true
  


  activation
  1.0.2
  
true
  

  

  

  

[EMAIL PROTECTED]
src/java
src/junit


 

  
**/Test*.java
  
  

  ${maven.conf.dir}
  true
  
**/*.properties
**/*.xml
  

  





  
${maven.conf.dir}
true

  **/*.properties
  **/*.xml

  


  


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

Re: M2 : using assembly plugin to copy part of the repository

2006-08-15 Thread Barrie Treloar

1) I want to use the directory the M2 repo would use - the example below is
creating a directory com.cswgroup.kms.kes.config when I really want
com/cswgroup/kms/kes/config - is there a way of getting at ${groupId} with /
separators ?


Can't help you on this one. Also can't really see the reason for it...


2) I would like to include the .pom descriptors as well.

Is there a way of specifying this with the assembly plugin, or should I look
at rolling my own MOJO ?


All jar files include the pom in the META-INF/maven folder structure.

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



RE: Graphical View of Dependencies

2006-08-15 Thread Heck, Joe
You might check out
http://www.artima.com/forums/flat.jsp?forum=106&thread=155342 and (a
thread about JarAnalyzer) and see if that will do what you're looking
for.

-joe

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Koh, Pin (STL)
Sent: Tuesday, August 15, 2006 2:20 PM
To: users@maven.apache.org
Subject: Graphical View of Dependencies

Is there a good graphic tool to visualize jar dependencies?

Pin Koh
*** Confidentiality Notice ***
This email, its electronic document attachments, and the contents of its
website linkages may contain confidential health information.  This
information is intended solely for use by the individual or entity to
whom it is addressed.  If you have received this information in error,
please notify the sender immediately and arrange for the prompt
destruction of the material and any accompanying attachments.



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



Re: Projectstructure

2006-08-15 Thread Max Cooper

Kaiser, Hans wrote:


workspace
|-- my-app (is also the CVS-module)
 |-- presentation
 |-- common
 |-- web
 |-- pom.xml (the master pom)


Eclipse does not support nested projects, so that structure won't work 
(or at least won't work well in an Eclipse-friendly way). It is best to 
have a separate Eclipse project for each module. And by "best", I mean 
it is the only sane choice, even though this Eclipse limitation drives 
me mad. :-)


To be able to edit the top-level pom.xml, you must move it into another 
"peer module". Let's call it "master". You will need to adjust the paths 
to the modules in the master pom. "presentation" will change to 
"../presentation", etc.


my-app
  |-- presentation
  |-- common
  |-- web
  |-- master (the master pom.xml is in this directory)

Then setup an Eclipse workspace, and checkout the presentation, common, 
web, and master modules as Eclipse projects. Done.


Personally, I prefer to checkout the project from the root (my-app) 
outside of Eclipse, and create an Eclipse workspace that DOES NOT 
overlap my project working directories. Then I create a new Eclipse 
project for each module by pointing Eclipse to the existing directories 
in the my-app working directory tree. I use a bunch of different tools 
when working on projects, so I don't want the working files to be 
"owned" by Eclipse (and stashed away in a workspace somewhere). This 
arrangement also allows you to commit changes to more than one module in 
the same transaction, though you have to use something other than 
Eclipse to do the commit. And you could even keep the pom.xml file at 
the top level and avoid creating the master directory -- however, in 
doing so you lose the ability to edit the pom.xml in Eclipse, so I still 
use the "master" directory technique anyway.


-Max

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



eclipse part 2

2006-08-15 Thread Douglas Ferguson
I'm also having weird compile issues.

If I run the m2 plugin with the compile goal everything works fine.
But the eclipse auto builder complains about a class from my other module
that I am depend on. The strange thing is that even though it shows up in
the errors, the class still seems to get built and appears in the target
directory.



-Original Message-
From: Douglas Ferguson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 15, 2006 5:47 PM
To: 'Maven Users List'
Subject: eclipse

When using eclipse for multi-module projects:

 

If I am working on 2 modules at the same time, is there anyway to have
eclipse resolve dependencies without having to install them to the maven
repository?

 

When using the m2 plugin, is there an easy way to add a local
dependency/parent/or submodule?

 

When using the m2 plugin, do I have to configure all the goals I need to run
per module? Since the basedir has to be set it seems like you have to
configure all your modules and all the goals you want to run.

 

__


Douglas W. Ferguson

EPSIIA - Another Fiserv Connection

Development

Office Phone: 512-329-0081 ext. 3309

Dial Toll Free: 800-415-5946

Mobile Phone: 512-293-7279

Fax: 512-329-0086

[EMAIL PROTECTED]

www.epsiia.com  

__

 



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



Re: [m2] Configuring the scp executable

2006-08-15 Thread Daniel Serodio
[EMAIL PROTECTED] wrote:
> I apologize in advance for any animosity this post may generate.
>
> This is a subject that has come up time and time again on a number of
> mailing lists, and frankly it's getting annoying.  First, Maven is not a
> Unix tool, not did it grow up in the "Unix World".  It is a Java tool, and
> has been since day one (as is its predecessor, Ant).  This means that it
> will be run on a number of different operating systems, not just UNIX.
>
> What does this mean for processing files and paths?
>
> 1) Files can have spaces in the filename
> 2) The file seperation character depends on the underlying operating system
> 3) The path seperation character depends on the underlying operating system
>
> I would consider any code which fails to take into consideration these
> simple truths as defective.  Forcing Windows users to mangle their
> filenames in order to satisfy UNIX-centric assumptions is not the answer.
> Fixing the code is.
>   
While I do come from a "Unix World" (Linux, actually), and really
dislike Windows, I whole-heartedly agree with you. Even more when you
consider that Unix filenames _can_ contain spaces, and that  "mangling
the filenames" didn't work.
> Thank you,
> Ian
>
> It's better to be hated for who you are
> than loved for who you are not
>
> Ian D. Stewart
> Appl Dev Analyst-Advisory
> DTS Distributed Server Services
> JPMorganChase Global Technology Infrastructure
> Phone: (614) 244-2564
> Pager: (888) 260-0078
>
>
>
>  "Andrew Kreps"
>  <[EMAIL PROTECTED] 
>  il.com>To 
>"Maven Users List"  
>  08/14/2006 06:43  
>  PM cc 
>
>Subject 
>  Please respond to Re: [m2] Configuring the scp
>"Maven Usersexecutable  
>List"   
>  <[EMAIL PROTECTED] 
>   he.org>  
>
> 
> On 8/14/06, Daniel Serodio <[EMAIL PROTECTED]> wrote:
>   
>> Exit code 1 - 'c:\Program' is not recognized as a command, application
>> or batch file.
> Have you tried the age old trick of changing long filenames to their
> short counterparts?  C:\Program Files is usually also accessable by
> using C:\progra~1, which avoids the space character problem you appear
> to be having.
>
> Seeing as maven grew up in the Unix world, you may also want to try
> escaping the spaces (\ ) or using forward slashes instead of back
> slashes for the directories.
>   

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



Graphical View of Dependencies

2006-08-15 Thread Koh, Pin (STL)
Is there a good graphic tool to visualize jar dependencies?

Pin Koh
*** Confidentiality Notice ***
This email, its electronic document attachments, and the contents of its 
website linkages may contain confidential health information.  This information 
is intended solely for use by the individual or entity to whom it is addressed. 
 If you have received this information in error, please notify the sender 
immediately and arrange for the prompt destruction of the material and any 
accompanying attachments.




eclipse

2006-08-15 Thread Douglas Ferguson
When using eclipse for multi-module projects:

 

If I am working on 2 modules at the same time, is there anyway to have
eclipse resolve dependencies without having to install them to the maven
repository?

 

When using the m2 plugin, is there an easy way to add a local
dependency/parent/or submodule?

 

When using the m2 plugin, do I have to configure all the goals I need to run
per module? Since the basedir has to be set it seems like you have to
configure all your modules and all the goals you want to run.

 

__


Douglas W. Ferguson

EPSIIA - Another Fiserv Connection

Development

Office Phone: 512-329-0081 ext. 3309

Dial Toll Free: 800-415-5946

Mobile Phone: 512-293-7279

Fax: 512-329-0086

[EMAIL PROTECTED]

www.epsiia.com  

__

 



Re: Jar Dependency Graphical View

2006-08-15 Thread Nick Veys

On 8/15/06, Pin Ngee Koh <[EMAIL PROTECTED]> wrote:

Is there a good tool to generate dependency graph and
view it graphically?


The Dependencies report gives you a tree view of all dependencies of a
project, it's not an image but it is a dep graph.


I am sure this question has been asked. Pardon me.
If there is a good way to search through the archive, do let me know.
Thanks


http://www.nabble.com/Maven---Users-f178.html

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



Re: M2 and AspectJ issue

2006-08-15 Thread thiago

Hi,

  Everything is doing fine. No weird behavior with -X enabled, -aspectpath
contains the jar with the aspects, this last one is compiled with the
aspectj plugin too and aspectjrt.jar is in classpath always. It's just that
when surefire:test is ran the aspects codes are completely ignored. 

  I can assure that aspects are being applied cause when "showWeaveInfo" is
enabled the aj compiler says so. I can also see the generated code using
that eclipse class viewer when no source is attached.

  Any clue? (getting a little bit desperate here =) )

Kind Regards,
Thiago Souza


Nick Veys wrote:
> 
> Working for me just like that.  Try running w/ -X for debug output and
> look for anything odd.  Also, you can check target/classesbuilddef.lst
> and target/test-classesbuilddef.lst and verify the -aspectpath has
> your jar on it.
> 
> On 8/15/06, thiago <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>>I'm trying to get maven to work with aspectj. The aspectj-plugin-maven
>> is
>> working fine (classes are being woven correctly). But when surefire:test
>> runs, the aspects codes are not being ran. Here's my current setup:
>>
>> 
>> org.codehaus.mojo
>>
>> aspectj-maven-plugin
>> 
>> 
>> 
>>
>> compile
>> 
>> 
>>
>> 1.5
>> 
>>
>> 
>>
>> cortex
>>
>> 
>>  
>>   
>> cortex-retriever-ops-base
>>
>> 
>>
>> 
>>
>> 
>> 
>> 
>> 
>> 
>>
>> Aspects are in this cortex-retriever-ops-base library. Any clue anyone?
>>
>> Kind Regards,
>> Thiago Souza
>> --
>> View this message in context:
>> http://www.nabble.com/M2-and-AspectJ-issue-tf2110863.html#a5819954
>> Sent from the Maven - Users forum at Nabble.com.
>>
>>
>> -
>> 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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/M2-and-AspectJ-issue-tf2110863.html#a5823316
Sent from the Maven - Users forum at Nabble.com.


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



Re: Adding hibernate generated resources to JAR?

2006-08-15 Thread Thierry Barnier

Dear Sean,

Would generating these HIBERNATE XDOCLET into src/main/ressources  
would be an option?


Worked perfect for me.


Thierry


Le 20 juin 06 à 19:55, Sean McNamara a écrit :

Thanks Mike.  I didn't realize we were setting the output path for  
the generated hibernate files since /target/resources seemed like  
it could be a reasonable default.


Changed that to create them in /target/classes, and the jar looks  
good.


Does that mean there isn't a standard area for generated resources  
under /target, and that generated files should always be created in  
the classes dir?


Thanks again.

- Original Message 
From: Mike Perham <[EMAIL PROTECTED]>
To: Maven Users List 
Sent: Tuesday, June 20, 2006 12:36:58 PM
Subject: RE: Adding hibernate generated resources to JAR?

We just output to target/classes:


  

  org.codehaus.mojo
  xdoclet-maven-plugin
  

  test-compile
  
xdoclet
  
  

  
  
  


  

  

  

  
  


-Original Message-
From: Sean McNamara [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 20, 2006 11:54 AM
To: users@maven.apache.org
Subject: Adding hibernate generated resources to JAR?

Can someone point me in the right direction here:

I'm building  a jar that makes use of hibernate.  The
hibernate class descriptors are created in /target/resources,
but are not included in the jar.

I'm guessing I need to add a configuration for the
maven-resources-plugin to add /target/resources as a resource
patch, but I'm not finding the docs for that plugin (they
appear to be empty on the maven plugins doc site.)

Any tips appreciated.





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





-
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: [m1] Best way to sftp a file?

2006-08-15 Thread Arnaud HERITIER

In all deploy/install goals (jar, ear, war, ...) we use artifact tags
defined in the plugin.
https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/artifact/plugin.jelly
These tags use directly wagon to deploy the artifact and the pom :
https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/artifact/src/main/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

Arnaud

On 8/16/06, Jeff Jensen <[EMAIL PROTECTED]> wrote:


Thanks Arnaud.  I have the ear:deploy goal working using Artifact.  By
your
comment I infer the config is the same for Wagon as Artifact.  How to I
run
Wagon/what are the goals?


Quoting Arnaud HERITIER <[EMAIL PROTECTED]>:

> Yes you can use Wagon to do it.
> i don't know why the site is broken :-(
> You can have a look a the artifact plugin in m1 to see how to use it.
>
> Arnaud
>
> On 8/16/06, Jeff Jensen <[EMAIL PROTECTED]> wrote:
> >
> > Hi, what is the "best" way to simply FTP an artifact to a server in a
> > specified
> > dir?
> >
> > Cargo is for containers, so I think that's not it.  Wagon seems the
likely
> > answer, but the pages are broken so I can't read about it
> > (http://maven.apache.org/wagon/ clicked from the links on the Maven
main
> > page;
> > please fix!! :-).  Is Wagon the right answer?  Artifact deploy always
> > creates
> > the pom/jar/war/ear dir structure, so that doesn't work.  Other ideas?
> >
> >
> > -
> > 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: Help building and deploying a war with JSTL in it

2006-08-15 Thread ben short

Hi Ken,

I have the following dependency im my pom...


   taglibs
   c
   1.1.2
   compile
   tld
   

And i add the following to my jsp pages...

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %>

Maven takes care of the rest form me.

In the war file under WEB-INF i have a tdl directory that has the
c-1.1.2.tld file in it.

Maybe supply your pom and I might beable to help you further.

Ben




On 8/15/06, Kenneth Litwak <[EMAIL PROTECTED]> wrote:

Hi,

  I have a web app built with Maven.  I'm not the maven expert here, but
he's out of the office for several days. He set things up to use
multiple configurations.  The "local" one I use for my own unit testing
is doing fine but one for our main test server is not.  When I try to
run a war, I get a jasper exception from tomcat because the URI for
jstl/core cannot be found.  My repository has a JSTL directory, with
both the jstl and jstl-standard jars in it.  My project.xml has a
dependency for jstl.  The jstl jar, but NOT the jstl-standard jar shows
up in the WEB-INF/lib directory after I build the war.  What do I need
to check or change to make this work? Thanks.

Ken



 Kenneth D. Litwak
Software Engineer III
IMT
Azusa Pacific University
901 E. Alosta
Azusa, CA 91702


-
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: [m1] Best way to sftp a file?

2006-08-15 Thread Jeff Jensen
Thanks Arnaud.  I have the ear:deploy goal working using Artifact.  By your
comment I infer the config is the same for Wagon as Artifact.  How to I run
Wagon/what are the goals?


Quoting Arnaud HERITIER <[EMAIL PROTECTED]>:

> Yes you can use Wagon to do it.
> i don't know why the site is broken :-(
> You can have a look a the artifact plugin in m1 to see how to use it.
>
> Arnaud
>
> On 8/16/06, Jeff Jensen <[EMAIL PROTECTED]> wrote:
> >
> > Hi, what is the "best" way to simply FTP an artifact to a server in a
> > specified
> > dir?
> >
> > Cargo is for containers, so I think that's not it.  Wagon seems the likely
> > answer, but the pages are broken so I can't read about it
> > (http://maven.apache.org/wagon/ clicked from the links on the Maven main
> > page;
> > please fix!! :-).  Is Wagon the right answer?  Artifact deploy always
> > creates
> > the pom/jar/war/ear dir structure, so that doesn't work.  Other ideas?
> >
> >
> > -
> > 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]



Packaging my tld file

2006-08-15 Thread Alex Turner

Where do I need to put my tld file to get it packaged in my jar?

This is the jar that defines the tag classes, rather than the web app that
uses them, so I believe that it needs to go into the META-INF in the jar
file...

Thanks,

Alex


Re: [m1] Best way to sftp a file?

2006-08-15 Thread Arnaud HERITIER

Yes you can use Wagon to do it.
i don't know why the site is broken :-(
You can have a look a the artifact plugin in m1 to see how to use it.

Arnaud

On 8/16/06, Jeff Jensen <[EMAIL PROTECTED]> wrote:


Hi, what is the "best" way to simply FTP an artifact to a server in a
specified
dir?

Cargo is for containers, so I think that's not it.  Wagon seems the likely
answer, but the pages are broken so I can't read about it
(http://maven.apache.org/wagon/ clicked from the links on the Maven main
page;
please fix!! :-).  Is Wagon the right answer?  Artifact deploy always
creates
the pom/jar/war/ear dir structure, so that doesn't work.  Other ideas?


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




Jar Dependency Graphical View

2006-08-15 Thread Pin Ngee Koh

Is there a good tool to generate dependency graph and
view it graphically?

I am sure this question has been asked. Pardon me.
If there is a good way to search through the archive, do let me know.
Thanks

Pin Koh

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



[m1] Best way to sftp a file?

2006-08-15 Thread Jeff Jensen
Hi, what is the "best" way to simply FTP an artifact to a server in a specified
dir?

Cargo is for containers, so I think that's not it.  Wagon seems the likely
answer, but the pages are broken so I can't read about it
(http://maven.apache.org/wagon/ clicked from the links on the Maven main page;
please fix!! :-).  Is Wagon the right answer?  Artifact deploy always creates
the pom/jar/war/ear dir structure, so that doesn't work.  Other ideas?


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



[m2] Debugging ScpExternalWagon: "fireSessionDebug" ?

2006-08-15 Thread Daniel Serodio
I'm trying to understand what's happening inside ScpExternalWagon.
Looking at its source code, I noticed a bunch of calls to
fireSessionDebug (eg, ``fireSessionDebug( *"Executing command: "* +
cl.toString() ); ´´), but even when I run Maven with -X, no "Executing
command" is output.

How can I see the output of fireSessionDebug?

Thanks in advance,
Daniel Serodio

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



Re: adding maven 2 projects - invalid url

2006-08-15 Thread Satish




I am having a similar problem, but need to specify the url, as i have couple
of modules
specified in the top level pom.

http://code.sharefare.com/trunk/pom.xml - this is the url am giiving, which
is working fine
from any browser, but continum says it's invalid URL any input
-- 
View this message in context: 
http://www.nabble.com/adding-maven-2-projects-tf2108593.html#a5822632
Sent from the Continuum - Users forum at Nabble.com.



aspectj-maven-plugin verbosity

2006-08-15 Thread Nick Veys

I've noticed the M2 version of the aspectj plugin is a lot louder than
the M1 one.  It lists every file as it compiles regardless if verbose
is set or not.  The major difference I see is that M2 uses ajc's
bridge classes while M1 uses the iajc ant task.

Is there a way to get M2's aspectj plugin to be a bit quieter?  Not a
huge deal of course, it seems ajc likes to talk.

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



Re: [m2] Configuring the scp executable

2006-08-15 Thread Daniel Serodio
[EMAIL PROTECTED] wrote:
> I apologize in advance for any animosity this post may generate.
>
> This is a subject that has come up time and time again on a number of
> mailing lists, and frankly it's getting annoying.  First, Maven is not a
> Unix tool, not did it grow up in the "Unix World".  It is a Java tool, and
> has been since day one (as is its predecessor, Ant).  This means that it
> will be run on a number of different operating systems, not just UNIX.
>
> What does this mean for processing files and paths?
>
> 1) Files can have spaces in the filename
> 2) The file seperation character depends on the underlying operating system
> 3) The path seperation character depends on the underlying operating system
>
> I would consider any code which fails to take into consideration these
> simple truths as defective.  Forcing Windows users to mangle their
> filenames in order to satisfy UNIX-centric assumptions is not the answer.
> Fixing the code is.
>   
While I do come from a "Unix World" (Linux, actually), and really
dislike Windows, I whole-heartedly agree with you. Even more when you
consider that Unix filenames _can_ contain spaces, and that  "mangling
the filenames" didn't work.
> Thank you,
> Ian
>
> It's better to be hated for who you are
> than loved for who you are not
>
> Ian D. Stewart
> Appl Dev Analyst-Advisory
> DTS Distributed Server Services
> JPMorganChase Global Technology Infrastructure
> Phone: (614) 244-2564
> Pager: (888) 260-0078
>
>
>
>  "Andrew Kreps"
>  <[EMAIL PROTECTED] 
>  il.com>To 
>"Maven Users List"  
>  08/14/2006 06:43  
>  PM cc 
>
>Subject 
>  Please respond to Re: [m2] Configuring the scp
>"Maven Usersexecutable  
>List"   
>  <[EMAIL PROTECTED] 
>   he.org>  
>
> 
> On 8/14/06, Daniel Serodio <[EMAIL PROTECTED]> wrote:
>   
>> Exit code 1 - 'c:\Program' is not recognized as a command, application
>> or batch file.
> Have you tried the age old trick of changing long filenames to their
> short counterparts?  C:\Program Files is usually also accessable by
> using C:\progra~1, which avoids the space character problem you appear
> to be having.
>
> Seeing as maven grew up in the Unix world, you may also want to try
> escaping the spaces (\ ) or using forward slashes instead of back
> slashes for the directories.
>   


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



Graphical View of Dependencies

2006-08-15 Thread Koh, Pin (STL)
> Is there a good graphic tool to visualize jar dependencies?
> 
> Pin Koh
*** Confidentiality Notice ***
This email, its electronic document attachments, and the contents of its 
website linkages may contain confidential health information.  This information 
is intended solely for use by the individual or entity to whom it is addressed. 
 If you have received this information in error, please notify the sender 
immediately and arrange for the prompt destruction of the material and any 
accompanying attachments.




Re: [m2] mvn for midlets

2006-08-15 Thread Marco Mistroni

Hello Benedict,
wanted to do same... after googling found this link

http://mojo.codehaus.org/j2me-maven-plugin/howto.html

HTH
marco

On 8/15/06, Benedict Heal <[EMAIL PROTECTED]> wrote:


I want to build midlets using maven2.
I cannot get the correct dependencies for the Wireless Toolkit jars to
be seen by the compiler.
Can anyone point me at a real pom for building a midlet? I've googled
for hours to no avail.

Many thanks,
Benedict






Build can't get Heap Space

2006-08-15 Thread NWNaccari
Running a build< it gets nowhere and gives me a message:

Error occurred during initialization of VM
Could not reserve enough space for object heap

VM, I assume is "Virtual Machine"

Can anyone help me with this one?

Wayne Naccari
(205) 437-6464


-
This e-mail and any attachments are intended only for the
individual or company to which it is addressed and may contain
information which is privileged, confidential and prohibited from
disclosure or unauthorized use under applicable law.  If you are
not the intended recipient of this e-mail, you are hereby notified
that any use, dissemination, or copying of this e-mail or the
information contained in this e-mail is strictly prohibited by the
sender.  If you have received this transmission in error, please
return the material received to the sender and delete all copies
from your system.


Re: M2 and AspectJ issue

2006-08-15 Thread Nick Veys

Working for me just like that.  Try running w/ -X for debug output and
look for anything odd.  Also, you can check target/classesbuilddef.lst
and target/test-classesbuilddef.lst and verify the -aspectpath has
your jar on it.

On 8/15/06, thiago <[EMAIL PROTECTED]> wrote:


Hi,

   I'm trying to get maven to work with aspectj. The aspectj-plugin-maven is
working fine (classes are being woven correctly). But when surefire:test
runs, the aspects codes are not being ran. Here's my current setup:


org.codehaus.mojo
aspectj-maven-plugin



compile


1.5



cortex



cortex-retriever-ops-base









Aspects are in this cortex-retriever-ops-base library. Any clue anyone?

Kind Regards,
Thiago Souza
--
View this message in context: 
http://www.nabble.com/M2-and-AspectJ-issue-tf2110863.html#a5819954
Sent from the Maven - Users forum at Nabble.com.


-
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: adding maven 2 projects

2006-08-15 Thread Gail Bowman
I was having trouble configuring a maven 2 project in continuum because 
I thought that you
should be able to configure it similarly to an ant project.  There I 
could tell continuum the location of the

build.xml in the scm.

But with maven 2 I was only able to configure a project by copying the 
current pom.xml to the file system
and referencing it there. I used the http protocol. After the project 
was configured it seemed to know about the scm configuration and then 
seemed to pick-up new versions of the pom.xml from the scm.


Gail

Oliver wrote:


Hi there



I'm trying to add a maven 2 project (with child modules) to continuum.

The documentation says to provide a URL to the pom. I've tried to use
the svn url to the pom, but it states that it is not a valid url, for
example: http://server:8080/svn/trunk/pom.xml



What type of URL does Continuum require?



Kind Regards

Oliver Loe




 





[m2] mvn for midlets

2006-08-15 Thread Benedict Heal

I want to build midlets using maven2.
I cannot get the correct dependencies for the Wireless Toolkit jars to 
be seen by the compiler.
Can anyone point me at a real pom for building a midlet? I've googled 
for hours to no avail.


Many thanks,
Benedict




Creating UCM view from continuum?

2006-08-15 Thread raghurajan . x . gurunathan
How do we create ucm view using continuum ???

i was able to create a maven 2 project thru continuum from clearcase, but 
when i tried to do rebase on that stream, i'm getting error its  like

"View is not UCM View"

Any one has any idea on this , please





Thanks,
Raghurajan Gurunathan



-
This transmission may contain information that is privileged,
confidential, legally privileged, and/or exempt from disclosure
under applicable law.  If you are not the intended recipient, you
are hereby notified that any disclosure, copying, distribution, or
use of the information contained herein (including any reliance
thereon) is STRICTLY PROHIBITED.  Although this transmission and
any attachments are believed to be free of any virus or other
defect that might affect any computer system into which it is
received and opened, it is the responsibility of the recipient to
ensure that it is virus free and no responsibility is accepted by
JPMorgan Chase & Co., its subsidiaries and affiliates, as
applicable, for any loss or damage arising in any way from its use.
If you received this transmission in error, please immediately
contact the sender and destroy the material in its entirety,
whether in electronic or hard copy format. Thank you.


Re: generate e-mailaddresses from SVN?

2006-08-15 Thread Emmanuel Venisse

Actually, continuum can send mail only to notifiers defined on the project.
In 1.1, you can choose if you want to use the actual mode or send mail to 
latest committers

Emmanuel

[EMAIL PROTECTED] a écrit :

hi

using cruisecontrol it was possible to generate the e-mailaddresses to 
which notifications on failed builds should be sent. that was typically 
done by combining the SVN username of the person that checking in 
something that did not compile, with a suffix, say "@ourcompany.com". but 
i don't know how this is done in continuum? does anyone know if it is 
possible?


mvh,
markus




Re: only notify user that checked in since last successful build

2006-08-15 Thread Emmanuel Venisse

This feature isn't available yet. It will a feature of continuum 1.1

Emmanuel

[EMAIL PROTECTED] a écrit :

hi

cruisecontrol could be configured to send e-mails about failed builds only 
to the users that checked in something since the last sucessful build. is 
it possible to acheive something like this using continuum? i have looked 
everwhere it seems. the getting started section or the faq of the 
continuum site does not mention anything about this sought after feature.


mvh,
markus





Re: profile activation & deactivation

2006-08-15 Thread Jim Christenson

I am having the same problem.

Initially I put the profile combinations into a 'master-pom' but want to
move this definition to the global settings to eliminate a site-specific
pom. The  does work at the pom/master-pom level, but I
can't make it work at the settings.xml or profiles.xml level. 

Any new information?

Jim


Adam Hardy-4 wrote:
> 
> I have the following profiles [1] in my settings.xml, in order that the 
> 'developer' profile will filter out the integration tests via a profile 
> section in one project's pom, while the normal profile (for continuous 
> integration on another machine without my settings.xml) will not see the 
> filter and will therefore run them.
> 
> However occasionally I do want to run the integration tests but I can't 
> deactivate my 'developer' profile. Yet from the mailing archives [2] I 
> understand that the  profile should automatically 
> DE-activate when I execute:
> 
> mvn -Pnormal test
> 
> Yet this doesn't happen. Is my understanding incorrect?
> 
> [1]
>
>  
>developer
>true
>  
>  
>normal
>  
>
> 
> [2]
> http://marc.theaimsgroup.com/?l=turbine-maven-user&m=114014964303554&w=2
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/profile-activation---deactivation-tf2050383.html#a5820137
Sent from the Maven - Users forum at Nabble.com.


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



Re: adding maven 2 projects

2006-08-15 Thread Emmanuel Venisse

supported url are http, https, ftp and file (if allowed in continuum conf file)

Emmanuel

Oliver a écrit :

Hi there

 


I'm trying to add a maven 2 project (with child modules) to continuum.

The documentation says to provide a URL to the pom. I've tried to use
the svn url to the pom, but it states that it is not a valid url, for
example: http://server:8080/svn/trunk/pom.xml

 


What type of URL does Continuum require?

 


Kind Regards

Oliver Loe

 







M2 and AspectJ issue

2006-08-15 Thread thiago

Hi,

   I'm trying to get maven to work with aspectj. The aspectj-plugin-maven is
working fine (classes are being woven correctly). But when surefire:test
runs, the aspects codes are not being ran. Here's my current setup:


org.codehaus.mojo
aspectj-maven-plugin



compile


1.5



cortex



cortex-retriever-ops-base









Aspects are in this cortex-retriever-ops-base library. Any clue anyone?

Kind Regards,
Thiago Souza
-- 
View this message in context: 
http://www.nabble.com/M2-and-AspectJ-issue-tf2110863.html#a5819954
Sent from the Maven - Users forum at Nabble.com.


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



Re: [m2] Configuring the scp executable

2006-08-15 Thread ian . d . stewart
I apologize in advance for any animosity this post may generate.

This is a subject that has come up time and time again on a number of
mailing lists, and frankly it's getting annoying.  First, Maven is not a
Unix tool, not did it grow up in the "Unix World".  It is a Java tool, and
has been since day one (as is its predecessor, Ant).  This means that it
will be run on a number of different operating systems, not just UNIX.

What does this mean for processing files and paths?

1) Files can have spaces in the filename
2) The file seperation character depends on the underlying operating system
3) The path seperation character depends on the underlying operating system

I would consider any code which fails to take into consideration these
simple truths as defective.  Forcing Windows users to mangle their
filenames in order to satisfy UNIX-centric assumptions is not the answer.
Fixing the code is.


Thank you,
Ian

It's better to be hated for who you are
than loved for who you are not

Ian D. Stewart
Appl Dev Analyst-Advisory
DTS Distributed Server Services
JPMorganChase Global Technology Infrastructure
Phone: (614) 244-2564
Pager: (888) 260-0078


   
 "Andrew Kreps"
 <[EMAIL PROTECTED] 
 il.com>To 
   "Maven Users List"  
 08/14/2006 06:43  
 PM cc 
   
   Subject 
 Please respond to Re: [m2] Configuring the scp
   "Maven Usersexecutable  
   List"   
 <[EMAIL PROTECTED] 
  he.org>  
   
   
   




On 8/14/06, Daniel Serodio <[EMAIL PROTECTED]> wrote:
> Exit code 1 - 'c:\Program' is not recognized as a command, application
> or batch file.
>

Have you tried the age old trick of changing long filenames to their
short counterparts?  C:\Program Files is usually also accessable by
using C:\progra~1, which avoids the space character problem you appear
to be having.

Seeing as maven grew up in the Unix world, you may also want to try
escaping the spaces (\ ) or using forward slashes instead of back
slashes for the directories.

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




-
This transmission may contain information that is privileged,
confidential, legally privileged, and/or exempt from disclosure
under applicable law.  If you are not the intended recipient, you
are hereby notified that any disclosure, copying, distribution, or
use of the information contained herein (including any reliance
thereon) is STRICTLY PROHIBITED.  Although this transmission and
any attachments are believed to be free of any virus or other
defect that might affect any computer system into which it is
received and opened, it is the responsibility of the recipient to
ensure that it is virus free and no responsibility is accepted by
JPMorgan Chase & Co., its subsidiaries and affiliates, as
applicable, for any loss or damage arising in any way from its use.
If you received this transmission in error, please immediately
contact the sender and destroy the material in its entirety,
whether in electronic or hard copy format. Thank you.


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



Re: Projectstructure

2006-08-15 Thread Kaiser, Hans
Hello,

> it's not required to put the subprojects in the directory of the root 
> project. You can place them all in separate directories
> like Eclipse does and reference to it by relative path. I think you 
> have a directory structure like
> wokspace
> |-- myApp
> |-- common
> ...
> so you have to create a pom.xml in myApp with
> ...
> 
>../common
> ...
> 
> ...

no project structure is

workspace
|-- my-app (is also the CVS-module)
 |-- presentation
 |-- common
 |-- web
 |-- pom.xml (the master pom)


> I think this will solve your problem.
> 
> If common, presentation and web are independent of myApp it could be a 
> better solution to reference them as dependency
> and let maven do the rest


I will try the relative paths by adding the master pom to a subdir.
Anyway, would be a possibility to setup an environment for eclipse, with
the given structure?


Re: Descriptions of Stock Archetypes?

2006-08-15 Thread Jamie Jackson

Oh, yeah, that is what I was looking for, thanks! Just seeing the directory
structure is very helpful.

Jamie

On 8/2/06, franz see <[EMAIL PROTECTED]> wrote:



Hi Jamie,

You can try and check this out,
http://people.apache.org/~oching/maven-archetype-plugin/ .

This is a documentation of the maven-archetype-plugin, however, this has
not
yet been released. It is still being reviewed. But nonetheless, this might
contain some information that you are looking for such as the list of
available archetypes provided by Apache's Maven 2, and some examples as to
how to use them.

Furthermore, if you have some comments regarding the documentation, your
inputs are more than welcomed ^_^

- Franz
--
View this message in context:
http://www.nabble.com/Descriptions-of-Stock-Archetypes--tf2040504.html#a5626094
Sent from the Maven - Users forum at Nabble.com.


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




using javadoc overview and maven plugin

2006-08-15 Thread Robbie Minshall

Hello.

I am calling the javadoc plugin from within a pom.xml file like so :

 
   
 
   org.apache.maven.plugins
   maven-javadoc-plugin
   

c:\\working\\tuscany07252006\\java\\samples\\sdo\\src\\main\\java\\overview.html
   
  
   
 

I would like to specify a relative path to my project (
i.esrc\\main\java\\overview.html ) for the overview page.  However,
this does
not seem to be working.

How should I correctly specify an overview page when calling javadoc plugin
from within a pom.xml ?

thanks very much for the help,
Robbie



--
* * * Charlie * * *
Check out some pics of little Charlie at
http://www.flickr.com/photos/[EMAIL PROTECTED]/sets/

* * * Addresss * * *
1914 Overland Drive
Chapel Hill
NC 27517

* * * Number * * *
919-225-1553


Help: Going crazy...antrun plugin dependencies issue

2006-08-15 Thread Dave Comeau

I'm working on my first major M2 (v. 2.0.4) project in my spare cycles, and
my obfuscation step was working fine last week.  Now it's failing with a
"can't find ant task" error, which seems like a classpath/dependency issue.
I've tried everything I could think of, I'm hoping someone can point out my
problem.  It's possible I changed something by accident, but I can't see it.
Does anyone a problem with this setup?

Here's my code in the pom.xml:



  org.apache.maven.plugins
  maven-antrun-plugin
  

  obfuscate-classes
  process-classes
  
  
  Obfuscating...
  
 
  

  
  
   run
  

  
  

  com.zelix
  klassmaster
  1.0
  system
 
C:/build-sandbox/d2e-vision/d2e-vision-engine/klassmaster/ZKM.ja
r

  



Notice that I'm using the systemPath setting for now.  I did have it working
this way without issues.

I have verified that my ZKM.jar is there, and it contains the Ant task
ZKMTask.class (there is no package prefix)

My klassmaster.build.xml looks like this:



 
 

  
  
  
  

  

  
  
 



The error I get is from a ClassNotFoundException from the AntClassLoader
(taskdef class ZKMTask cannot be found):



Caused by: The following error occurred while executing this line:
C:\build-sandbox\d2e-vision\d2e-vision-engine\klassmaster.build.xml:3:
taskdef class ZKMTask cannot be found
at
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper
.java:539)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:336)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at
org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntMojo.
java:108)
... 19 more
Caused by:
C:\build-sandbox\d2e-vision\d2e-vision-engine\klassmaster.build.xml:3:
taskdef class ZKMTask cannot be found
at
org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:483)
at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:183)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at
org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:142)
at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:91)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:334)
... 23 more
Caused by: java.lang.ClassNotFoundException: ZKMTask
at
org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.jav
a:1166)
at
org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1107)
at
org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:977)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at
org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:457)
... 30 more 




Re: Projectstructure

2006-08-15 Thread Kai Uwe Bachmann

Hello,

it's not required to put the subprojects in the directory of the root 
project. You can place them all in separate directories
like Eclipse does and reference to it by relative path. I think you 
have a directory structure like

wokspace
|-- myApp
|-- common
...
so you have to create a pom.xml in myApp with
...

  ../common
   ...

...

I think this will solve your problem.

If common, presentation and web are independent of myApp it could be a 
better solution to reference them as dependency

and let maven do the rest

Mit freundlichen Grüßen / Best Regards

Kai Uwe Bachmann
Am 15.08.2006 um 13:56 schrieb Kaiser, Hans:


Hello Kai Uwe,



my suggestion is a direcory structure of
myApp
|-- common
|-- presentation
|-- web
In CVS only the module myApp was checked in.
The whole project doesn't exists in the Eclipse workspace,





In Eclipse I've created a new workspace and 3 new projects from the
existing sources. The myApp
contains no sources itself and (only the pom file) so I doesn't create
an Eclipse project for it.
Finally I had only one CVS module with all the sources and no
duplications.


ahh okay, hadn't known something about this option.
To be sure, if we are takling about the same things, I have done
following:
- checked out my-app into the workspace
- added common, presentation and web into eclipse as Projects (with
existing project into workspace)

Now I have no idea how to add the master POM.xml into my workspace.
Could you give me an hint?


The only redundancies I have in my project are the dependencies 
between

the projects. This must be defined
in the maven pom and the Eclipse project because of a bug or missing
feature in the Eclipse plugin. I hope this
lack will be fixed in the next version.

BTW: The maven integration of Netbeans is much better if it could be 
an

alternative for you.


I thought about it, but we are using eclipse





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



Help building and deploying a war with JSTL in it

2006-08-15 Thread Kenneth Litwak
Hi,

  I have a web app built with Maven.  I'm not the maven expert here, but
he's out of the office for several days. He set things up to use
multiple configurations.  The "local" one I use for my own unit testing
is doing fine but one for our main test server is not.  When I try to
run a war, I get a jasper exception from tomcat because the URI for
jstl/core cannot be found.  My repository has a JSTL directory, with
both the jstl and jstl-standard jars in it.  My project.xml has a
dependency for jstl.  The jstl jar, but NOT the jstl-standard jar shows
up in the WEB-INF/lib directory after I build the war.  What do I need
to check or change to make this work? Thanks.

Ken



 Kenneth D. Litwak
Software Engineer III
IMT
Azusa Pacific University
901 E. Alosta
Azusa, CA 91702


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



Re: Dependency scopes

2006-08-15 Thread Mike Perham




Runtime - contains things that you don't need at compile but you do need
for your app to actually run.  You might compile against JMS but require
ActiveMQ at runtime (i.e. a JMS engine).
Test - contains test specific classes.  Junit, mocks, a lightweight
database like HSQLDB, etc.

[EMAIL PROTECTED] wrote on 08/15/2006 08:32:26 AM:

> Hello,
>
> I would like to ask a question regarding dependency scopes in
> Maven2. After reading the article "Introduction to the Dependency
> Mechanism" [1], I've got several questions that may have been answered
> previously. I apologize in advance if that is the case.
>
> The said article mentions the notion of "runtime classpath." While I
> can see what compile and test classpaths mean, I fail to understand
> what a runtime classpath is, in particular how it differs from the
> test classpath.
>
> Moreover, the article defines  "provided scope" as follows:
>
>  provided - this is much like compile, but indicates you expect theJDK
> or a container to provide it.  It is only available on the
compilation
>classpath, and is not transitive.
>
> However, in a small project I've created to test dependency scopes, it
> seems that a dependency declared with the "provided" scope is
> available when compiling the source, compiling the test cases as well
> as when running them (the test cases). Thus, it looks like the
> provided scope is the same as the compile scope, except that the
> provided scope is not transitive.
>
> The difference between the runtime and test scopes is also not very
> clear to me.
>
> The small table which illustrates the effects of scopes on
> transitivity is not easy to grok. In particular, the explanation
> (quoted below) preceding the table does not define the direction of
> any of the dependencies.
>
> 
> Each of the scopes affects transitive dependencies in different ways,
> as is demonstrated in the table below. If a dependency is set to the
> scope in the left column, dependencies with the scope across the top
> row will result in a dependency in the main project with the scope
> listed at the intersection. If no scope is listed, it means the
> dependency will be omitted.
> 
>
> Your enlightenment would be greatly appreciated,
>
> [1]
> http://maven.apache.org/guides/introduction/introduction-to-
> dependency-mechanism.html
>
>
>  DISCLAIMER 
> This message is intended only for use by the person
> to whom it is addressed. It may contain information
> that is privileged and confidential. Its content does
> not constitute a formal commitment by Lombard
> Odier Darier Hentsch Group and any of its affiliates.
> If you are not the intended recipient of this message,
> kindly notify the sender immediately and destroy this
> message. Thank You.
> *
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

M2 : using assembly plugin to copy part of the repository

2006-08-15 Thread Nigel Magnay

I have a pom.xml with various dependencies included in it.

I want, in the output JAR file, to include a directory that contains a
subsection of the repository from those dependencies.

I can nearly get there, by using the assembly descriptor (at the end), but I
have 2 problems

1) I want to use the directory the M2 repo would use - the example below is
creating a directory com.cswgroup.kms.kes.config when I really want
com/cswgroup/kms/kes/config - is there a way of getting at ${groupId} with /
separators ?

2) I would like to include the .pom descriptors as well.

Is there a way of specifying this with the assembly plugin, or should I look
at rolling my own MOJO ?



 directory
 
   jar
  

   
 
   
 com.cswgroup.kms.kes.config:config-kms
   

${groupId}/${artifactId}/${version}/${artifactId}-${version}.${extension}
   /
   false
   runtime
 
   




Re: Site:deploy execution

2006-08-15 Thread Ciprian Duma

mvn -N site:deploy

On 8/15/06, Sebastien Pennec <[EMAIL PROTECTED]> wrote:

Hello,

I've had a problem today with the site:deploy command.

My project had a parent pom, and 4 sub-modules. A distribution management 
element is
present in the parent pom, and not in the sub-modules.
What I wanted to do is execute site:deploy on the parent pom and not have the 
site
commande propagated to sub-modules. Is there a way to prevent its execution?

Thanks!

Sébastien

--
Sébastien Pennec
[EMAIL PROTECTED]

Logback: The reliable, generic, fast and flexible logging framework for Java.

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



Dependency scopes

2006-08-15 Thread ceki
Hello,

I would like to ask a question regarding dependency scopes in
Maven2. After reading the article "Introduction to the Dependency
Mechanism" [1], I've got several questions that may have been answered
previously. I apologize in advance if that is the case.

The said article mentions the notion of "runtime classpath." While I
can see what compile and test classpaths mean, I fail to understand
what a runtime classpath is, in particular how it differs from the
test classpath.

Moreover, the article defines  "provided scope" as follows:

 provided - this is much like compile, but indicates you expect theJDK
or a container to provide it.  It is only available on the compilation
   classpath, and is not transitive.

However, in a small project I've created to test dependency scopes, it
seems that a dependency declared with the "provided" scope is
available when compiling the source, compiling the test cases as well
as when running them (the test cases). Thus, it looks like the
provided scope is the same as the compile scope, except that the
provided scope is not transitive.

The difference between the runtime and test scopes is also not very
clear to me.

The small table which illustrates the effects of scopes on
transitivity is not easy to grok. In particular, the explanation
(quoted below) preceding the table does not define the direction of
any of the dependencies.


Each of the scopes affects transitive dependencies in different ways,
as is demonstrated in the table below. If a dependency is set to the
scope in the left column, dependencies with the scope across the top
row will result in a dependency in the main project with the scope
listed at the intersection. If no scope is listed, it means the
dependency will be omitted.


Your enlightenment would be greatly appreciated,

[1] 
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html


 DISCLAIMER 
This message is intended only for use by the person
to whom it is addressed. It may contain information
that is privileged and confidential. Its content does
not constitute a formal commitment by Lombard
Odier Darier Hentsch Group and any of its affiliates.
If you are not the intended recipient of this message,
kindly notify the sender immediately and destroy this
message. Thank You.
*


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



RE: Maven is lying to me!

2006-08-15 Thread thiago


Thanks



Jörg Schaible wrote:
> 
> thiago wrote on Tuesday, August 15, 2006 2:27 PM:
> 
>> Milos Kleint-2 wrote:
>>> 
>>> 
>>> maybe it's not interpreting the location correctly and instead
>>> deploys to a local disk? try searching for the server/dev/mavenrepo
>>> on your local disk. No idea how to setup this url configuration. On
>>> linux the same url would definitely deploy to a local directory at
>>> /server/dev/mavenrepo 
>>> 
>> 
>> Hi,
>> 
>> Yeh, you're right, I checked my c:\ and I noticed the directory
>> created there =)
>> 
>> Ok, so how do I achieve this? How do I map a repository to a
>> network share?
> 
> Use a proper URL!
> 
> file:// defines the file protocol
> file://localhost/ is the root adress on your local system
> file:/// is the short form of file://localhost/
> file:/server/share/ addresses the "share" of "server" in a Windows
> network, which is a convenient form of file://localhost/\\server\share\,
> since the path from your local system to the server's share is
> \\server\share
> 
> Got it? Any other mixture is a concession to user's habbits and may or may
> not be supported by the URL parser of your product/app/browser.
> 
> - Jörg
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Maven-is-lying-to-me%21-tf2108802.html#a5813804
Sent from the Maven - Users forum at Nabble.com.


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



RE: Maven is lying to me!

2006-08-15 Thread Jörg Schaible
thiago wrote on Tuesday, August 15, 2006 2:27 PM:

> Milos Kleint-2 wrote:
>> 
>> 
>> maybe it's not interpreting the location correctly and instead
>> deploys to a local disk? try searching for the server/dev/mavenrepo
>> on your local disk. No idea how to setup this url configuration. On
>> linux the same url would definitely deploy to a local directory at
>> /server/dev/mavenrepo 
>> 
> 
> Hi,
> 
> Yeh, you're right, I checked my c:\ and I noticed the directory
> created there =)
> 
> Ok, so how do I achieve this? How do I map a repository to a
> network share?

Use a proper URL!

file:// defines the file protocol
file://localhost/ is the root adress on your local system
file:/// is the short form of file://localhost/
file:/server/share/ addresses the "share" of "server" in a Windows network, 
which is a convenient form of file://localhost/\\server\share\, since the path 
from your local system to the server's share is \\server\share

Got it? Any other mixture is a concession to user's habbits and may or may not 
be supported by the URL parser of your product/app/browser.

- Jörg

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



Re: Maven is lying to me!

2006-08-15 Thread a crawford

I was lied to also :-) The following worked for me on windows though.

  file:///\\server\maven\repos\snapshot

Regards,

Arthur.


thiago wrote:
> 
> 
> Milos Kleint-2 wrote:
>> 
>> 
>> maybe it's not interpreting the location correctly and instead deploys 
>> to a local disk? try searching for the server/dev/mavenrepo on your 
>> local disk.
>> No idea how to setup this url configuration. On linux the same url would 
>> definitely deploy to a local directory at /server/dev/mavenrepo
>> 
> 
> Hi,
> 
> Yeh, you're right, I checked my c:\ and I noticed the directory
> created there =)
> 
> Ok, so how do I achieve this? How do I map a repository to a network
> share?
> 
> Regards,
> Thiago Souza
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Maven-is-lying-to-me%21-tf2108802.html#a5813558
Sent from the Maven - Users forum at Nabble.com.


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



RE: hibernate hbm.xml file not found

2006-08-15 Thread Johann Reyes
Hello Lakshman

I think I answered this before in the following post:
http://www.mail-archive.com/users@maven.apache.org/msg49367.html

Regards

Johann Reyes

-Original Message-
From: Lakshman Srilakshmanan
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 15, 2006 3:48 AM
To: Maven Users List
Subject: hibernate hbm.xml file not found

Hi All,


When I try to generate-sources for hibernate java files from xxx.hbm.xml
from within maven using hbm2java nothing is created.

But, if I get (by hook or by crook) the xxx.hbm.xml file into target/classes
then I am able to generate the java files. 
I believe this is because hibernate tool looks in "hibernate classpath"
for the xxx.hbm.xml files.

How do I include src/main/resources into the "hibernate classpath" or do I
have to create an ant task to copy the xxx.hbm.xml file into target/classes
in the generate-sources phase before executing hbm2java. 

Is there an alternate way or is this a bug ??

Could someone please point me in the right direction.

Thanks
Lakshman


-
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: Maven is lying to me!

2006-08-15 Thread thiago


Milos Kleint-2 wrote:
> 
> 
> maybe it's not interpreting the location correctly and instead deploys 
> to a local disk? try searching for the server/dev/mavenrepo on your 
> local disk.
> No idea how to setup this url configuration. On linux the same url would 
> definitely deploy to a local directory at /server/dev/mavenrepo
> 

Hi,

Yeh, you're right, I checked my c:\ and I noticed the directory created
there =)

Ok, so how do I achieve this? How do I map a repository to a network
share?

Regards,
Thiago Souza

-- 
View this message in context: 
http://www.nabble.com/Maven-is-lying-to-me%21-tf2108802.html#a5813159
Sent from the Maven - Users forum at Nabble.com.


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



Re: Site:deploy execution

2006-08-15 Thread Sebastien Pennec

Hello Milos,

That's exactly what I wanted... although it's not really where I was looking 
for it :)

Thanks,

Sébastien

Milos Kleint a écrit :

Sebastien Pennec wrote:

Hello,

I've had a problem today with the site:deploy command.

My project had a parent pom, and 4 sub-modules. A distribution 
management element is present in the parent pom, and not in the 
sub-modules.
What I wanted to do is execute site:deploy on the parent pom and not 
have the site commande propagated to sub-modules. Is there a way to 
prevent its execution?


Thanks!

Sébastien

check the command line options, one of them is to force maven not to 
process the project's modules during the build. I think it's -N but not 
completely sure.


Milos

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




--
Sébastien Pennec
[EMAIL PROTECTED]

Logback: The reliable, generic, fast and flexible logging framework for Java.

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



Re: Site:deploy execution

2006-08-15 Thread Sebastien Pennec

Actually, nabble connected the mails while I thought it would handle them as 
two threads.

Sorry bout that...

Sébastien

thiago a écrit :


Sorry, as i'm new to maven, I have no idea...

Why you replied my question with another question? This should be another
post!


Sebastien Pennec wrote:

Hello,

I've had a problem today with the site:deploy command.

My project had a parent pom, and 4 sub-modules. A distribution management
element is 
present in the parent pom, and not in the sub-modules.

What I wanted to do is execute site:deploy on the parent pom and not have
the site 
commande propagated to sub-modules. Is there a way to prevent its

execution?

Thanks!

Sébastien

--
Sébastien Pennec
[EMAIL PROTECTED]

Logback: The reliable, generic, fast and flexible logging framework for
Java.

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







--
Sébastien Pennec
[EMAIL PROTECTED]

Logback: The reliable, generic, fast and flexible logging framework for Java.

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



Re: Site:deploy execution

2006-08-15 Thread Milos Kleint

Sebastien Pennec wrote:

Hello,

I've had a problem today with the site:deploy command.

My project had a parent pom, and 4 sub-modules. A distribution 
management element is present in the parent pom, and not in the 
sub-modules.
What I wanted to do is execute site:deploy on the parent pom and not 
have the site commande propagated to sub-modules. Is there a way to 
prevent its execution?


Thanks!

Sébastien

check the command line options, one of them is to force maven not to 
process the project's modules during the build. I think it's -N but not 
completely sure.


Milos

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



Re: Maven is lying to me!

2006-08-15 Thread Milos Kleint

thiago wrote:

Hi,

   I'm quite new to maven, and i'm having troubles with an intranet
repository. I have a similar entry in my pom.xml



mavenrepo
mavenrepo
file:///server/dev/mavenrepo



When I run "mvn deploy", maven log shows that the artifact is installed
locally AND at the configured intranet repository (it even shows the upload
progress). But it's a lie!!! The artifact is not copied to
\\server\dev\mavenrepo  Any clue anyone?

Kind Regards,
Thiago Souza

  
maybe it's not interpreting the location correctly and instead deploys 
to a local disk? try searching for the server/dev/mavenrepo on your 
local disk.
No idea how to setup this url configuration. On linux the same url would 
definitely deploy to a local directory at /server/dev/mavenrepo


Milos

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



Re: Site:deploy execution

2006-08-15 Thread thiago


Sorry, as i'm new to maven, I have no idea...

Why you replied my question with another question? This should be another
post!


Sebastien Pennec wrote:
> 
> Hello,
> 
> I've had a problem today with the site:deploy command.
> 
> My project had a parent pom, and 4 sub-modules. A distribution management
> element is 
> present in the parent pom, and not in the sub-modules.
> What I wanted to do is execute site:deploy on the parent pom and not have
> the site 
> commande propagated to sub-modules. Is there a way to prevent its
> execution?
> 
> Thanks!
> 
> Sébastien
> 
> -- 
> Sébastien Pennec
> [EMAIL PROTECTED]
> 
> Logback: The reliable, generic, fast and flexible logging framework for
> Java.
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Maven-is-lying-to-me%21-tf2108802.html#a5813014
Sent from the Maven - Users forum at Nabble.com.


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



Site:deploy execution

2006-08-15 Thread Sebastien Pennec

Hello,

I've had a problem today with the site:deploy command.

My project had a parent pom, and 4 sub-modules. A distribution management element is 
present in the parent pom, and not in the sub-modules.
What I wanted to do is execute site:deploy on the parent pom and not have the site 
commande propagated to sub-modules. Is there a way to prevent its execution?


Thanks!

Sébastien

--
Sébastien Pennec
[EMAIL PROTECTED]

Logback: The reliable, generic, fast and flexible logging framework for Java.

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



Maven is lying to me!

2006-08-15 Thread thiago

Hi,

   I'm quite new to maven, and i'm having troubles with an intranet
repository. I have a similar entry in my pom.xml



mavenrepo
mavenrepo
file:///server/dev/mavenrepo



When I run "mvn deploy", maven log shows that the artifact is installed
locally AND at the configured intranet repository (it even shows the upload
progress). But it's a lie!!! The artifact is not copied to
\\server\dev\mavenrepo  Any clue anyone?

Kind Regards,
Thiago Souza

-- 
View this message in context: 
http://www.nabble.com/Maven-is-lying-to-me%21-tf2108802.html#a5812824
Sent from the Maven - Users forum at Nabble.com.


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



Re: Projectstructure

2006-08-15 Thread Kaiser, Hans
Hello Kai Uwe,


> my suggestion is a direcory structure of
> myApp
> |-- common
> |-- presentation
> |-- web
> In CVS only the module myApp was checked in.
> The whole project doesn't exists in the Eclipse workspace,



> In Eclipse I've created a new workspace and 3 new projects from the 
> existing sources. The myApp
> contains no sources itself and (only the pom file) so I doesn't create 
> an Eclipse project for it.
> Finally I had only one CVS module with all the sources and no 
> duplications.

ahh okay, hadn't known something about this option.
To be sure, if we are takling about the same things, I have done
following:
- checked out my-app into the workspace
- added common, presentation and web into eclipse as Projects (with
existing project into workspace)

Now I have no idea how to add the master POM.xml into my workspace.
Could you give me an hint?


> The only redundancies I have in my project are the dependencies between 
> the projects. This must be defined
> in the maven pom and the Eclipse project because of a bug or missing 
> feature in the Eclipse plugin. I hope this
> lack will be fixed in the next version.
> 
> BTW: The maven integration of Netbeans is much better if it could be an 
> alternative for you.

I thought about it, but we are using eclipse




plugin executions ?

2006-08-15 Thread Jon SlinnHawkins
Hi All,

Is there any way of specifying which execution to use when inheriting plugin 
executions form a parent pom.

I have a department wide pom, which configures various plugins and 
executions for use across all our maven projects (just 1 at the moment, but 
will be about 15 soon).

I need to be able to specify from the individual project pom which execution 
to use.

For example i am using the exec-maven-plugin which is configured with 4 
different executions, each with a unique id.

I would like to be able to specify which of the 4 executions to use when 
using that plugin.

Any ideas ?

Thanks in advance

Jon 




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



RE: Optional Goals & Dependencies

2006-08-15 Thread Dave Syer

> However, now I only really need those goals to execute on the children. Is
> there a way to bind & configure the goals in the parent but only have them
> execute in the children?  

The neatest way to do it would be to define a profile in the parent that
switched off the goals you neded, and then override in the children to
switch them back on selectively.  I played with this a bit, but there are
unfortunately still many issues outstanding (browse JIRA and you will see)
to do with profile inheritance, and it didn't seem to work very well.

I ended up with a solution that is quite particular to the problem we were
discussing (installing third-party jars): I just use an antrun task to
prepare the jar for installation, and use the  task in ant to
decide whether the project has a jar to deploy.  The parent projects do not,
and the leafs gerenrall do.

There are probably still other tricks you can play with local properties and
profiles.
-- 
View this message in context: 
http://www.nabble.com/Optional-Goals---Dependencies-tf2081628.html#a5810379
Sent from the Maven - Users forum at Nabble.com.


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



Re: incorrect war file structure

2006-08-15 Thread Jeff Mutonho

On 8/15/06, Pete Marvin King <[EMAIL PROTECTED]> wrote:



  i see, then just use
"https://svn.apache.org/repos/asf/maven/plugins/trunk";


:) , that back to where we started.The pom.xml  sitting in the trunk

folder has this :


   org.apache.maven
   maven-parent
   4-SNAPSHOT
   ../pom/maven/pom.xml
 

and that's failing the build, with the error message :

[INFO] Scanning for projects...
[INFO]

[ERROR] FATAL ERROR
[INFO]

[INFO] Failed to resolve artifact.

GroupId: org.apache.maven
ArtifactId: maven-parent
Version: 4-SNAPSHOT

Reason: Unable to download the artifact from any repository

 org.apache.maven:maven-parent:pom:4-SNAPSHOT

from the specified remote repositories:
 central (http://repo1.maven.org/maven2)


Pete, is it possible for you to build the 2.0.2-SNAPSHOT  of the
maven-war-plugin?In the mean time I'm going to use the antrun workaround
suggested earlier by Juri
--


Jeff  Mutonho

GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042


hibernate hbm.xml file not found

2006-08-15 Thread Lakshman Srilakshmanan
Hi All,


When I try to generate-sources for hibernate java files from xxx.hbm.xml
from within maven using hbm2java nothing is created.

But, if I get (by hook or by crook) the xxx.hbm.xml file into
target/classes then I am able to generate the java files. 
I believe this is because hibernate tool looks in "hibernate classpath"
for the xxx.hbm.xml files.

How do I include src/main/resources into the "hibernate classpath" or do
I have to create an ant task to copy the xxx.hbm.xml file into
target/classes in the generate-sources phase before executing hbm2java. 

Is there an alternate way or is this a bug ??

Could someone please point me in the right direction.

Thanks
Lakshman


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



Re: incorrect war file structure

2006-08-15 Thread Jeff Mutonho

On 8/15/06, Artamonov, Juri <[EMAIL PROTECTED]> wrote:


Jeff,

You can try to do several workarounds.

1. Have resource folder (configurations) structure to be the same as you
wish to be in the destination war file and put these resources not into
war -> configuration -> webResources  but into general  ->
 part.

During build these resources will be in the classpath and the war file
will take them.

2. Have antrun plugin assigned for example to process-resources phase
which will use copy ant task and copy all files you need.

Best regards,
   Juri.

-




I think I will go with 2 .I already have an ant script that's doing this.

Thanks

Jeff  Mutonho

GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042


Re: incorrect war file structure

2006-08-15 Thread Pete Marvin King

  i see, then just use
"https://svn.apache.org/repos/asf/maven/plugins/trunk";
 


Jeff Mutonho wrote:
> On 8/15/06, Pete Marvin King <[EMAIL PROTECTED]> wrote:
>>
>>
>> There's a space between trunk and plugins on the url, the last plugin
>> is the destination directory
>>
>> 1. svn co
>> https://svn.apache.org/repos/asf/maven/plugins/trunkplugins
>> 2. cd plugins/maven-war-plugin
>> 3. mvn install
>>
>>
>> I tried that also and got the BAD Url error message as well.I'm doing
>> this
> from Eclipse , using the SVN plugin
>
>
> 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: incorrect war file structure

2006-08-15 Thread Jeff Mutonho

On 8/15/06, Pete Marvin King <[EMAIL PROTECTED]> wrote:



There's a space between trunk and plugins on the url, the last plugin
is the destination directory

1. svn co
https://svn.apache.org/repos/asf/maven/plugins/trunkplugins
2. cd plugins/maven-war-plugin
3. mvn install


I tried that also and got the BAD Url error message as well.I'm doing this

from Eclipse , using the SVN plugin


Jeff  Mutonho

GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042