Re: Best approach in using maven w/ eclipse

2005-07-26 Thread jk jk
Thanks.  I am also using Maven 1.0.2.  I havent really
looked at the newer version of Maven and I having been
trying to get Maven 1.0.2 to work for my project. 
Hopefully it isnt too different.

For the tomcat configuration, you've just added a
context in conf/server.xml?  I'll try that tomorrow. 
I think that its a better flow than what I have as I'd
like a reduced develop-deploy-test cycle.  The maven
tomcat plugin is good but Once you have installed the
application you can see modifications to the app
reflected in the container by calling the
tomcat:reload task. as stated on
http://www.codeczar.com/products/maven-tomcat-plugin/index.html.
 I dont really want to be calling the tomcat:reload
task every single time I make a change to say a jsp.

I agree, I will be creating an artifact for each
project.  I still need to deploy it either as ear or
if needs be as independendent wars.  Also possibly in
the future, I may need to include this wars in other
ears.  So basically,  I have created something like
this in eclipse:

WebProjectA
WebProjectB
WebProjectC
ModelProjectA
EnterpriseProjectA

EnterpriseProjectA will be my enterprise application
that will just have an META-INF/application.xml with
my project.xml.  I've gotten it to work and not sure
if its the proper thing to do.  
My steps:
1) I've modified application.xml to include the
necessary artifacts.  
2) Generated the artifact for each one individually
(which I find a little time consuming but maybe
there's already a plugin that someone can recommend or
maybe script without using the multiproject plugin)
3) Installed all the artifacts into my local maven
repository 
4) Executed the maven ear:ear goal.

Im still working with it, but if anyone has done
something similar, please do discuss.  Thanks.

Jade
--- Doug Douglass [EMAIL PROTECTED] wrote:

 Yes, Sysdeo Tomcat plugin.
 
 Web app work flow is similar to what you describe,
 but we have Tomcat 
 and the Tomcat plugin configured to use context
 configuration files and 
 just point the context to the target/artifactId
 directory of the 
 webapp project. Therefore, the work flow is:
 
 1) make a change in Eclipse
 2) Start Tomcat, if it isn't already started
 3) execute maven war:webapp
 4) test/refresh in browser
 5) repeat
 
 Most changes are picked up automatically by Tomcat,
 though some are not 
 (e.g., changes to Spring beans configuration), so I
 may add the clean 
 goal as part of the maven command, or just restart
 Tomcat. Though, as I 
 think about it, using a Maven plugin may make more
 sense as it's 
 configuration travels in the POM instead of in the
 IDE configuration. 
 H, I'll have to play with the Maven tomcat
 plugin.
 
 As for use of multiproject, we don't have all the
 Maven sub-projects in 
 one Eclipse project. We have one Eclipse project per
 Maven sub-project, 
 separating out almost everything but presentation
 from the webapp 
 project. The only downside to this is not being able
 to have an Eclipse 
 project for the Maven parent project. Though, all
 that's in the parent 
 project is project.xml, project.properties, Eclipse
 java code/style 
 templates, and a license/header file (for checkstyle
 plugin). Each 
 sub-project sets the maven.multiproject.type
 property approrpiately 
 (e.g., maven.multiproject.type=war:war for the
 webapp, 
 maven.multiproject.type=jar:jar for most of the
 others) Perhaps I could 
 set maven.multiproject.type=jar:deploy or some such
 for the other 
 projects? Haven't tried.
 
 Can't help you out with EAR projects, we haven't
 done any. From what 
 I've read on this list it appears similar to the
 multi-project layout 
 we've already got.
 
 We try very hard to stick with the Maven mantra one
 artifact, one 
 project. We've found that only the most trivial
 project are hindered by 
 this, and that it has helps us design more and
 better reusable packages.
 
 Cheers,
 DD
 
 P.S. All of this is with Maven 1.0.2.
 
 jk jk wrote:
 
 Thanks Doug.  For the tomcat plugin, Im presumming
 your referring to the Sysdeo tomcat plugin.  I also
 have that installed in eclipse and use it to start
 
 stop tomcat.  Can you list down the flow of how you
 would make a change in your webapp and deploy it
 when
 actively developing?  For example, this is what Im
 doing.
 
 1) Make a change in eclipse
 2) Using the Systedo tomcat plugin in eclipse,
 start
 tomcat
 3) Open command prompt, execute maven
 tomcat:install
 4) Test out change in browser.
 5) Make a change in eclipse again if I want to
 6) In command prompt, execute maven tomcat:reload
 7) Test out change in browser.
 
 Also, Im trying to setup something similar to what
 you
 had done with the multiproject. But to use
 multiproject in eclipse, I would have to create one
 root project and create 4 subprojects within that
 project.  I dont really want to do that as I still
 want to have separate projects within eclipse which
 means I will opt not to use multiproject.  Can
 someone
 show me an example of an  

RE: Best approach in using maven w/ eclipse

2005-07-26 Thread jk jk
Yes, I agree.  I think because I will be using Maven
on the command prompt more often, I will use the maven
script you provided.  Thanks Alex.

Jade

--- A. Shneyderman [EMAIL PROTECTED] wrote:

 If you run command line I can not see the need for
 tomcat plugin. Just make
 maven assemble and deploy your application.
 
 The following maven.xml works magic for me:
 ?xml version=1.0?
 project xmlns:ant=jelly:ant
   
   goal name=app:deploy prereqs=war:war
   ant:unwar 
 src=${maven.build.dir}/${pom.artifactId}.war 

 dest=${tomcat.home}/webapps/${pom.artifactId} /
 
   /goal
   
   goal name=app:redeploy
 prereqs=app:deploy,app:stop,app:start /
   
   goal name=app:start prereqs=app:anttaskdefs
   ant:start url=${tomcat.manager.url} 
   
 username=${tomcat.manager.username}
 
   
 password=${tomcat.manager.password}
 
   
 path=/${pom.artifactId} /
   /goal
 
   goal name=app:stop prereqs=app:anttaskdefs
   ant:stop url=${tomcat.manager.url} 
   
 username=${tomcat.manager.username}
 
   
 password=${tomcat.manager.password}
 
   
 path=/${pom.artifactId} /
   /goal
   
   goal name=app:list prereqs=app:anttaskdefs
   ant:list url=${tomcat.manager.url} 
   
 username=${tomcat.manager.username}
 
   
 password=${tomcat.manager.password}
 /
   /goal
   
   goal name=app:anttaskdefs
   ant:taskdef name=list
 classname=org.apache.catalina.ant.ListTask
   ant:classpath
   ant:pathelement
 path=${tomcat.home}/server/lib/catalina-ant.jar /
   /ant:classpath
   /ant:taskdef
   ant:taskdef name=stop
 classname=org.apache.catalina.ant.StopTask
   ant:classpath
   ant:pathelement
 path=${tomcat.home}/server/lib/catalina-ant.jar /
   /ant:classpath
   /ant:taskdef
   ant:taskdef name=start
 classname=org.apache.catalina.ant.StartTask
   ant:classpath
   ant:pathelement
 path=${tomcat.home}/server/lib/catalina-ant.jar /
   /ant:classpath
   /ant:taskdef
   /goal
   
 /project 
 
 
 You will need to create some maven vars for it to
 work. In your home
 directory setup a build.properties file and include
 the following:
 
 tomcat.home=C:/tc4131
 tomcat.manager.url=http://localhost:8080/manager
 tomcat.manager.username=user
 tomcat.manager.password=secret
 apps.dir=webapps
 
 And yeah enable manager on tomcat if you try to make
 any use of the goals
 above.
 
 By the way the same worked out even with mavenIDE
 that way you do not even
 have to do any CTRL+TAB to switch to maven prompt.
 
 Alex.
 
 -Original Message-
 From: jk jk [mailto:[EMAIL PROTECTED] 
 Sent: Monday, July 25, 2005 3:21 PM
 To: Maven Users List
 Subject: Re: Best approach in using maven w/ eclipse
 
 Thanks Doug.  For the tomcat plugin, Im presumming
 your referring to the
 Sysdeo tomcat plugin.  I also have that installed in
 eclipse and use it to
 start  stop tomcat.  Can you list down the flow of
 how you would make a
 change in your webapp and deploy it when actively
 developing?  For example,
 this is what Im doing.
 
 1) Make a change in eclipse
 2) Using the Systedo tomcat plugin in eclipse, start
 tomcat
 3) Open command prompt, execute maven tomcat:install
 4) Test out change in browser.
 5) Make a change in eclipse again if I want to
 6) In command prompt, execute maven tomcat:reload
 7) Test out change in browser.
 
 Also, Im trying to setup something similar to what
 you had done with the
 multiproject. But to use multiproject in eclipse, I
 would have to create one
 root project and create 4 subprojects within that
 project.  I dont really
 want to do that as I still want to have separate
 projects within eclipse
 which means I will opt not to use multiproject.  Can
 someone show me an
 example of an  eclipse EAR project that uses maven
 to build the dependencies
 on the projects within eclipse?
 
 Thanks.
 
 Jade
 
 
 
 --- Doug Douglass [EMAIL PROTECTED] wrote:
 
  Jade,
  
  We used to use MyEclipse but have let our
 subscriptions lapse on 
  purpose. In general, I think MyEclipse is a decent
 set of features for 
  the $$$, though the XML editor seemed a bit buggy.
  We have found we can
  do more with less (maven, mavenide, Tomcat plugin,
  etc) as you seem to
  have found. While at first the MyEclipse way of
 allowing editting of 
  webapp content (e.g., jsp, etc) in place seems a
 time saver, it 
  presumes there is no build process for any 

RE: Best approach in using maven w/ eclipse

2005-07-26 Thread jk jk
Hi Patrick,

WTP does sound pretty good and I might try it out down
the road.  When you were using MyEclipse or maybe this
actually applies to just eclipse, do you need to
execute, maven eclipse goal to generate the MAVEN_REPO
variables in the build path every single time you add
a dependency in your project.xml?  

Also, when I run maven eclipse goal and I refresh my
eclipse project, it removes all my natures/capabilites
(hibernate, struts, etc) for my project which is very
annoying.  I have to add those natures/capabilites to
the project again.  Does this happen to you?
Thanks.

Jade

--- Patrick Roumanoff
[EMAIL PROTECTED] wrote:

 Hi,
 
 I don't know if it's of any interest to you, but I
 managed to use the
 newly released WTP (http://www.eclipse.org/webtools/
 )to do just that.
 
 I like WTP a lot as with my setup it seems much
 faster/stable than myEclipse
 for jsp editing.
 
 Moreover the deployement is much closer to a real
 one because it allows
 you to build the dependant jars and use the maven
 repository, as maven would do, 
 but within eclipse.
 
 With WTP you get a real build process to a have a
 working webapp
 (copy files across, assemble jar, copy maven
 dependencies).
 
 WTP also deploys the webapp to the webserver of your
 choice (tomcat included)
 
 But it doesn't come free, you have to configure this
 build process in a new
 format (.wtpmodules). It's still a bit of a pain to
 configure, but I think it's worth the effort.
 
 What would be nice is to have either the eclipse
 maven plugin or 
 the mevenide eclipse plugin updated to
 generate/synchronize those .wtpmodules for you.
 
 details at http://roumanoff.blogspot.com/
 
 cheers,
 
 Patrick
 
 
  -Original Message-
  From: Doug Douglass
 [mailto:[EMAIL PROTECTED]
  Subject: Re: Best approach in using maven w/
 eclipse
  
  The risk associated with this presumption is that 
  there typically (hopefully always) IS a build
 process, but it 
  is being subverted. 
  
  Anyone know if there is a Tomcat Eclipse plugin
 that allows  you to edit
  JSP live in the IDE (i.e. hit the page, make a
 change and refresh the
  browser)?  I ask because a co-worker showed me
 that it is possible in
  IDEA.  Repeating your workflow below 100 times as
 you are authoring and
  testing a complex page rapidly grows tiresome.
 
 
 NOTICE
 This e-mail and any attachments are confidential and
 may contain copyright material of Macquarie Bank or
 third parties. If you are not the intended recipient
 of this email you should not read, print,
 re-transmit, store or act in reliance on this e-mail
 or any attachments, and should destroy all copies of
 them. Macquarie Bank does not guarantee the
 integrity of any emails or any attached files. The
 views or opinions expressed are the author's own and
 may not reflect the views or opinions of Macquarie
 Bank.
 
 

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


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



[M1] Dependencies don't download in Maven 1.1-beta1

2005-07-26 Thread Michael Owen

Hi,

I've been using Maven 1.0.2, and I thought I would change to Maven 
1.1-beta1. When I do this some of my dependencies don't download, but intead 
does:


Attempting to download beanshell-2.0b1.jar.
Attempting to download commons-pool-1.1.jar.

etc. etc.

The folders are created in the repository (i.e 
.maven\repository\beanshell\jars etc), however, the jar isn't there, and as 
a consequence I get compile errors. I've cleaned out my cache/repository, 
and tried using Maven 1.0.2 again to check the global repository is working, 
and it's fine.


Anybody had similar issues/know why?

Many thanks,

Mike



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



Re: [M1] Dependencies don't download in Maven 1.1-beta1

2005-07-26 Thread Brett Porter
Can you try -X for extra information, and also report what maven.repo.remote is?

Thanks,
Brett

On 7/26/05, Michael Owen [EMAIL PROTECTED] wrote:
 Hi,
 
 I've been using Maven 1.0.2, and I thought I would change to Maven
 1.1-beta1. When I do this some of my dependencies don't download, but intead
 does:
 
 Attempting to download beanshell-2.0b1.jar.
 Attempting to download commons-pool-1.1.jar.
 
 etc. etc.
 
 The folders are created in the repository (i.e
 .maven\repository\beanshell\jars etc), however, the jar isn't there, and as
 a consequence I get compile errors. I've cleaned out my cache/repository,
 and tried using Maven 1.0.2 again to check the global repository is working,
 and it's fine.
 
 Anybody had similar issues/know why?
 
 Many thanks,
 
 Mike
 
 
 
 -
 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]



site:generate and svn

2005-07-26 Thread Marko Bauhardt

Hello,
i have a problem with the site plugin.

i use a svn repository and if i execute maven site:generate the  
build will be failed.
i become the following error message: repository connection string  
does not specify 'cvs' as the scm


my project.properties contains:
maven.changelog.factory=org.apache.maven.svnlib.SvnChangeLogFactory

Whats wrong?

Re: [M1] Dependencies don't download in Maven 1.1-beta1

2005-07-26 Thread Michael Owen


Yeah I take your point. I thought the same, but no that seems to be ok. When 
switching back to Maven 1.0.2 and running it, it's fine, even when deleting 
all the cache/repository.


I do the same when using Maven 1.1-beta1 and I get the errors. I delete all 
files in cache/repository, and then I can see it making the folder to put 
the jar file into, without the jar being downloaded and being put in the 
folder.


Many thanks,

Mike

brbrbrgt;From: Brett Porter 
lt;[EMAIL PROTECTED]gt;brgt;Reply-To: Brett Porter 
lt;[EMAIL PROTECTED]gt;brgt;To: Michael Owen 
lt;[EMAIL PROTECTED]gt;brgt;Subject: Re: [M1] Dependencies 
don't download in Maven 1.1-beta1brgt;Date: Tue, 26 Jul 2005 18:53:28 
+1000brgt;brgt;Are you sure you haven't got your local repository set 
to another location?brgt;brgt;Perhaps the file has been saved 
elsewhere - if you could do a quickbrgt;search that'd be 
great.brgt;brgt;Replies to the users@ list would be 
appreciated.brgt;brgt;- Brettbrgt;brgt;On 7/26/05, Michael Owen 
lt;[EMAIL PROTECTED]gt; wrote:brgt; gt;brgt; gt; Thanks 
for the help. The error I get is:brgt; gt;br




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



Re: [M1] Dependencies don't download in Maven 1.1-beta1

2005-07-26 Thread Brett Porter
ok, weird. Please file an issue in JIRA for investigation.

- Brett

On 7/26/05, Michael Owen [EMAIL PROTECTED] wrote:
 
 Yeah I take your point. I thought the same, but no that seems to be ok. When
 switching back to Maven 1.0.2 and running it, it's fine, even when deleting
 all the cache/repository.
 
 I do the same when using Maven 1.1-beta1 and I get the errors. I delete all
 files in cache/repository, and then I can see it making the folder to put
 the jar file into, without the jar being downloaded and being put in the
 folder.
 
 Many thanks,
 
 Mike
 
 brbrbrFrom: Brett Porter
 [EMAIL PROTECTED]brReply-To: Brett Porter
 [EMAIL PROTECTED]brTo: Michael Owen
 [EMAIL PROTECTED]brSubject: Re: [M1] Dependencies
 don't download in Maven 1.1-beta1brDate: Tue, 26 Jul 2005 18:53:28
 +1000brbrAre you sure you haven't got your local repository set
 to another location?brbrPerhaps the file has been saved
 elsewhere - if you could do a quickbrsearch that'd be
 great.brbrReplies to the users@ list would be
 appreciated.brbr- BrettbrbrOn 7/26/05, Michael Owen
 [EMAIL PROTECTED] wrote:br br  Thanks
 for the help. The error I get is:br br
 
 
 
 -
 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: site:generate and svn

2005-07-26 Thread Marko Bauhardt

sorry i had a syntax error in my property file. now it works.

Am 26.07.2005 um 10:50 schrieb Marko Bauhardt:


Hello,
i have a problem with the site plugin.

i use a svn repository and if i execute maven site:generate the  
build will be failed.
i become the following error message: repository connection string  
does not specify 'cvs' as the scm


my project.properties contains:
maven.changelog.factory=org.apache.maven.svnlib.SvnChangeLogFactory

Whats wrong?



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



genapp complex template problems

2005-07-26 Thread Emmanouil Batsis

Hello,

It seems the complex template does not work for me, can someone pls tell me 
what am i missing? Is there anything i need to install besides the latest 
genapp plugin? I'm using the default properties.

[EMAIL PROTECTED]:~/workspace/mavenj2ee maven -Dmaven.genapp.template=complex 
genapp
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

plugin maven-scm-plugin-1.4.1 is cached (dynatag dep) but no longer present
Cache invalidated due to out of date plugins
Please specify an id for your application:  [app]

Please specify a name for your application:  [Example Application]

Please specify the package for your application:  [example.app]

build:start:

genapp:
[copy] Copying 4 files to /home/manos/workspace/mavenj2ee

BUILD FAILED
File.. /home/manos/.maven/cache/maven-genapp-plugin-2.2/plugin.jelly
Element... ant:copy
Line.. 137
Column 53
Failed to 
copy 
/home/manos/.maven/cache/maven-genapp-plugin-2.2/plugin-resources/complex/template-resources/components/wars/web/project.xml
 
to /home/manos/workspace/mavenj2ee/components/wars/web/project.xml due 
to /home/manos/workspace/mavenj2ee/components/wars/web/project.xml (No such 
file or directory)
Total time: 10 seconds
Finished at: Tue Jul 26 12:37:56 EEST 2005

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



[M1] Using java files of other project

2005-07-26 Thread Michael Owen

Hi,

I'm using Maven 1.0.2 and on one maven project I need to use the java
source
files of another maven project. Any ideas how I can do it?
(ie. in one maven project, it's source files references the source
files in
another project)

I need to keep the two sets of maven source files separate. At the moment 
I'm
getting compile errors in one project, because its java source files depends 
on the

java source files of another project.

Thanks,

Mike



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



Re: [M1] Using java files of other project

2005-07-26 Thread Kristian Nordal


On Jul 26, 2005, at 12:33 PM, Michael Owen wrote:


Hi,

I'm using Maven 1.0.2 and on one maven project I need to use the java
source
files of another maven project. Any ideas how I can do it?
(ie. in one maven project, it's source files references the source
files in
another project)

I need to keep the two sets of maven source files separate. At the  
moment I'm
getting compile errors in one project, because its java source  
files depends on the

java source files of another project.


I assume you are not talking about the actual source files here  
(.java), in that case I don't know how to share that kind of  
resources between maven projects.


To be able to use classes from another maven project, that project (/ 
artifact) need to be installed in your repository (maven  
jar:install). If you mean inside an IDE, then you can do as Marc and  
Grant suggested in the other thread.


Regards,
Kristian


Thanks,

Mike



-
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] Dependencies don't download in Maven 1.1-beta1

2005-07-26 Thread Arnaud HERITIER
With a test case to reproduce it if possible.

Thanks

Arnaud
 

 -Message d'origine-
 De : Brett Porter [mailto:[EMAIL PROTECTED] 
 Envoyé : mardi 26 juillet 2005 11:01
 À : Maven Users List
 Objet : Re: [M1] Dependencies don't download in Maven 1.1-beta1
 
 ok, weird. Please file an issue in JIRA for investigation.
 
 - Brett
 
 On 7/26/05, Michael Owen [EMAIL PROTECTED] wrote:
  
  Yeah I take your point. I thought the same, but no that seems to be 
  ok. When switching back to Maven 1.0.2 and running it, it's 
 fine, even 
  when deleting all the cache/repository.
  
  I do the same when using Maven 1.1-beta1 and I get the errors. I 
  delete all files in cache/repository, and then I can see it 
 making the 
  folder to put the jar file into, without the jar being 
 downloaded and 
  being put in the folder.
  
  Many thanks,
  
  Mike
  
  brbrbrFrom: Brett Porter
  [EMAIL PROTECTED]brReply-To: Brett Porter
  [EMAIL PROTECTED]brTo: Michael Owen
  [EMAIL PROTECTED]brSubject: Re: [M1] 
 Dependencies don't 
  download in Maven 1.1-beta1brDate: Tue, 26 Jul 2005 18:53:28
  +1000brbrAre you sure you haven't got your local 
 repository set
  to another location?brbrPerhaps the file has been saved 
  elsewhere - if you could do a quickbrsearch that'd be 
  great.brbrReplies to the users@ list would be
  appreciated.brbr- BrettbrbrOn 7/26/05, Michael Owen 
  [EMAIL PROTECTED] wrote:br br  Thanks for 
 the help. 
  The error I get is:br br
  
  
  
  
 -
  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]



[M2] Missing dependencies using Hibernate3.0.5

2005-07-26 Thread Jose Gonzalez Gomez
Hi,

When I try to use Maven2 including Hibernate 3.0.5 as a dependency the
build process stops due to some missing dependencies
(javax.transaction:jta:1.0.1B:jar, javax.security:jacc:1.0:jar, ...).
I'm using only the default repository (http://repo1.maven.org/maven2)
and I guess those jars cannot be included there due to some licensing
restrictions from Sun, although they have their corresponding POM. The
question is, what am I supposed to do with those jars? Should I
download them from Sun and copy them into my local repository? Should
the whole development team do the same?

Thanks in advance, best regards
Jose

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



scm:update-project

2005-07-26 Thread Marko Bauhardt

Hi all,
i use maven version 1.0.2. i have a problem with the goal scm:update- 
project.

in my project.xml i wrote:
repository
connectionscm:svn:http://HOST/REPOSITORY:MODULE/connection
/repository

i execute maven scm-update-project and it seems to be ok.

scm:parse-connection:
[echo] Using connection: scm:svn:HOST/REPOSITORY:MODULE
Using SCM method: svn
Using SVN repository: HOST:REPOSITORY
Using module: MODULE
BUILD SUCCESSFUL
Total time: 2 seconds
Finished at: Tue Jul 26 13:46:00 CEST 2005

But the updating dont work. changes existing in the repository but  
not updated in the local copy.


[M2] How to override artifact name in dependency?

2005-07-26 Thread Jose Gonzalez Gomez
Hi there,

I'd like to use the postgresql jdbc driver
(http://www.ibiblio.org/maven2/postgresql/postgresql/7.4.1/) as a
dependency in my project, but the artifact name
(postgresql-7.4.1-jdbc3.jar) doesn't follow the standard artifact name
used in maven. In Maven1 we had the jar/ element inside
dependency/ for such cases, but this doesn't seem to be present in
the Maven2 project descriptor. How must this be done now?

Thanks in advance, best regards
Jose

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



Re: [M1] Using source files of another project

2005-07-26 Thread Michael Owen


Thanks very much for your help. I'll try to describe the use case. :)

In a similar scenerio, I have:

mainprojectfolder:
+folder1
+folder2
+folder3
   + src
  + net
 + test
 + File1.java
+folder4
+globalbuildfolder

Each folder has an Ant build.xml file, where globalbuildfolder is a folder 
where global properties go, creates a EAR from all the folders etc.


I'm converting to Maven 1.0.2, and so I'm going to have a project.xml in 
each folder1, 2 etc, which all extend the project.xml globalbuildfolder. I 
then have a case where the java src code in folder2 relies on the java src 
code in folder3. What I mean by this is that a class in folder2 imports a 
class which is in folder3 (like above, a class in folder2 does: import 
net.test.File1;)


As you can appreciate because I am coverting to Maven 1.0.2, and people have 
been and are working on these projects, I can't restructure the 
folders/filesystem etc.


Many thanks,

Michael Owen

brbrbrgt;From: Brett Porter 
lt;[EMAIL PROTECTED]gt;brgt;Reply-To: Brett Porter 
lt;[EMAIL PROTECTED]gt;brgt;To: Maven Users List 
lt;users@maven.apache.orggt;brgt;Subject: Re: [M1] Using source files 
of another projectbrgt;Date: Tue, 26 Jul 2005 22:19:33 
+1000brgt;brgt;We usually discourage coupling projects like that - it 
breaks itsbrgt;encapsulation (unless you build a source JAR from the 
first projectbrgt;and depend on it in the second to extract and then use 
for compilationbrgt;- but that sounds very long 
winded).brgt;brgt;What is the specific use case you are trying to 
solve?brgt;brgt;- Brettbrgt;brgt;On 7/26/05, Michael Owen 
lt;[EMAIL PROTECTED]gt; wrote:brgt; gt; Hi,brgt; 
gt;brgt; gt; I'm using Maven 1.0.2 and on one maven project I need to 
use the java sourcebrgt; gt; files of another maven project. Any ideas 
how I can do it in the best way?brgt; gt; (ie. in one maven project, 
it's source files references the source files inbrgt; gt; another 
project)brgt; gt;brgt; gt; I need to keep the two sets of maven 
source files separate.brgt; gt;brgt; gt; Thanks,brgt; 
gt;brgt; gt; Mikebrgt; gt;brgt; gt;brgt; gt;brgt; gt; 
-brgt; 
gt; To unsubscribe, e-mail: [EMAIL PROTECTED]brgt; gt; 
For additional commands, e-mail: [EMAIL PROTECTED]brgt; 
gt;brgt; 
gt;brgt;brgt;-brgt;To 
unsubscribe, e-mail: [EMAIL PROTECTED]brgt;For 
additional commands, e-mail: [EMAIL PROTECTED]brgt;br




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



Re: scm:update-project

2005-07-26 Thread Marko Bauhardt


Thanks a lot. I downloaded the new plugin from http:// 
www.apache.org/dyn/closer.cgi/java-repository/maven/plugins/maven-scm- 
plugin-1.5.jar and copy it to $MAVEN_HOME/plugins

and the updating works.

thanks and by, marko


Am 26.07.2005 um 14:20 schrieb Brett Porter:


You must update to the latest SCM plugin and use scm:update as the
other goal was deprecated. Please see the Maven download page for
instructions on receiving the latest released plugins for Maven 1.0.2

- Brett



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



RE: Best approach in using maven w/ eclipse

2005-07-26 Thread Mike Perham
Have you considered looking at the documentation for the eclipse plugin?
;-)  Google maven eclipse and look at the properties.

-Original Message-
From: jk jk [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 26, 2005 3:08 AM
To: Maven Users List
Subject: RE: Best approach in using maven w/ eclipse

Also, when I run maven eclipse goal and I refresh my eclipse project, it
removes all my natures/capabilites (hibernate, struts, etc) for my
project which is very annoying.  I have to add those natures/capabilites
to the project again.  Does this happen to you?


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



warning: last-modified not specified - jars downloaded are 0 kb

2005-07-26 Thread Kanakambaran Nair
Hi,
 I am using Maven 1.0.2. My remote repository is setup as a tomcat server 
and I have specified the maven.repo.remote in my build.properties. 
 While building the following log appears
 Attempting to download hibernate3.jar
warning: last-modified not specified
0K downloaded

[javac] error: error reading C:\Documents and 
Settings\A123\.maven\repository\hibernate\jars\hibernate3.jar; *
java.util.zip.ZipException*: error in opening zip file
 
and my build fails. 

I searched the mail archive and did find some threads mentioning similar 
issues but noone could solve my problem.

As Brett has mentioned here - 
http://marc.theaimsgroup.com/?l=turbine-maven-userm=111217743107934w=2 the 
issue might be due to my web server not providing the Last-Modified header 
for the urls.

But how can I rectify this ? Is there any setting in Tomcat to achieve this 
?

Thanks in advance.

Kanakambaran


Re: Howto get the dependencies of direct dependencies of a project

2005-07-26 Thread Andy Glick

Per Abich wrote:

Hello,

I am trying to retrieve a list of dependencies for all the artifacts 
that I have included in my project.


The goal is, to get all those files, copy them into a specific location 
and then zip them together to obtain single-file-install which is 
deployable without any further dependencies.


I have tried to simply get the *.pom - files and get their dependencies, 
but so far, I have failed to do this.


The way I have gone, was like the following:

j:forEach var=lib items=${pom.artifacts}
   ant:copy todir=${distDir}/lib file=${lib.path} /
/j:forEach

the above works, but only allows me to copy the DIRECT dependencies 
which I have specified in the project.xml.


But how do I get to copy all the dependencies of my dependencies into my 
${distDir}/lib folder?


Does anyone have a solution for this?

Best Regards

Per Abich
Catenic AG


Per,

I solved the problem of identifying all required dependent jars when 
coding projects that made use of Hibernate by creating a hierarchy of 
project.xml files and using the extend tag to connect them.  I stored 
the parent POMs in my ${maven.repo.local} and referenced the direct 
parent POM in the project's POM. I used a base POM for the jakarta 
commons and other standard jars, and then I added a POM that contained 
the direct dependencies needed by Hibernate.


That will allow you to build a complete list of the dependencies and 
increase reusability.


To bundle everything together in 1 artifact you might want to look at 
the Maven uberjar plugin. It was designed to build a jarfile that 
contains dependent jarfiles.


http://maven.apache.org/reference/plugins/uberjar/index.html

Hope that this helps


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



Re: warning: last-modified not specified - jars downloaded are 0 kb

2005-07-26 Thread Brett Porter
I also said it should be harmless :)

I've successfully used Tomcat as a remote repo in the past. There are
some other things you can try:
- try maven 1.1-beta-1
- try downloading normally (using wget or a browser) from the same URL 
- check for errors in the tomcat server logs

Cheers,
Brett

On 7/26/05, Kanakambaran Nair [EMAIL PROTECTED] wrote:
 Hi,
  I am using Maven 1.0.2. My remote repository is setup as a tomcat server
 and I have specified the maven.repo.remote in my build.properties.
  While building the following log appears
  Attempting to download hibernate3.jar
 warning: last-modified not specified
 0K downloaded
 
 [javac] error: error reading C:\Documents and
 Settings\A123\.maven\repository\hibernate\jars\hibernate3.jar; *
 java.util.zip.ZipException*: error in opening zip file
 
 and my build fails.
 
 I searched the mail archive and did find some threads mentioning similar
 issues but noone could solve my problem.
 
 As Brett has mentioned here -
 http://marc.theaimsgroup.com/?l=turbine-maven-userm=111217743107934w=2 the
 issue might be due to my web server not providing the Last-Modified header
 for the urls.
 
 But how can I rectify this ? Is there any setting in Tomcat to achieve this
 ?
 
 Thanks in advance.
 
 Kanakambaran
 


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



Re: [m2] Unable to download an artifact ?

2005-07-26 Thread Brett Porter
your version gained a 

Feel free to file a bug that the POM validation needs to be improved, however.

- Brett

On 7/27/05, Herve AGNOUX [EMAIL PROTECTED] wrote:
 Hi,
 
 I want to use commons codec in a project. I wrote in my pom.xml :
 
 dependency
 groupIdcommons-codec/groupId
 artifactIdcommons-codec/artifactId
 version1.3/version
 scopecompile/scope
 /dependency
 
 
 And, when I do m2 compile, I get :
 
 [INFO] [resources:resources]
 Downloading:
 http://repo1.maven.org/maven2/commons-codec/commons-codec/1.3/com
 mons-codec-1.3.pom
 [WARNING] Unable to get resource from repository http://repo1.maven.org/maven2
 [INFO]
 
 
 [INFO] BUILD FAILURE
 [INFO]
 
 
 [INFO] Main Error:
   Unable to read the metadata file
   commons-codec:commons-codec:1.3:jar
 
 from the specified remote repositories:
   http://repo1.maven.org/maven2
 Path to dependency:
 1) myproject:mything:jar:1.0-SNAPSHOT
 
 Root error:
   Unable to download the artifact from any repository
 
 
 ... I don't understand why ? I've look at
 http://www.ibiblio.org/maven2/commons-codec/commons-codec/1.3/ and I see the
 commons-codec-1.3.jar. Why m2 doesn't want download it ?
 
 
 
 --
 SARL diaam informatique - 04 77 25 43 28
 Ingenierie, développements de systèmes d'information
 http://www.diaam-informatique.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: warning: last-modified not specified - jars downloaded are 0 kb

2005-07-26 Thread Kanakambaran Nair
Hi,
 Downloading normally is possible, that is what we are doing now - 
downloading manually and copying to the local repository :) which is 
something we do not want to do.
 Have checked the tomcat server logs and didn't find any errors.
 I tried using mavne1.1-beta-1, am getting another error there
 Attempting to download hibernate3.jar.
Default credentials for n123 not available
Preemptive authentication failed
 Don't know what this message is, no authentication is required for accesing 
this server from a browser.
 Pls share your thoughts on this.
 Thanks in advance.
 Kanakambaran


How to include my application.xml and unversioned artifacts

2005-07-26 Thread Bhaskar . Pathak
being new to maven i've started by creating one 'project.xml' per module
without inheritence. My project consists of one ejeb module, one web module
and two java modules. after generating all the articats individually from
command prompt i'm trying to build the ear. However i'm facing a couple of
problems. I'm using maven1.0.2. My problems are...

1. I'm not able to include my own application.xml in the ear no matter
what. Maven generates a message that though it is copying 'applcation .xml'
in the ear folder but it will ignore this file when installing.

2. I've included the ibm specific file in the
ear(include**/META-INF/**/include ). These files refer to the
unversioned artifacts(war, ejb, jars). However the ear has this artifatcs
in their versioned form.

I reckon there are two ways to solve this
1. i find a way to include my own application.xml and the unversioned
artifacts in the ear.
Or
2. I generate the ibm specific file which refer to the versioned artifacts.

However i dont know how to accomplish any of the two. Can any one help me
out.

Regards
Bhaskar Pathak
Software Enginner
Xansa India Ltd.


Whilst this email has been checked for all known viruses, recipients should 
undertake their own virus checking as Xansa will not accept any liability 
whatsoever.

This email and any files transmitted with it are confidential and protected by 
client privilege.  It is solely for the use of the intended recipient.
Please delete it and notify the sender if you have received it in
error. Unauthorised use is prohibited.

Any opinions expressed in this email are those of the individual and not
necessarily the organisation.
 Xansa, Registered Office: 420 Thames Valley Park Drive,
 Thames Valley Park, Reading, RG6 1PU, UK.
 Registered in England No.1000954.
 t  +44 (0)8702 416181
 w  www.xansa.com

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



Re: warning: last-modified not specified - jars downloaded are 0 kb

2005-07-26 Thread Brett Porter
Is it possible that you are using a proxy that can't communicate with
tomcat? Preemptive auth should only be used with an authenticating
proxy or basic auth site.

- Brett

On 7/27/05, Kanakambaran Nair [EMAIL PROTECTED] wrote:
 Hi, 
   
 Downloading normally is possible, that is what we are doing now -
 downloading manually and copying to the local repository :) which is
 something we do not want to do. 
   
 Have checked the tomcat server logs and didn't find any errors. 
   
 I tried using mavne1.1-beta-1, am getting another error there 
   
 Attempting to download hibernate3.jar.
 Default credentials for n123 not available
 Preemptive authentication failed 
   
 Don't know what this message is, no authentication is required for accesing
 this server from a browser. 
   
 Pls share your thoughts on this. 
   
 Thanks in advance. 
   
 Kanakambaran

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



Re: warning: last-modified not specified - jars downloaded are 0 kb

2005-07-26 Thread Kanakambaran Nair
We do have a proxy but not for machines in the intranet. Also, while trying 
to access the same via the browser, it does not ask for any 
username/password.


Custom plugin can't find its dependency

2005-07-26 Thread David Jackman
I've written a custom plugin that uses a static method in
commons-io-1.0.jar.  That seems simple enough; I just list that as a
dependency in its pom.
 
However, when attempting to run the plugin, I get an error back stating
that there is no such method.
 
Looking at the debug output it seems that this happens because before
getting to my plugin it adds the dependencies for the artifact plugin to
the classloader, which includes commons-io-20030203.000550.jar.  It
eventually gets to my plugin and says it's adding commons-io.1.0.jar to
the classloader.
 
As you might have guessed, the particular method I'm calling is in
version 1.0, but not in the version of the commons-io that was added to
the classloader first (the owning class is there--just not the method).
 
Is there any way to solve this problem?
 
..David..
 


Re: How to include my application.xml and unversioned artifacts

2005-07-26 Thread Nicolas Chalumeau
2005/7/26, [EMAIL PROTECTED] [EMAIL PROTECTED]:
 being new to maven i've started by creating one 'project.xml' per module
 without inheritence. My project consists of one ejeb module, one web module
 and two java modules. after generating all the articats individually from
 command prompt i'm trying to build the ear. However i'm facing a couple of
 problems. I'm using maven1.0.2. My problems are...
 
 1. I'm not able to include my own application.xml in the ear no matter
 what. Maven generates a message that though it is copying 'applcation .xml'
 in the ear folder but it will ignore this file when installing.

tell maven not to genarate it with the maven.ear.appxml.generate=false
properties
The application.xml location is indicate with maven.ear.appxml

Nicolas

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



[m2] [trunk] Project info reports plugin fails on unvalid SVN repository connection ?

2005-07-26 Thread Yann Le Du
Hi,

Using the trunk build (rev. 225332), I launched site:site with
maven-project-info-reports-plugin in my pom and got the following. Is it a new
feature to fill in the pom ?

Regards,

Yann


[INFO] Generate Source Repository report.
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Diagnosis: Error during site generation
[INFO]

[ERROR] Cause: 
org.apache.maven.plugin.MojoExecutionException: Error during site generation
at org.apache.maven.doxia.DoxiaMojo.execute(DoxiaMojo.java:372)
...

Caused by: java.lang.IllegalArgumentException: The SVN repository connection is
not valid.
at
org.apache.maven.report.projectinfo.ScmReport$ScmRenderer.getSvnRoot(ScmReport.java:427)







___ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com

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



Weblogic 8.1 plugin for Maven 2 ?

2005-07-26 Thread Manny Nainu
I can see the weblogic plugin for M1 on sourceforge.net. Is there one
available for M2 that anybody is working on/can share with me? I'd like to
leverage whatever may be out there. 

 

Thanks!

Manny



Re: How import my own checks in plugin checkstyle of Maven

2005-07-26 Thread Carlos Sanchez
Hi,

I've never tried to do that so I can't tell you the exact steps, but
seems that you need to add your jar as a dependency to the project
adding this property:

  properties
classloaderroot/classloader
  /properties

It's related to the info in http://jira.codehaus.org/browse/MPCHECKSTYLE-27

Please send next emails to the maven users list.

Regards

On 7/26/05, darkan darkan [EMAIL PROTECTED] wrote:
 Hello Carlos,
 i permit to write this email because i have a problem to import my own
 checks.
 Indeed, i have my checks in mychecks.jar (.class and a message.properties)
 and i would like step by step know how use my checks in maven with the
 plugin-maven-checkstyle.
 Namely, where do i put checks.jar and how customize the plugin to assimilate
 my checks
 Thx
 
 Loïc
 
 


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



RE: Weblogic 8.1 plugin for Maven 2 ?

2005-07-26 Thread Ryan, Scott
I am working on a java version but have taken a break to finish the
marmalade version.  I am probably a week away from completing it and can
sent it then.  I will try to get it in to CVS ASAP.

 

What functionality are you seeking?

 

Scott Damon Ryan

Developer

(720) 514-5389

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

-Original Message-
From: Manny Nainu [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 26, 2005 11:17 AM
To: users@maven.apache.org
Cc: Ryan, Scott; [EMAIL PROTECTED]
Subject: Weblogic 8.1 plugin for Maven 2 ?

 

I can see the weblogic plugin for M1 on sourceforge.net. Is there one
available for M2 that anybody is working on/can share with me? I'd like to
leverage whatever may be out there. 

 

Thanks!

Manny



RE: Weblogic 8.1 plugin for Maven 2 ?

2005-07-26 Thread Manny Nainu
Ryan,
For now just basic functionality like weblogic start/stop/deploy etc. then
the build functionality for wlappc/deploy wars etc. Even if you have
something that I could look at, that would be great. 

If you have a sample weblogic app with M2, that would help since I'm really
new to Maven and M2 in particular!
Manny

-Original Message-
From: Ryan, Scott [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 26, 2005 1:25 PM
To: 'Manny Nainu'; users@maven.apache.org
Cc: [EMAIL PROTECTED]
Subject: RE: Weblogic 8.1 plugin for Maven 2 ?

I am working on a java version but have taken a break to finish the
marmalade version.  I am probably a week away from completing it and can
sent it then.  I will try to get it in to CVS ASAP.

 

What functionality are you seeking?

 

Scott Damon Ryan

Developer

(720) 514-5389

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

-Original Message-
From: Manny Nainu [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 26, 2005 11:17 AM
To: users@maven.apache.org
Cc: Ryan, Scott; [EMAIL PROTECTED]
Subject: Weblogic 8.1 plugin for Maven 2 ?

 

I can see the weblogic plugin for M1 on sourceforge.net. Is there one
available for M2 that anybody is working on/can share with me? I'd like to
leverage whatever may be out there. 

 

Thanks!

Manny




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



RE: Maven2 using Maven1 repository

2005-07-26 Thread Ilyevsky, Leonid (Equity Trading)
If I need to do 10 - 15 poms, I can write them by hand in 30 minutes.
If it is 30+, I would write a perl script in 30 minutes.
Between 15 and 30 - whatever you feel is easier.

-Original Message-
From: Eric Weiss [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 26, 2005 12:55 PM
To: Maven Users List
Subject: Re: Maven2 using Maven1 repository



Most likely a dumb question:  what is the best way to generate the .poms

for artifacts in our repo that don't already have a .pom?  Or do we have
to 
build them manually?

Eric

At 06:23 PM 7/25/2005, Brett Porter wrote:
The next release will allow using a Maven1 repo OOTB, but I highly
recommend converting (although this tool is also pending release) your
M1 repo (with M1 POMs) to an M2 repo so that you get the extra
dependency information.

- Brett

On 7/26/05, Ilyevsky, Leonid (Equity Trading) [EMAIL PROTECTED]
wrote:
  Thanks, but I already did that. Temporary workaround. The problem
is, I
  have to manually copy the jar file. When the other team is ready
with
  their new release, I have to do this again, copy the jar and create
the
  pom.
  I guess, if Maven2 is that strict, I should ask my colleagues to
publish
  the poms.
 
  -Original Message-
  From: Litton, Tom - CEPM [mailto:[EMAIL PROTECTED]
  Sent: Monday, July 25, 2005 4:15 PM
  To: Maven Users List
  Subject: RE: Maven2 using Maven1 repository
 
 
  I've been creating simple poms in my local repository.  Not the
optimal
  solution, but it should get you moving forward.
 
  An example of the POM is:
  project
modelVersion4.0.0/modelVersion
groupIdjta/groupId
artifactIdjta/artifactId
version1.0.1/version
  /project
 
  -Original Message-
  From: Ilyevsky, Leonid (Equity Trading)
[mailto:[EMAIL PROTECTED]
  Sent: Monday, July 25, 2005 10:53 AM
  To: users@maven.apache.org
  Subject: Maven2 using Maven1 repository
 
 
  We use packages from another group that uses maven1. Since maven1
does
  not really require the pom files in repository, they don't bother to
  publish them
  I tried my Maven2 with legacy layout. It understands the layout
but
  still tries to download the pom file from the poms subdirectory.
  Is there any way to tell Maven2 to skip the poms?
  
 
  If you are not an intended recipient of this e-mail, please notify
the
  sender, delete it and do not read, act upon, print, disclose, copy,
  retain or redistribute it. Click here for important additional terms
  relating to this e-mail. http://www.ml.com/email_terms/
  
 
 
 
--
  The information contained in this transmission is intended only for
  the personal and confidential use of the designated recipients named
  herein.  If the reader of this transmission is not the intended
  recipient or an agent responsible for delivering it to the intended
  recipient, you are hereby notified that you have received this
  transmission in error, and that any review, dissemination,
  distribution, or copying of this transmission is strictly
prohibited.
  If you have received this communication in error, please notify the
  sender and return and delete the original transmission immediately.
  Thank you.
 
 
 
-
  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]

Eric Weiss
email: [EMAIL PROTECTED]
office: 925.422.4238
icq:321045132



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


If you are not an intended recipient of this e-mail, please notify the sender, 
delete it and do not read, act upon, print, disclose, copy, retain or 
redistribute it. Click here for important additional terms relating to this 
e-mail. http://www.ml.com/email_terms/


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



Re: generated Cruisecontrol.xml

2005-07-26 Thread Eric Pugh
Don't recall exactly, but I believe there was some issues with  
generating crusecontrol.xml and if you had multiple tagged/branched  
versions of your project, then they conflicted.  Also might have been  
to use a more Maven standard name.


Eric

On Jul 26, 2005, at 9:28 AM, Per Abich wrote:


We have just moved to Subversion, and now I am trying to keep my  
Cruisecontrol running. Problem is, that we have also upgraded maven  
to the 1.0.2 version and updated the scm and cruisecontrol-plugins  
to the latest versions as to get best support for SVN.


Now I discovered an change of behavior which seems not documented  
at all...


Before, the Projectname in the generated cuisecontrol was the  
Projectname from the POM, now it is the Artifactname. This is not a  
big Problem, but I wonder why this happend?


Best Regards

Per Abich

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



rmic for maven 2

2005-07-26 Thread emiller
I have been experimenting with Maven 2 and generally like what I see.  One 
issue that I have run into is locating an RMIC plugin.  Is there an RMIC 
plugin or another plugin that in turn can run it (like ant)?  Any pointers 
would be appreciated.

Regards,
Eli

Re: rmic for maven 2

2005-07-26 Thread Trygve Laugstøl
On Tue, Jul 26, 2005 at 04:14:43PM -0400, [EMAIL PROTECTED] wrote:
 I have been experimenting with Maven 2 and generally like what I see.  One 
 issue that I have run into is locating an RMIC plugin.  Is there an RMIC 
 plugin or another plugin that in turn can run it (like ant)?  Any pointers 
 would be appreciated.

I've done some experiments with a rmic plugin[1] that you can use as a
starting point. You can check it out from svn with this command:

 $ svn co 
svn://svn.codehaus.org/mojo/scm/trunk/mojo/mojo-sandbox/maven-rmic-plugin

[1]: http://svn.mojo.codehaus.org/trunk/mojo/mojo-sandbox/maven-rmic-plugin/

--
Trygve


signature.asc
Description: Digital signature


RE: rmic for maven 2

2005-07-26 Thread Donszelmann, Mark
Hi

we have an rmic plugin for Maven 1. Feel free to port it. We can host it
or maybe maven can...

http://java.freehep.org/freehep-rmic-plugin/index.html


Regards
Mark Donszelmann
Stanford Linear Accelerator Center 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 26, 2005 1:15 PM
To: users@maven.apache.org
Subject: rmic for maven 2

I have been experimenting with Maven 2 and generally like what I see.  One 
issue that I have run into is locating an RMIC plugin.  Is there an RMIC plugin 
or another plugin that in turn can run it (like ant)?  Any pointers would be 
appreciated.

Regards,
Eli

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



RE: Best approach in using maven w/ eclipse

2005-07-26 Thread Patrick Roumanoff


 -Original Message-
 From: jk jk [mailto:[EMAIL PROTECTED]
 WTP does sound pretty good and I might try it out down
 the road.  When you were using MyEclipse or maybe this
 actually applies to just eclipse, do you need to
 execute, maven eclipse goal to generate the MAVEN_REPO
 variables in the build path every single time you add
 a dependency in your project.xml?  

The MAVEN_REPO variable is an eclipse classpath variable.
I use mevenide to synchronize my project.xml with my .classpath
And yes, I need to syncronize everytime a dependency is added 
(either in .classpath or in project.xml).


 Also, when I run maven eclipse goal and I refresh my
 eclipse project, it removes all my natures/capabilites
 (hibernate, struts, etc) for my project which is very
 annoying.  I have to add those natures/capabilites to
 the project again.  Does this happen to you?

If you are using the eclipse maven plugin you have to regenerate your
eclipse project files every time you modify your project.xml.
To avoid loosing your natures  builders, you can use the
maven.eclipse.projectnatures  maven.eclipse.buildcommands
properties.

But this is a one way process. 

With mevenide it's a two way process and you won't loose your nature as 
only .classpath and project.xml are updated.

cheers,

Patrick


NOTICE
This e-mail and any attachments are confidential and may contain copyright 
material of Macquarie Bank or third parties. If you are not the intended 
recipient of this email you should not read, print, re-transmit, store or act 
in reliance on this e-mail or any attachments, and should destroy all copies of 
them. Macquarie Bank does not guarantee the integrity of any emails or any 
attached files. The views or opinions expressed are the author's own and may 
not reflect the views or opinions of Macquarie Bank.


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



RMI Goal

2005-07-26 Thread Yousef Ourabi
This run's fine, except no stubs or skeletons are created, are there
are RMI Interfaces and classes that implemented those interfaces. Any
Thoughts? Really driving me nuts and I need to have this done sooner
rather than later, so I would be greatful for any help.


goal name=jet:rmi-stub-compile
ant:rmic base=${basedir}/main/src/java/com/jeteye/lucene
verify=true includes=**/*.java/
/goal

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



Re: [m2- alpha 3] settings.xml issue with with activationProperty

2005-07-26 Thread Brett Porter
this is a typo in the web page. It should be property /

- Brett

On 7/27/05, Sidart Kurias [EMAIL PROTECTED] wrote:
 All,
 
 I am trying to configure my settings.xml with profile
 information.
 I keep getting an error when I try the following..
 activation
 jdk/
 activationProperty
nameRelease/name
valueSNAPSHOT/value
/activationProperty
 /activation
 
 org.codehaus.plexus.util.xml.pull.XmlPullParserException:
 TEXT must be immediately followed by END_TAG and not
 START_TAG (position: START_TAG seen
 ...activationProperty\n\t\t\t\t\tname... @20:12)
 at
 org.codehaus.plexus.util.xml.pull.MXParser.nextText(MXParser.java:1059)
 at
 org.apache.maven.settings.io.xpp3.SettingsXpp3Reader.parseActivation(SettingsXpp3Reader.java:237)
 at
 org.apache.maven.settings.io.xpp3.SettingsXpp3Reader.parseProfile(SettingsXpp3Reader.java:357)
 at
 org.apache.maven.settings.io.xpp3.SettingsXpp3Reader.parseSettings(SettingsXpp3Reader.java:649)
 at
 org.apache.maven.settings.io.xpp3.SettingsXpp3Reader.read(SettingsXpp3Reader.java:979)
 at
 org.apache.maven.settings.DefaultMavenSettingsBuilder.readSettings(DefaultMavenSettingsBuilder.java:89)
 at
 org.apache.maven.settings.DefaultMavenSettingsBuilder.buildSettings(DefaultMavenSettingsBuilder.java:110)
 at
 org.apache.maven.cli.MavenCli.main(MavenCli.java:177)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke0(Native
 Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at
 java.lang.reflect.Method.invoke(Method.java:324)
 at
 org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:303)
 at
 org.codehaus.classworlds.Launcher.launch(Launcher.java:243)
 at
 org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416)
 at
 org.codehaus.classworlds.Launcher.main(Launcher.java:363)
 
 Any idea what I am doing incorrectly.AFAIK the
 activationProperty tag has two children, name and
 value.
 
 
 Thanks
 Sid
 
 
 
 
 
 Start your day with Yahoo! - make it your home page
 http://www.yahoo.com/r/hs
 
 
 -
 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: [m2- alpha 3] settings.xml issue with with activationProperty

2005-07-26 Thread Sidart Kurias
Thanks,
BTW I do not know what timezone you are in, but it
must be pretty late where you are

I do have one more question coming :-)

Sid

--- Brett Porter [EMAIL PROTECTED] wrote:

 this is a typo in the web page. It should be
 property /
 
 - Brett
 
 On 7/27/05, Sidart Kurias [EMAIL PROTECTED]
 wrote:
  All,
  
  I am trying to configure my settings.xml with
 profile
  information.
  I keep getting an error when I try the following..
  activation
  jdk/
  activationProperty
 nameRelease/name
 valueSNAPSHOT/value
 /activationProperty
  /activation
  
 

org.codehaus.plexus.util.xml.pull.XmlPullParserException:
  TEXT must be immediately followed by END_TAG and
 not
  START_TAG (position: START_TAG seen
  ...activationProperty\n\t\t\t\t\tname...
 @20:12)
  at
 

org.codehaus.plexus.util.xml.pull.MXParser.nextText(MXParser.java:1059)
  at
 

org.apache.maven.settings.io.xpp3.SettingsXpp3Reader.parseActivation(SettingsXpp3Reader.java:237)
  at
 

org.apache.maven.settings.io.xpp3.SettingsXpp3Reader.parseProfile(SettingsXpp3Reader.java:357)
  at
 

org.apache.maven.settings.io.xpp3.SettingsXpp3Reader.parseSettings(SettingsXpp3Reader.java:649)
  at
 

org.apache.maven.settings.io.xpp3.SettingsXpp3Reader.read(SettingsXpp3Reader.java:979)
  at
 

org.apache.maven.settings.DefaultMavenSettingsBuilder.readSettings(DefaultMavenSettingsBuilder.java:89)
  at
 

org.apache.maven.settings.DefaultMavenSettingsBuilder.buildSettings(DefaultMavenSettingsBuilder.java:110)
  at
 

org.apache.maven.cli.MavenCli.main(MavenCli.java:177)
  at
 
 sun.reflect.NativeMethodAccessorImpl.invoke0(Native
  Method)
  at
 

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at
 

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at
  java.lang.reflect.Method.invoke(Method.java:324)
  at
 

org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:303)
  at
 

org.codehaus.classworlds.Launcher.launch(Launcher.java:243)
  at
 

org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416)
  at
 

org.codehaus.classworlds.Launcher.main(Launcher.java:363)
  
  Any idea what I am doing incorrectly.AFAIK the
  activationProperty tag has two children, name
 and
  value.
  
  
  Thanks
  Sid
  
  
  
  
 
 
  Start your day with Yahoo! - make it your home
 page
  http://www.yahoo.com/r/hs
  
  
 

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


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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