RE: plugin dependency
Yes. > -Original Message- > From: Carlos Sanchez [mailto:[EMAIL PROTECTED] > Sent: Thursday, 27 May 2004 8:40 AM > To: 'Maven Users List' > Subject: RE: plugin dependency > > > This can also be used to force download of plugins not > included in maven distribution? > > > Carlos Sanchez > A Coruña, Spain > > Oness Project > http://oness.sourceforge.net > > > > -Original Message- > > From: Heritier Arnaud [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, May 26, 2004 7:20 PM > > To: Maven Users List > > Subject: RE : plugin dependency > > > > You can use a dependency for plugin like this : > > > > > > statcvs > > maven-statcvs-plugin > > 2.4 > > http://statcvs-xml.berlios.de/maven-plugin/ > > plugin > > > > > > Arnaud > > > > > -Message d'origine- > > > De : Glenn R. Golden [mailto:[EMAIL PROTECTED] Envoyé : > > mercredi 26 > > > mai 2004 19:17 À : Maven Users List Objet : plugin dependency > > > > > > > > > I have a multiproject system, and one of the projects is a custom > > > maven plugin. One other project uses this plugin in its goal. > > > > > > I have been running the plugin project by hand, then doing a > > > multiproject:goal for the rest. The reactor lists that plugin > > > project, and places it last, since there are no stated > > dependencies on > > > it. > > > > > > Is there a way to indicate in the project that uses the > > plugin that it > > > is dependent on that plugin, so that the reactor will run > it first? > > > > > > Thanks. > > > > > > - Glenn > > > > > > Glenn R. Golden > > > CHEF Architect - Sr. Systems Research Programmer School of > > > Information, Media Union - University of Michigan > [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: plugin dependency
This can also be used to force download of plugins not included in maven distribution? Carlos Sanchez A Coruña, Spain Oness Project http://oness.sourceforge.net > -Original Message- > From: Heritier Arnaud [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 26, 2004 7:20 PM > To: Maven Users List > Subject: RE : plugin dependency > > You can use a dependency for plugin like this : > > > statcvs > maven-statcvs-plugin > 2.4 > http://statcvs-xml.berlios.de/maven-plugin/ > plugin > > > Arnaud > > > -Message d'origine- > > De : Glenn R. Golden [mailto:[EMAIL PROTECTED] Envoyé : > mercredi 26 > > mai 2004 19:17 À : Maven Users List Objet : plugin dependency > > > > > > I have a multiproject system, and one of the projects is a custom > > maven plugin. One other project uses this plugin in its goal. > > > > I have been running the plugin project by hand, then doing a > > multiproject:goal for the rest. The reactor lists that plugin > > project, and places it last, since there are no stated > dependencies on > > it. > > > > Is there a way to indicate in the project that uses the > plugin that it > > is dependent on that plugin, so that the reactor will run it first? > > > > Thanks. > > > > - Glenn > > > > Glenn R. Golden > > CHEF Architect - Sr. Systems Research Programmer School of > > Information, Media Union - University of Michigan [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: plugin-parent error with 1.0rc3
That'll work, but it's a bit dodgy on the other peron's behalf - and if they decide to start depending on that its going to break everywhere. The problem is that the project.xml file is shared between plugin build-time and plugin run-time. Extending another parent if useful for build-time, but not run-time when it is not present. However, Maven shouldn't be following any link in the plugin at run-time. Perhaps if you run maven -e and show the FileNotFoundException stack trace we could find out where it is occurring, although it would be easier to grep for the use of plugin-parent :) I'm guessing it's in maven.xml or plugin.jelly inside the plugin. Cheers, Brett > -Original Message- > From: Joe Germuska [mailto:[EMAIL PROTECTED] > Sent: Thursday, 27 May 2004 1:38 PM > To: Maven Users List > Subject: RE: plugin-parent error with 1.0rc3 > > > At 12:41 PM +1000 5/27/04, Brett Porter wrote: > >Sounds like a bug in that plugin somewhere... Where is > >plugin-parent-1.0 referred to in the other developers plugin? > > I'll check further into that; I've only written one plugin myself, a > while ago, and at the time, I don't think plugin-parent had been > introduced. Then when I found that in JIRA, I didn't spend as long as > perhaps I should have trying to figure out what's going on with with > this local plugin because that sounded like a more global problem. > > He seems to be extending a slightly modified copy of a plugin-parent > project.xml, probably coping from maven-plugins in CVS. I'm not > quite following the process that causes his plugin to look for > plugin-parent. > > I fiddled around a bit and took the suggestion from MAVEN-1262 of > putting "" in a plugin.jelly file in plugin-parent, and I > think I've got things kind of working. At least, I'm not getting > that error any more. > > Thanks > Joe > > -- > Joe Germuska > [EMAIL PROTECTED] > http://blog.germuska.com >"Imagine if every Thursday your shoes exploded if you > tied them > the usual way. This happens to us all the time with computers, and > nobody thinks of complaining." > -- Jef Raskin > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
RE: plugin-parent error with 1.0rc3
At 12:41 PM +1000 5/27/04, Brett Porter wrote: Sounds like a bug in that plugin somewhere... Where is plugin-parent-1.0 referred to in the other developers plugin? I'll check further into that; I've only written one plugin myself, a while ago, and at the time, I don't think plugin-parent had been introduced. Then when I found that in JIRA, I didn't spend as long as perhaps I should have trying to figure out what's going on with with this local plugin because that sounded like a more global problem. He seems to be extending a slightly modified copy of a plugin-parent project.xml, probably coping from maven-plugins in CVS. I'm not quite following the process that causes his plugin to look for plugin-parent. I fiddled around a bit and took the suggestion from MAVEN-1262 of putting "" in a plugin.jelly file in plugin-parent, and I think I've got things kind of working. At least, I'm not getting that error any more. Thanks Joe -- Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Imagine if every Thursday your shoes exploded if you tied them the usual way. This happens to us all the time with computers, and nobody thinks of complaining." -- Jef Raskin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: plugin-parent error with 1.0rc3
Sounds like a bug in that plugin somewhere... Where is plugin-parent-1.0 referred to in the other developers plugin? > -Original Message- > From: Joe Germuska [mailto:[EMAIL PROTECTED] > Sent: Thursday, 27 May 2004 12:25 PM > To: [EMAIL PROTECTED] > Subject: plugin-parent error with 1.0rc3 > > > I am having a problem with 1.0 rc2 and 1.0 rc3 when using a plugin > written by another developer who uses 1.0 rc1. > > After I installed his plugin (maven plugin:install), I started > getting this error: > java.io.FileNotFoundException: > /Users/germuska/.maven/plugins/plugin-parent-1.0/plugin.jelly (No > such file or directory) > > I upgraded from rc2 to rc3, and am getting pretty much the > same behavior. > > The only thing I can find about this is a closed JIRA issue: > http://jira.codehaus.org/browse/MAVEN-1262 > > Is the only > solution to work from CVS HEAD? > > Thanks in advance. > -- > Joe Germuska > [EMAIL PROTECTED] > http://blog.germuska.com >"Imagine if every Thursday your shoes exploded if you > tied them > the usual way. This happens to us all the time with computers, and > nobody thinks of complaining." > -- Jef Raskin > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
RE: Passing context between plugins
Thanks Brett, but that had no effect. The genapp plugin still doesn't see a value for maven.genapp.template.dir when I change j:set to the following: So, as an alternative I tried the following: 1. Added the following setting to my plugin's plugin.properties file (and removed the maven:set tag): maven.genapp.template.dir=${plugin.resources}/mytemplate 2. Modified my plugin.jelly to the following: ${maven.genapp.template.dir} This echoes the proper translation of ${maven.genapp.template.dir} to the absolute path for to the mytemplate subdirectory in my plugin's plugin-resources directory. However, the same ant:echo call made within the genapp plugin.jelly script translated ${maven.genapp.template.dir} to a path within the genapp plugin's directory structure. This behavior indicates that property values are not evaluated and made static, but that they are reevaluated within each context. That is, the maven.genapp.template.dir property is associated with the expression ${plugin.resources}/mytemplate and this expression is evaluated within each context, such that ${plugin.resources} evaluates to my plugin's resources directory in the context of my plugin's plugin.jelly script, but then evaluates to the genapp's plugin resource directory when evaluated within genapp's plugin.jelly script. This is obviously not the behavior I want. I want maven.genapp.template.dir to be evaluated only once in the context of my plugin, then have that same value passed through to the genapp plugin. What's the deal? Is there any way for me to make that happen? Thanks, Chuck > -Original Message- > From: Brett Porter [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 26, 2004 6:13 PM > To: 'Maven Users List' > Subject: RE: Passing context between plugins > > > Try... > > http://maven.apache.org/reference/maven-jelly-tags/tags.html#maven:set > > > -Original Message- > > From: Chuck Daniels [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, 26 May 2004 9:31 PM > > To: [EMAIL PROTECTED] > > Subject: Passing context between plugins > > > > > > Hi, > > > > I'm still very new to the technical workings of Maven, so > > please bear with me. I'm experimenting with building my own > > plugin, which invokes the genapp plugin. From my plugin's > > plugin.jelly file, I set a context variable that the genapp > > plugin should recognize. However, when I attempt to attain > > the genapp goal from my plugin (after setting the variable), > > the genapp plugin doesn't see the value I set. Here is my > > plugin.jelly file: > > > > > > > > > value="${plugin.resources}/mytemplate"/> > > > > > > > > > > I successfully installed my plugin, but when I run the > > following command: > > > > maven call-genapp > > > > the genapp plugin doesn't see the value I set for > > maven.genapp.template.dir when it executes my plugin's goal. > > It thinks the variable has no value. Is there something I > > need to do in order to pass the jelly context from my plugin > > to the genapp plugin? Am I doing something wrong? > > > > Thanks, > > Chuck > > > > > > - > > 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]
plugin-parent error with 1.0rc3
I am having a problem with 1.0 rc2 and 1.0 rc3 when using a plugin written by another developer who uses 1.0 rc1. After I installed his plugin (maven plugin:install), I started getting this error: java.io.FileNotFoundException: /Users/germuska/.maven/plugins/plugin-parent-1.0/plugin.jelly (No such file or directory) I upgraded from rc2 to rc3, and am getting pretty much the same behavior. The only thing I can find about this is a closed JIRA issue: http://jira.codehaus.org/browse/MAVEN-1262 Is the only solution to work from CVS HEAD? Thanks in advance. -- Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Imagine if every Thursday your shoes exploded if you tied them the usual way. This happens to us all the time with computers, and nobody thinks of complaining." -- Jef Raskin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Plugin for ISMP 5
If you do find one, please let us know. We have one for working with NSIS to generate install executables, but InstallShield would also be nice. On Wed, 26 May 2004 18:49:55 -0700 (PDT), Gautham Pamu <[EMAIL PROTECTED]> wrote: > > Hi Everyone, > > Has anypne written maven plugins which could generate > ISMP (Install shield Multiplatform 5.0) images. If you > have writtens any plugins related to it, can you share > your experience. > > Thanks in advance. > > Thanks > Gautham Pamu > > __ > Do you Yahoo!? > Friends. Fun. Try the all-new Yahoo! Messenger. > http://messenger.yahoo.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]
Plugin for ISMP 5
Hi Everyone, Has anypne written maven plugins which could generate ISMP (Install shield Multiplatform 5.0) images. If you have writtens any plugins related to it, can you share your experience. Thanks in advance. Thanks Gautham Pamu __ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Passing context between plugins
Try... http://maven.apache.org/reference/maven-jelly-tags/tags.html#maven:set > -Original Message- > From: Chuck Daniels [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 26 May 2004 9:31 PM > To: [EMAIL PROTECTED] > Subject: Passing context between plugins > > > Hi, > > I'm still very new to the technical workings of Maven, so > please bear with me. I'm experimenting with building my own > plugin, which invokes the genapp plugin. From my plugin's > plugin.jelly file, I set a context variable that the genapp > plugin should recognize. However, when I attempt to attain > the genapp goal from my plugin (after setting the variable), > the genapp plugin doesn't see the value I set. Here is my > plugin.jelly file: > > > > value="${plugin.resources}/mytemplate"/> > > > > > I successfully installed my plugin, but when I run the > following command: > > maven call-genapp > > the genapp plugin doesn't see the value I set for > maven.genapp.template.dir when it executes my plugin's goal. > It thinks the variable has no value. Is there something I > need to do in order to pass the jelly context from my plugin > to the genapp plugin? Am I doing something wrong? > > Thanks, > Chuck > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
RE: RC3 problem with clover
Please submit to JIRA so we don't forget it - sounds like a bug. - Brett > -Original Message- > From: Nigel Magnay [mailto:[EMAIL PROTECTED] > Sent: Thursday, 27 May 2004 12:47 AM > To: Maven Users List > Subject: RC3 problem with clover > > > > After upgrading to RC3, we have a problem with the clover plugin. > > It complains in a lot of our projects that it can't get > maven.test.compile.src.set. > > This is because we don't want to run any tests in that > project, we are merely instrumenting the classes so that when > they are run later (inside Jboss), the coverage information > is created. > > Are there any easy fixes for this or do I have to hack it? > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
RE: RE : plugin dependency
You'll also want to build the plugin using plugin:install-now instead of plugin:install so that it is available to the current maven invocation. - Brett > -Original Message- > From: Heritier Arnaud [mailto:[EMAIL PROTECTED] > Sent: Thursday, 27 May 2004 3:20 AM > To: Maven Users List > Subject: RE : plugin dependency > > > You can use a dependency for plugin like this : > > > statcvs > maven-statcvs-plugin > 2.4 > http://statcvs-xml.berlios.de/maven-plugin/ > plugin > > > Arnaud > > > -Message d'origine- > > De : Glenn R. Golden [mailto:[EMAIL PROTECTED] > > Envoyé : mercredi 26 mai 2004 19:17 > > À : Maven Users List > > Objet : plugin dependency > > > > > > I have a multiproject system, and one of the projects is a > > custom maven > > plugin. One other project uses this plugin in its goal. > > > > I have been running the plugin project by hand, then doing a > > multiproject:goal for the rest. The reactor lists that > > plugin project, > > and places it last, since there are no stated dependencies on it. > > > > Is there a way to indicate in the project that uses the > > plugin that it > > is dependent on that plugin, so that the reactor will run it first? > > > > Thanks. > > > > - Glenn > > > > Glenn R. Golden > > CHEF Architect - Sr. Systems Research Programmer > > School of Information, Media Union - University of Michigan > > [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: jaxb plugin
Should only need jaxb-api and jaxb-libs, but you probably need version 1.0 of these if you are using the 1.0 plugin. I haven't had a chance to test an upgrade to 1.0.1 of the RI yet. - Brett > -Original Message- > From: Webb Morris [mailto:[EMAIL PROTECTED] > Sent: Thursday, 27 May 2004 4:50 AM > To: Maven Users List > Subject: Re: jaxb plugin > > > I've had this problem before and it was becuase I didn't have > all the required jars included in my project dependencies. I > know that the following jars are required (for me): > > jaxb-api > jaxb-impl > jaxb-libs > jaxb-xjc > relaxngDatatype > xml-apis > xercesImpl > xsdlib > namespace > > HTH > > WM > > > --- Eugene Kirin <[EMAIL PROTECTED]> wrote: > > Hello! > > Does anybody have tried to use Jaxb plugin? > > > > When I call the jabx:generate goal I get "grammar is not specified" > > error. But I know my schemas is ok. Please help me to resolve it. > > > > Thanks! > > > > > > > __ > Do you Yahoo!? > Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: RC3 Property Inheritance Problem
Attachement is not there. Can you post the contents of your message to JIRA and attach the example? Thanks, Brett > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, 27 May 2004 7:36 AM > To: [EMAIL PROTECTED] > Subject: Re: RC3 Property Inheritance Problem > > > > > I've been doing a lot of trial and error with this problem > and I've narrowed it down to what I think is a problem in > multiproject environments with inherited properties. It is > *not* an issue strictly with the maven.compile.* properties > as I've previously mentioned. I'm attaching a jar file of my > stripped down example to demonstrate. In my example, I'm > demonstrating the problem with the maven.repo.remote > property. To replicate the problem, do the following: > > * Edit project.properties under test/ and change > maven.repo.remote to something other than ibiblio. > * Edit test/service/myservice/ejb/project.xml with a > dependency (something NOT on ibiblio, but on the remote repo > specified previously) > * Remove this dependent jar from your local repository so > it's forced to download it again > * From test/service/myservice, execute a maven goal (I > generally do clean) > > This should fail to download. Strangely, if I run the same > maven goal from test/service/myservice/ejb, it DOES download! > Anyone have a clue what's happening here? > > -wr > > __ > > NOTICE: This communication and any files transmitted with it > ("communication") may contain privileged or other > confidential information. This communication is intended > solely for the individual or entity to whom it is addressed. > If you are not the intended recipient, or believe that you > have received this communication in error, please do not > print, copy, retransmit, disseminate, or otherwise use this > communication. Also, please indicate to the sender that you > have received this communication in error, and then delete > this communication and any copies. Thank you. > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
Re: RC3 Property Inheritance Problem
I've been doing a lot of trial and error with this problem and I've narrowed it down to what I think is a problem in multiproject environments with inherited properties. It is *not* an issue strictly with the maven.compile.* properties as I've previously mentioned. I'm attaching a jar file of my stripped down example to demonstrate. In my example, I'm demonstrating the problem with the maven.repo.remote property. To replicate the problem, do the following: * Edit project.properties under test/ and change maven.repo.remote to something other than ibiblio. * Edit test/service/myservice/ejb/project.xml with a dependency (something NOT on ibiblio, but on the remote repo specified previously) * Remove this dependent jar from your local repository so it's forced to download it again * From test/service/myservice, execute a maven goal (I generally do clean) This should fail to download. Strangely, if I run the same maven goal from test/service/myservice/ejb, it DOES download! Anyone have a clue what's happening here? -wr __ NOTICE: This communication and any files transmitted with it ("communication") may contain privileged or other confidential information. This communication is intended solely for the individual or entity to whom it is addressed. If you are not the intended recipient, or believe that you have received this communication in error, please do not print, copy, retransmit, disseminate, or otherwise use this communication. Also, please indicate to the sender that you have received this communication in error, and then delete this communication and any copies. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven eclipse plugin question re: source folder
I seem to have found a workaround, but without actually understanding the problem. I created a directory level below my "src" directory called "java" and put my source tree in there. Then I told eclipse to add a source folder and specified "src/java" and it tagged the folder properly, and made the source tree into Java packages. Running "maven eclipse" no longer upsets it. - Original Message - From: "Heritier Arnaud" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Wednesday, May 26, 2004 8:38 AM Subject: RE : Maven eclipse plugin question re: source folder Why do you call maven eclipse:generate-classpath ? Call directly "maven eclipse" It will generate the classpath, the project and the others files you need to import your project in Eclipse. Arnaud > -Message d'origine- > De : Loren Siebert [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 26 mai 2004 17:30 > À : [EMAIL PROTECTED] > Objet : Maven eclipse plugin question re: source folder > > > I'm trying out the maven eclipse plugin and am running into a > little problem. I'm using eclipse2.1.3 and 1.7 of the plugin. > > When I run 'maven eclipse:generate-classpath', eclipse loses > the notion of my source code folder being a "Source Folder" > and it also loses the concept of "Package" folders inside. > This makes Eclipse ignore these folders for purposes of > incremental compilation, as it no longer associates them with > Java code. > > I don't even see where eclipse stores this meta information > about the source folder, so I'm not even sure it's a > maven/eclipse plugin bug, but that maven goal is what makes > it happen. I looked through the list of outstanding bugs and > the list archive and didn't see anything related to what I'm seeing. > > Am I missing something obvious or should I file it as a bug? > > > > - > 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]
Including dependencies and configuration files in JAR distributions
I'm using Maven to create distributions for several of our projects. I'm curious how people are including dependencies and configuration files in their distributions? So far I'm using a postGoal on the prepare-bin-filesystem goal with a copy dependencies (I forgot the tag). This copies ALL my JAR files. My project needs websphere's j2ee.jar to compile and run the unit tests, however I don't want to distribute this jar with my project. But I do want to distribute the other jars. I know the WAR plugin lets you set properties on the dependencies so they will be included or not, but I haven't found this feature for a JAR distribution. Also I have configuration files that I need to distribute. This is easier because I've separated them into different directories (src/conf.test and src/conf.dist). Any "best practices" here? Any Maven features that can help me out? Thanks, Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
OutOfMemory Error when running test
I'm busy converting an Ant build over to Maven and have run into a problem running tests. I have tried this on two different systems with slightly different results, one system is running OS X Panther and the other WinXP. On OS X the tests fail in one place with an OutOfMemory error, on the XP machine the tests fail a little further down the list of test cases, but also with an OOM error. On both boxes I have tried to increase the memory through MAVEN_OPTS. -Xms512m -Xmx768m However on both boxes the tests still fail at the same point which doesn't make any sense to me, as if I increased the VM memory it should at least get further, right? Additionally I have run the test that it fails on independently with no problems, as well as the test after it with no problems. I also tried to fork the VM which resulted in another error: [junit] Running com.fotozap.data.dao.AffiliateDAOTest [junit] Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/dom/ranges/DocumentRange [junit] at java.lang.ClassLoader.defineClass0(Native Method) [junit] at java.lang.ClassLoader.defineClass(ClassLoader.java:537) [junit] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) [junit] at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) [junit] at java.net.URLClassLoader.access$100(URLClassLoader.java:55) [junit] at java.net.URLClassLoader$1.run(URLClassLoader.java:194) [junit] at java.security.AccessController.doPrivileged(Native Method) [junit] at java.net.URLClassLoader.findClass(URLClassLoader.java:187) [junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:289) Here is the exception from the XP box (I also have the maven -X output if anyone needs it): BUILD FAILED File.. C:\Documents and Settings\Tim Hoyt\.maven\plugins\maven-test-plugin-1 .6.1\plugin.jelly Element... j:if Line.. 105 Column 107 java.lang.OutOfMemoryError com.werken.werkz.UnattainableGoalException: Unable to obtain goal [test:test] -- C:\Documents and Settings\Tim Hoyt\.maven\plugins\maven-test-plugin-1.6.1\plugi n.jelly:105:107: java.lang.OutOfMemoryError at com.werken.werkz.Goal.fire(Goal.java:646) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.Goal.attainPrecursors(Goal.java:488) at com.werken.werkz.Goal.attain(Goal.java:573) at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java: 610) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266) at org.apache.maven.cli.App.doMain(App.java:485) at org.apache.maven.cli.App.main(App.java:1214) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) org.apache.commons.jelly.JellyTagException: C:\Documents and Settings\Tim Hoyt\. maven\plugins\maven-test-plugin-1.6.1\plugin.jelly:105:107: java.lang.Out OfMemoryError at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.jav a:702) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:296) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa g.java:79) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor mAction(MavenGoalTag.java:110) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.Goal.attainPrecursors(Goal.java:488) at com.werken.werkz.Goal.attain(Goal.java:573) at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java: 610) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266) at org.apache.maven.cli.App.doMain(App.java:485) at org.apache.maven.cli.App.main(App.java:1214) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) Caused by: java.lang.OutOfMemoryError Root cause java.lang.OutOfMemoryError java.lang.OutOfMemoryError Any ideas? -warner -
Re: o.n.l.c.c.ComandException in maven-changelog-plugin
Mario Ivankovits wrote: site:run-reports: [echo] Generating the Change Log... maven-changelog-plugin:report: [echo] Generating the changelog report *org.netbeans.lib.cvsclient.command.CommandException* ChangeLog found: 0 entries Looks like this is (was) a bug in cvslib http://javacvs.netbeans.org/issues/show_bug.cgi?id=40347 -- Mario - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
o.n.l.c.c.ComandException in maven-changelog-plugin
Hello ! I use Maven-1.0-rc3/cvslib-3.6 on windows xp. I try to regenerate the commons-vfs site and during the changelog creation i get the following output site:run-reports: [echo] Generating the Change Log... maven-changelog-plugin:report: [echo] Generating the changelog report *org.netbeans.lib.cvsclient.command.CommandException* ChangeLog found: 0 entries After some fiddeling around with the debugger i managed to get the following stacktrace out of maven java.lang.NullPointerException at org.netbeans.lib.cvsclient.command.BasicCommand.getFileEndingWith(BasicCommand.java:150) at org.netbeans.lib.cvsclient.command.log.LogBuilder.createFile(LogBuilder.java:295) at org.netbeans.lib.cvsclient.command.log.LogBuilder.processWorkingFile(LogBuilder.java:221) at org.netbeans.lib.cvsclient.command.log.LogBuilder.parseLine(LogBuilder.java:157) at org.netbeans.lib.cvsclient.command.BuildableCommand.messageSent(BuildableCommand.java:95) at org.netbeans.lib.cvsclient.event.MessageEvent.fireEvent(MessageEvent.java:96) at org.netbeans.lib.cvsclient.event.EventManager.fireCVSEvent(EventManager.java:107) at org.netbeans.lib.cvsclient.response.MessageResponse.process(MessageResponse.java:52) at org.netbeans.lib.cvsclient.Client.handleResponse(Client.java:485) at org.netbeans.lib.cvsclient.Client.processRequests(Client.java:439) at org.netbeans.lib.cvsclient.command.log.LogCommand.execute(LogCommand.java:132) at org.netbeans.lib.cvsclient.Client.executeCommand(Client.java:533) at org.apache.maven.cvslib.CvsConnection.executeCommand(CvsConnection.java:88) at org.apache.maven.cvslib.CvsConnection.processCommand(CvsConnection.java:376) at org.apache.maven.cvslib.CvsChangeLogGenerator.getEntries(CvsChangeLogGenerator.java:100) at org.apache.maven.changelog.ChangeLog.generateEntries(ChangeLog.java:235) at org.apache.maven.changelog.ChangeLog.doExecute(ChangeLog.java:214) . After decompile the BasicCommand, line 150 is the following code /* 150*/for(index = 0; index < files.length; index++) { so the only thing which could happen here ist that the files array is "null". Issuing the command (using the cygwin-cvs.exe) cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic log -d "2004-04-26<2004-05-27" brings a perfect log. I already tried to checkout commons-vfs to a completely empty directory and retry the "maven site" command - same failure. Even trying this on another machine doesnt change anything. I tried Mave-1.0-rc2 too - with the same result (in fact rc2 was the first i got this failure, then i upgraded to rc3 - never used any maven version before) Logging the network traffic on my firewall shows me, that the cvs communication is running. This is something which already worked, i do not manage to find out what has been changed. So now i do not know what to do next? Any ideas?? Thanks, Mario
Re: jaxb plugin
I've had this problem before and it was becuase I didn't have all the required jars included in my project dependencies. I know that the following jars are required (for me): jaxb-api jaxb-impl jaxb-libs jaxb-xjc relaxngDatatype xml-apis xercesImpl xsdlib namespace HTH WM --- Eugene Kirin <[EMAIL PROTECTED]> wrote: > Hello! > Does anybody have tried to use Jaxb plugin? > > When I call the jabx:generate goal I get "grammar is not specified" error. But I > know my schemas > is ok. Please help me to resolve it. > > Thanks! __ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven eclipse plugin question re: source folder
Hmmm...mine seems to be a different issue. I only have one source folder. Even when the .classpath file gets regenerated without any changes being made to it (i.e., I re-run "maven eclipse:generate-classpath"), Eclipse2.1.3 suddenly sees my source folder as a plain file folder. Here's my .classpath from maven: - Original Message - From: "Al Robertson" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Wednesday, May 26, 2004 9:29 AM Subject: Re: Maven eclipse plugin question re: source folder I had a problem with the maven eclipse:generate-classpath as well. With me, it is due to having 2 or 3 src folders. Specifying src/java and src/test/java generated ... When I select project->properties->Java Build Path, all panes are empty. If I remove the entry where path="src\test\java", all is readable again. This may be a different problem, HTH, Al Digital Union UK [EMAIL PROTECTED] www.digitalunion.com t: +44 (0) 1483 889482 m:+44 (0) 7713 631367 f: +44 (0) 1483 889450 The information in this email and in any attachment(s) is confidential. If you are not the named addressee(s) or if you receive this email in error then any distribution, copying or use of this communication or the information in it is strictly prohibited. While attachments are virus checked, Digital Union UK Limited does not accept any liability in respect of any virus which is not detected. "Loren Siebert" <[EMAIL PROTECTED]> 26/05/2004 17:03 Please respond to "Maven Users List" <[EMAIL PROTECTED]> To "Maven Users List" <[EMAIL PROTECTED]> cc Subject Re: Maven eclipse plugin question re: source folder My project is already imported into eclipse using "maven eclipse", and it's working ok. As I do new development, I add dependencies to the project.xml file and need to update my classpath.xml file (for ant builds) and my .classpath file (for eclipse incremental builds). For the former, I run "maven javagen:classpath", which works fine. To update my .classpath, I run "maven eclipse:generate-classpath". This updates the .classpath file just fine, but it also seems to nuke some sort of meta information about my source folder that makes eclipse no longer see it as Java source code to be compiled incrementally. This seems like something everyone would have run into, so I wonder what I am doing differently. Any ideas? - Original Message - From: "Heritier Arnaud" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Wednesday, May 26, 2004 8:38 AM Subject: RE : Maven eclipse plugin question re: source folder Why do you call maven eclipse:generate-classpath ? Call directly "maven eclipse" It will generate the classpath, the project and the others files you need to import your project in Eclipse. Arnaud > -Message d'origine- > De : Loren Siebert [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 26 mai 2004 17:30 > À : [EMAIL PROTECTED] > Objet : Maven eclipse plugin question re: source folder > > > I'm trying out the maven eclipse plugin and am running into a > little problem. I'm using eclipse2.1.3 and 1.7 of the plugin. > > When I run 'maven eclipse:generate-classpath', eclipse loses > the notion of my source code folder being a "Source Folder" > and it also loses the concept of "Package" folders inside. > This makes Eclipse ignore these folders for purposes of > incremental compilation, as it no longer associates them with > Java code. > > I don't even see where eclipse stores this meta information > about the source folder, so I'm not even sure it's a > maven/eclipse plugin bug, but that maven goal is what makes > it happen. I looked through the list of outstanding bugs and > the list archive and didn't see anything related to what I'm seeing. > > Am I missing something obvious or should I file it as a bug? > > > > - > 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] This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. While attachments are virus checked, Digital Union UK Limited does not accept any liability in respect of any virus which is not detected. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE : plugin dependency
You can use a dependency for plugin like this : statcvs maven-statcvs-plugin 2.4 http://statcvs-xml.berlios.de/maven-plugin/ plugin Arnaud > -Message d'origine- > De : Glenn R. Golden [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 26 mai 2004 19:17 > À : Maven Users List > Objet : plugin dependency > > > I have a multiproject system, and one of the projects is a > custom maven > plugin. One other project uses this plugin in its goal. > > I have been running the plugin project by hand, then doing a > multiproject:goal for the rest. The reactor lists that > plugin project, > and places it last, since there are no stated dependencies on it. > > Is there a way to indicate in the project that uses the > plugin that it > is dependent on that plugin, so that the reactor will run it first? > > Thanks. > > - Glenn > > Glenn R. Golden > CHEF Architect - Sr. Systems Research Programmer > School of Information, Media Union - University of Michigan > [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]
plugin dependency
I have a multiproject system, and one of the projects is a custom maven plugin. One other project uses this plugin in its goal. I have been running the plugin project by hand, then doing a multiproject:goal for the rest. The reactor lists that plugin project, and places it last, since there are no stated dependencies on it. Is there a way to indicate in the project that uses the plugin that it is dependent on that plugin, so that the reactor will run it first? Thanks. - Glenn Glenn R. Golden CHEF Architect - Sr. Systems Research Programmer School of Information, Media Union - University of Michigan [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE : RES: Best practice for webapp development in WSAD/Eclipse
To use eclipse : http://mevenide.codehaus.org/ And the eclipse plugin : http://maven.apache.org/reference/plugins/eclipse/ To generate an ant file from a maven project there's the ant plugin : http://maven.apache.org/reference/plugins/ant/ You can reuse an ant file in a maven.xml one but it's better to try to use all the power of maven and to reduce your ant files by delegating your code into predefined plugins. Arnaud > -Message d'origine- > De : Al Robertson [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 26 mai 2004 18:42 > À : Maven Users List > Objet : Re: RES: Best practice for webapp development in WSAD/Eclipse > > > Celso, > There is an maven eclipse plugin - see > http://maven.apache.org/reference/plugins/eclipse/ > > As far as I know, there isn't an automated way of converting > maven scripts > to ant and vice versa. ant to maven is a manual process, but > pretty easy > as you can use all the ant tasks - but with more > power/flexibility using > jelly. > I don't know why you would want to convert maven to ant!!! > > If you read my original mail, you'll understand some issues I > have with > developing in J2EE applications in WSAD and integrating maven. > > Haven't had much feedback yet. Should I assume most maven > users use other > IDEs! I would have thought at least Eclipse would have been pretty > popular. > > Al. > > Digital Union UK > [EMAIL PROTECTED] > www.digitalunion.com > > t: +44 (0) 1483 889482 m:+44 (0) 7713 631367 f: +44 (0) 1483 889450 > > The information in this email and in any attachment(s) is > confidential. If > you are not the named addressee(s) or if you receive this > email in error > then any distribution, copying or use of this communication or the > information in it is strictly prohibited. > While attachments are virus checked, Digital Union UK Limited > does not > accept any liability in respect of any virus which is not detected. > > > > "Celso Junior" <[EMAIL PROTECTED]> > 26/05/2004 12:07 > Please respond to > "Maven Users List" <[EMAIL PROTECTED]> > > > To > "Maven Users List" <[EMAIL PROTECTED]> > cc > > Subject > RES: Best practice for webapp development in WSAD/Eclipse > > > > > > > Hi all, > > Do you know any eclipse/wsad plugin to use maven inside > eclipse/wsad? Is there any tool that convert build files from > maven to ant and vice > versa? > > Thanks, > Celso Junior > > > -Mensagem original- > De: Göschl,Siegfried [mailto:[EMAIL PROTECTED] > Enviada em: terça-feira, 25 de maio de 2004 14:18 > Para: Maven Users List > Assunto: RE: Best practice for webapp development in WSAD/Eclipse > > > Hi Al, > > Basically you are right - they only twist I can add using an > ANT wrapper > to > invoke Maven to setup the exploded web archive. And the ANT > Wrapper can be easily executed by the IDE > > Cheers, > > Siegfried Goeschl > > -Original Message- > From: Al Robertson [mailto:[EMAIL PROTECTED] > Sent: Dienstag, 25. Mai 2004 13:50 > To: Maven Users List > Subject: Best practice for webapp development in WSAD/Eclipse > > > All, > > I was after some feedback on how people structured their WEB > (war) applications when using WSAD/Eclipse and maven for development. > > My directory is structured as follows: > /WebProject > /src > /java > /test > /java > /WebContent > /WEB-INF > /classes > /lib > /target (maven generated) > > As with jar projects, I defined all dependencies in the pom > and these are reflected in the .classpath file A simple > example: > > > path="SERVERJDK_50_PLUGINDIR/jre/lib/rt.jar" > sourcepath="SERVERJDK_50_PLUGINDIR/src.jar"/> > path="MAVEN_REPO/j2ee/jars/j2ee-1.3.jar"/> > path="MAVEN_REPO/junit/jars/junit-3.8.1.jar"/> > path="MAVEN_REPO/log4j/jars/log4j-1.2.8.jar"/> > > > > This compiles fine. The classes are written to my > WebContent/WEB-INF/classes directory. BUT - If I run this > application using a WebSphere Test Environment (WTE) server, > it will fail because it can't find the log4j classes. The WTE > uses the WebContent directory as an exploded war. WTE expects > utility jars to be available to the WAS classloader, usually > from the WEB-INF/lib directory. If I put the jars in the lib > directory, I'm effectively maintaining the dependencies twice > (in the pom and in WEB-INF/lib). > > Of course, when building using maven, the exploded war is > created in /target, including dependency jars added to > /WEB-INF/lib. That all works fine, especially on a continuous > integration server. If I could get WSAD to use the > /target/webapp directory in the WTE, that would solve the > problem, but I can't. Therefore, using maven in a development > environment seems to require deploy the generated ear for > each test iteration. This loses much of the power of the WTE. > > So what do other people do? I've extended war:war
Re: RES: Best practice for webapp development in WSAD/Eclipse
Try running 'maven ant'. That will create a build.xml for your project. Al Robertson wrote: Celso, There is an maven eclipse plugin - see http://maven.apache.org/reference/plugins/eclipse/ As far as I know, there isn't an automated way of converting maven scripts to ant and vice versa. ant to maven is a manual process, but pretty easy as you can use all the ant tasks - but with more power/flexibility using jelly. I don't know why you would want to convert maven to ant!!! If you read my original mail, you'll understand some issues I have with developing in J2EE applications in WSAD and integrating maven. Haven't had much feedback yet. Should I assume most maven users use other IDEs! I would have thought at least Eclipse would have been pretty popular. Al. Digital Union UK [EMAIL PROTECTED] www.digitalunion.com t: +44 (0) 1483 889482 m:+44 (0) 7713 631367 f: +44 (0) 1483 889450 The information in this email and in any attachment(s) is confidential. If you are not the named addressee(s) or if you receive this email in error then any distribution, copying or use of this communication or the information in it is strictly prohibited. While attachments are virus checked, Digital Union UK Limited does not accept any liability in respect of any virus which is not detected. "Celso Junior" <[EMAIL PROTECTED]> 26/05/2004 12:07 Please respond to "Maven Users List" <[EMAIL PROTECTED]> To "Maven Users List" <[EMAIL PROTECTED]> cc Subject RES: Best practice for webapp development in WSAD/Eclipse Hi all, Do you know any eclipse/wsad plugin to use maven inside eclipse/wsad? Is there any tool that convert build files from maven to ant and vice versa? Thanks, Celso Junior -Mensagem original- De: Göschl,Siegfried [mailto:[EMAIL PROTECTED] Enviada em: terça-feira, 25 de maio de 2004 14:18 Para: Maven Users List Assunto: RE: Best practice for webapp development in WSAD/Eclipse Hi Al, Basically you are right - they only twist I can add using an ANT wrapper to invoke Maven to setup the exploded web archive. And the ANT Wrapper can be easily executed by the IDE Cheers, Siegfried Goeschl -Original Message- From: Al Robertson [mailto:[EMAIL PROTECTED] Sent: Dienstag, 25. Mai 2004 13:50 To: Maven Users List Subject: Best practice for webapp development in WSAD/Eclipse All, I was after some feedback on how people structured their WEB (war) applications when using WSAD/Eclipse and maven for development. My directory is structured as follows: /WebProject /src /java /test /java /WebContent /WEB-INF /classes /lib /target (maven generated) As with jar projects, I defined all dependencies in the pom and these are reflected in the .classpath file A simple example: This compiles fine. The classes are written to my WebContent/WEB-INF/classes directory. BUT - If I run this application using a WebSphere Test Environment (WTE) server, it will fail because it can't find the log4j classes. The WTE uses the WebContent directory as an exploded war. WTE expects utility jars to be available to the WAS classloader, usually from the WEB-INF/lib directory. If I put the jars in the lib directory, I'm effectively maintaining the dependencies twice (in the pom and in WEB-INF/lib). Of course, when building using maven, the exploded war is created in /target, including dependency jars added to /WEB-INF/lib. That all works fine, especially on a continuous integration server. If I could get WSAD to use the /target/webapp directory in the WTE, that would solve the problem, but I can't. Therefore, using maven in a development environment seems to require deploy the generated ear for each test iteration. This loses much of the power of the WTE. So what do other people do? I've extended war:war to add dependencies defined in the pom to the WebContent/WEB-INF/lib directory. But this requires maven war:war to be run before using WTE for the first time. That doesn't feel right. The whole thing doesn't seem to fit well for war projects (great for jars). I'm still experimenting but I thought I'd ask for help!!! I hope this makes sense :-) Al. Digital Union UK [EMAIL PROTECTED] www.digitalunion.com t: +44 (0) 1483 889482 m:+44 (0) 7713 631367 f: +44 (0) 1483 889450 The information in this email and in any attachment(s) is confidential. If you are not the named addressee(s) or if you receive this email in error then any distribution, copying or use of this communication or the information in it is strictly prohibited. While attachments are virus checked, Digital Union UK Limited does not accept any liability in respect of any virus which is not detected. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. While attachments are virus checked,
Re: RES: Best practice for webapp development in WSAD/Eclipse
Celso, There is an maven eclipse plugin - see http://maven.apache.org/reference/plugins/eclipse/ As far as I know, there isn't an automated way of converting maven scripts to ant and vice versa. ant to maven is a manual process, but pretty easy as you can use all the ant tasks - but with more power/flexibility using jelly. I don't know why you would want to convert maven to ant!!! If you read my original mail, you'll understand some issues I have with developing in J2EE applications in WSAD and integrating maven. Haven't had much feedback yet. Should I assume most maven users use other IDEs! I would have thought at least Eclipse would have been pretty popular. Al. Digital Union UK [EMAIL PROTECTED] www.digitalunion.com t: +44 (0) 1483 889482 m:+44 (0) 7713 631367 f: +44 (0) 1483 889450 The information in this email and in any attachment(s) is confidential. If you are not the named addressee(s) or if you receive this email in error then any distribution, copying or use of this communication or the information in it is strictly prohibited. While attachments are virus checked, Digital Union UK Limited does not accept any liability in respect of any virus which is not detected. "Celso Junior" <[EMAIL PROTECTED]> 26/05/2004 12:07 Please respond to "Maven Users List" <[EMAIL PROTECTED]> To "Maven Users List" <[EMAIL PROTECTED]> cc Subject RES: Best practice for webapp development in WSAD/Eclipse Hi all, Do you know any eclipse/wsad plugin to use maven inside eclipse/wsad? Is there any tool that convert build files from maven to ant and vice versa? Thanks, Celso Junior -Mensagem original- De: Göschl,Siegfried [mailto:[EMAIL PROTECTED] Enviada em: terça-feira, 25 de maio de 2004 14:18 Para: Maven Users List Assunto: RE: Best practice for webapp development in WSAD/Eclipse Hi Al, Basically you are right - they only twist I can add using an ANT wrapper to invoke Maven to setup the exploded web archive. And the ANT Wrapper can be easily executed by the IDE Cheers, Siegfried Goeschl -Original Message- From: Al Robertson [mailto:[EMAIL PROTECTED] Sent: Dienstag, 25. Mai 2004 13:50 To: Maven Users List Subject: Best practice for webapp development in WSAD/Eclipse All, I was after some feedback on how people structured their WEB (war) applications when using WSAD/Eclipse and maven for development. My directory is structured as follows: /WebProject /src /java /test /java /WebContent /WEB-INF /classes /lib /target (maven generated) As with jar projects, I defined all dependencies in the pom and these are reflected in the .classpath file A simple example: This compiles fine. The classes are written to my WebContent/WEB-INF/classes directory. BUT - If I run this application using a WebSphere Test Environment (WTE) server, it will fail because it can't find the log4j classes. The WTE uses the WebContent directory as an exploded war. WTE expects utility jars to be available to the WAS classloader, usually from the WEB-INF/lib directory. If I put the jars in the lib directory, I'm effectively maintaining the dependencies twice (in the pom and in WEB-INF/lib). Of course, when building using maven, the exploded war is created in /target, including dependency jars added to /WEB-INF/lib. That all works fine, especially on a continuous integration server. If I could get WSAD to use the /target/webapp directory in the WTE, that would solve the problem, but I can't. Therefore, using maven in a development environment seems to require deploy the generated ear for each test iteration. This loses much of the power of the WTE. So what do other people do? I've extended war:war to add dependencies defined in the pom to the WebContent/WEB-INF/lib directory. But this requires maven war:war to be run before using WTE for the first time. That doesn't feel right. The whole thing doesn't seem to fit well for war projects (great for jars). I'm still experimenting but I thought I'd ask for help!!! I hope this makes sense :-) Al. Digital Union UK [EMAIL PROTECTED] www.digitalunion.com t: +44 (0) 1483 889482 m:+44 (0) 7713 631367 f: +44 (0) 1483 889450 The information in this email and in any attachment(s) is confidential. If you are not the named addressee(s) or if you receive this email in error then any distribution, copying or use of this communication or the information in it is strictly prohibited. While attachments are virus checked, Digital Union UK Limited does not accept any liability in respect of any virus which is not detected. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. While attachments are virus checked, Digital Union UK Limited does not accept any liability in
Re: Maven eclipse plugin question re: source folder
I had a problem with the maven eclipse:generate-classpath as well. With me, it is due to having 2 or 3 src folders. Specifying src/java and src/test/java generated ... When I select project->properties->Java Build Path, all panes are empty. If I remove the entry where path="src\test\java", all is readable again. This may be a different problem, HTH, Al Digital Union UK [EMAIL PROTECTED] www.digitalunion.com t: +44 (0) 1483 889482 m:+44 (0) 7713 631367 f: +44 (0) 1483 889450 The information in this email and in any attachment(s) is confidential. If you are not the named addressee(s) or if you receive this email in error then any distribution, copying or use of this communication or the information in it is strictly prohibited. While attachments are virus checked, Digital Union UK Limited does not accept any liability in respect of any virus which is not detected. "Loren Siebert" <[EMAIL PROTECTED]> 26/05/2004 17:03 Please respond to "Maven Users List" <[EMAIL PROTECTED]> To "Maven Users List" <[EMAIL PROTECTED]> cc Subject Re: Maven eclipse plugin question re: source folder My project is already imported into eclipse using "maven eclipse", and it's working ok. As I do new development, I add dependencies to the project.xml file and need to update my classpath.xml file (for ant builds) and my .classpath file (for eclipse incremental builds). For the former, I run "maven javagen:classpath", which works fine. To update my .classpath, I run "maven eclipse:generate-classpath". This updates the .classpath file just fine, but it also seems to nuke some sort of meta information about my source folder that makes eclipse no longer see it as Java source code to be compiled incrementally. This seems like something everyone would have run into, so I wonder what I am doing differently. Any ideas? - Original Message - From: "Heritier Arnaud" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Wednesday, May 26, 2004 8:38 AM Subject: RE : Maven eclipse plugin question re: source folder Why do you call maven eclipse:generate-classpath ? Call directly "maven eclipse" It will generate the classpath, the project and the others files you need to import your project in Eclipse. Arnaud > -Message d'origine- > De : Loren Siebert [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 26 mai 2004 17:30 > À : [EMAIL PROTECTED] > Objet : Maven eclipse plugin question re: source folder > > > I'm trying out the maven eclipse plugin and am running into a > little problem. I'm using eclipse2.1.3 and 1.7 of the plugin. > > When I run 'maven eclipse:generate-classpath', eclipse loses > the notion of my source code folder being a "Source Folder" > and it also loses the concept of "Package" folders inside. > This makes Eclipse ignore these folders for purposes of > incremental compilation, as it no longer associates them with > Java code. > > I don't even see where eclipse stores this meta information > about the source folder, so I'm not even sure it's a > maven/eclipse plugin bug, but that maven goal is what makes > it happen. I looked through the list of outstanding bugs and > the list archive and didn't see anything related to what I'm seeing. > > Am I missing something obvious or should I file it as a bug? > > > > - > 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] This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. While attachments are virus checked, Digital Union UK Limited does not accept any liability in respect of any virus which is not detected.
Re: maven-changelog-plugin:report : org.netbeans.lib.cvsclient.connection.AuthenticationException: Wrong Password.
They should be the same. The location may vary. CVS and the NetBeans CVS lib may look for the password in different locations. On Wed, 26 May 2004 11:22:35 +0100, Pat Bateman <[EMAIL PROTECTED]> wrote: > > Thanks that has done the job. > > Can you explain what the difference is between using Maven and using cvs > login to generate a .cvspass entry for the CVSROOT. > > The .cvspass file looks the same. > > Thanks > > Pat > > > > -Original Message- > From: Heritier Arnaud [mailto:[EMAIL PROTECTED] > Sent: 26 May 2004 10:38 > To: Maven Users List > Subject: RE: maven-changelog-plugin:report : > org.netbeans.lib.cvsclient.connection.AuthenticationException: Wrong > Password. > > Your password must be stored in your .cvspass file > > http://maven.apache.org/reference/plugins/changelog/ > > Arnaud > > > -Message d'origine- > > De : Pat Bateman [mailto:[EMAIL PROTECTED] > > Envoyé : mercredi 26 mai 2004 09:46 > > À : 'Maven Users List' > > Objet : RE: maven-changelog-plugin:report : > > org.netbeans.lib.cvsclient.connection.AuthenticationException: Wrong > > Password. > > > > > > Only by running cvs login against my CVSROOT. > > > > Is that what you mean? > > > > -Original Message- > > From: Dion Gillard [mailto:[EMAIL PROTECTED] > > Sent: 26 May 2004 07:15 > > To: Maven Users List > > Subject: Re: maven-changelog-plugin:report : > > org.netbeans.lib.cvsclient.connection.AuthenticationException: Wrong > > Password. > > > > Did u generate a password for the cvs root mentioned? > > > > On Tue, 25 May 2004 15:44:33 +0100, Pat Bateman > > <[EMAIL PROTECTED]> wrote: > > > > > > I've found quite a few postings on the WEB for this > > problem, but am a bit > > > confused as to whether or not it is fix. > > > > > > I do not an anonymous CVS account, so must use password > > authentication. I > > > have already logged in and checked that the .cvsfile exists with the > > correct > > > CVSROOT details and scrambled password. But still get this problem. > > > > > > From some of the postings on the WEB it looks like I can > > put a password > > into > > > my Repository connection, but there is a bit of confusion > > on the format. > > > > > > Is the best way out of this to just allow anon access to CVS. > > > > > > I'm running RC3 on Linux. > > > > > > Thanks > > > > > > Pat > > > > > > maven-changelog-plugin:report: > > > > > > [echo] Generating the changelog report > > > > > > Didn't find password for CVSROOT ':pserver:[EMAIL PROTECTED]:/repos '. > > > > > > org.netbeans.lib.cvsclient.connection.AuthenticationException: Wrong > > > Password. > > > > > > ChangeLog found: 0 entries > > > > > > BUILD SUCCESSFUL > > > > > > Total time: 7 seconds > > > > > > Finished at: Tue May 25 15:13:44 BST 2004 > > > > > > > > > > - > > 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] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven eclipse plugin question re: source folder
My project is already imported into eclipse using "maven eclipse", and it's working ok. As I do new development, I add dependencies to the project.xml file and need to update my classpath.xml file (for ant builds) and my .classpath file (for eclipse incremental builds). For the former, I run "maven javagen:classpath", which works fine. To update my .classpath, I run "maven eclipse:generate-classpath". This updates the .classpath file just fine, but it also seems to nuke some sort of meta information about my source folder that makes eclipse no longer see it as Java source code to be compiled incrementally. This seems like something everyone would have run into, so I wonder what I am doing differently. Any ideas? - Original Message - From: "Heritier Arnaud" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Wednesday, May 26, 2004 8:38 AM Subject: RE : Maven eclipse plugin question re: source folder Why do you call maven eclipse:generate-classpath ? Call directly "maven eclipse" It will generate the classpath, the project and the others files you need to import your project in Eclipse. Arnaud > -Message d'origine- > De : Loren Siebert [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 26 mai 2004 17:30 > À : [EMAIL PROTECTED] > Objet : Maven eclipse plugin question re: source folder > > > I'm trying out the maven eclipse plugin and am running into a > little problem. I'm using eclipse2.1.3 and 1.7 of the plugin. > > When I run 'maven eclipse:generate-classpath', eclipse loses > the notion of my source code folder being a "Source Folder" > and it also loses the concept of "Package" folders inside. > This makes Eclipse ignore these folders for purposes of > incremental compilation, as it no longer associates them with > Java code. > > I don't even see where eclipse stores this meta information > about the source folder, so I'm not even sure it's a > maven/eclipse plugin bug, but that maven goal is what makes > it happen. I looked through the list of outstanding bugs and > the list archive and didn't see anything related to what I'm seeing. > > Am I missing something obvious or should I file it as a bug? > > > > - > 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: Maven eclipse plugin question: multiproject, Eclipse and classpath
Hello, The 2nd scenario is the way maven works, basically you can import every sub project in eclipse, the external dependancies are referred to the local repository while the inter project dependancy are transformed in eclipse into dependancy between different projects if you specify it in the project.xml Base Base-Log &ver-Base-Log; true Hope this helps Maxc -Original Message- From: Stefanutti, Mario [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 26, 2004 5:47 PM To: Maven Users List Subject: Maven eclipse plugin question: multiproject, Eclipse and classpath Hi, I am trying to use Eclipse and Maven together. I have a multiproject system and each sub-project has its own dependencies (external and inter-project). Using the reactor goal to create the Eclipse project files (.project and .classpath) each sub-project gets its own files. These Eclipse files are also present on the root level of the project. The question is: Do I have to create an Eclipse project for each Maven sub-project? Or can I just point to the root level .project file, creating just a single Eclipse project? In the second case Can Eclipse, recognize automatically that each sub-module has its own dependencies. I really hope I've been clear enough. Thanks, Mario This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. Su www.tim.it - 119 Self Service -, puoi parlare con un operatore o farti aiutare a navigare nel mondo TIM. - 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]
Maven eclipse plugin question: multiproject, Eclipse and classpath
Hi, I am trying to use Eclipse and Maven together. I have a multiproject system and each sub-project has its own dependencies (external and inter-project). Using the reactor goal to create the Eclipse project files (.project and .classpath) each sub-project gets its own files. These Eclipse files are also present on the root level of the project. The question is: Do I have to create an Eclipse project for each Maven sub-project? Or can I just point to the root level .project file, creating just a single Eclipse project? In the second case Can Eclipse, recognize automatically that each sub-module has its own dependencies. I really hope I've been clear enough. Thanks, Mario This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. Su www.tim.it - 119 Self Service -, puoi parlare con un operatore o farti aiutare a navigare nel mondo TIM. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE : Maven eclipse plugin question re: source folder
Why do you call maven eclipse:generate-classpath ? Call directly "maven eclipse" It will generate the classpath, the project and the others files you need to import your project in Eclipse. Arnaud > -Message d'origine- > De : Loren Siebert [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 26 mai 2004 17:30 > À : [EMAIL PROTECTED] > Objet : Maven eclipse plugin question re: source folder > > > I'm trying out the maven eclipse plugin and am running into a > little problem. I'm using eclipse2.1.3 and 1.7 of the plugin. > > When I run 'maven eclipse:generate-classpath', eclipse loses > the notion of my source code folder being a "Source Folder" > and it also loses the concept of "Package" folders inside. > This makes Eclipse ignore these folders for purposes of > incremental compilation, as it no longer associates them with > Java code. > > I don't even see where eclipse stores this meta information > about the source folder, so I'm not even sure it's a > maven/eclipse plugin bug, but that maven goal is what makes > it happen. I looked through the list of outstanding bugs and > the list archive and didn't see anything related to what I'm seeing. > > Am I missing something obvious or should I file it as a bug? > > > > - > 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]
Maven eclipse plugin question re: source folder
I'm trying out the maven eclipse plugin and am running into a little problem. I'm using eclipse2.1.3 and 1.7 of the plugin. When I run 'maven eclipse:generate-classpath', eclipse loses the notion of my source code folder being a "Source Folder" and it also loses the concept of "Package" folders inside. This makes Eclipse ignore these folders for purposes of incremental compilation, as it no longer associates them with Java code. I don't even see where eclipse stores this meta information about the source folder, so I'm not even sure it's a maven/eclipse plugin bug, but that maven goal is what makes it happen. I looked through the list of outstanding bugs and the list archive and didn't see anything related to what I'm seeing. Am I missing something obvious or should I file it as a bug? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RES: Best practice for webapp development in WSAD/Eclipse
Hi all, Do you know any eclipse/wsad plugin to use maven inside eclipse/wsad? Is there any tool that convert build files from maven to ant and vice versa? Thanks, Celso Junior -Mensagem original- De: Göschl,Siegfried [mailto:[EMAIL PROTECTED] Enviada em: terça-feira, 25 de maio de 2004 14:18 Para: Maven Users List Assunto: RE: Best practice for webapp development in WSAD/Eclipse Hi Al, Basically you are right - they only twist I can add using an ANT wrapper to invoke Maven to setup the exploded web archive. And the ANT Wrapper can be easily executed by the IDE Cheers, Siegfried Goeschl -Original Message- From: Al Robertson [mailto:[EMAIL PROTECTED] Sent: Dienstag, 25. Mai 2004 13:50 To: Maven Users List Subject: Best practice for webapp development in WSAD/Eclipse All, I was after some feedback on how people structured their WEB (war) applications when using WSAD/Eclipse and maven for development. My directory is structured as follows: /WebProject /src /java /test /java /WebContent /WEB-INF /classes /lib /target (maven generated) As with jar projects, I defined all dependencies in the pom and these are reflected in the .classpath file A simple example: This compiles fine. The classes are written to my WebContent/WEB-INF/classes directory. BUT - If I run this application using a WebSphere Test Environment (WTE) server, it will fail because it can't find the log4j classes. The WTE uses the WebContent directory as an exploded war. WTE expects utility jars to be available to the WAS classloader, usually from the WEB-INF/lib directory. If I put the jars in the lib directory, I'm effectively maintaining the dependencies twice (in the pom and in WEB-INF/lib). Of course, when building using maven, the exploded war is created in /target, including dependency jars added to /WEB-INF/lib. That all works fine, especially on a continuous integration server. If I could get WSAD to use the /target/webapp directory in the WTE, that would solve the problem, but I can't. Therefore, using maven in a development environment seems to require deploy the generated ear for each test iteration. This loses much of the power of the WTE. So what do other people do? I've extended war:war to add dependencies defined in the pom to the WebContent/WEB-INF/lib directory. But this requires maven war:war to be run before using WTE for the first time. That doesn't feel right. The whole thing doesn't seem to fit well for war projects (great for jars). I'm still experimenting but I thought I'd ask for help!!! I hope this makes sense :-) Al. Digital Union UK [EMAIL PROTECTED] www.digitalunion.com t: +44 (0) 1483 889482 m:+44 (0) 7713 631367 f: +44 (0) 1483 889450 The information in this email and in any attachment(s) is confidential. If you are not the named addressee(s) or if you receive this email in error then any distribution, copying or use of this communication or the information in it is strictly prohibited. While attachments are virus checked, Digital Union UK Limited does not accept any liability in respect of any virus which is not detected. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. While attachments are virus checked, Digital Union UK Limited does not accept any liability in respect of any virus which is not detected. - 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: RC3 Property Inheritance Problem
The properties are defined in only a single place. Would it help if I posted all of my properties files? If I put these properties in my root/project.properties, it all works, which is confusing to me. -wr Brett Porter <[EMAIL PROTECTED]> on 05/25/2004 05:18:00 PM Please respond to "Maven Users List" <[EMAIL PROTECTED]> To: "'Maven Users List'" <[EMAIL PROTECTED]> cc:(bcc: Winston Rast/Jeppesen/TMC) Subject: RE: RC3 Property Inheritance Problem Do any of the plugins you use (eg the xdoclet one) override the values? - Brett > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 26 May 2004 3:56 AM > To: Maven Users List > Subject: Re: RC3 Property Inheritance Problem > > > > > Just to follow up with some more info that I discovered... > > I created a root/maven.xml to echo the maven.compile.* > properties during the build. Somewhere along the way my > property values are being lost: > > build: > [echo] maven.compile.source=1.4 > [echo] maven.compile.target=1.4 > multiproject:install: > multiproject:projects-init: > [echo] Gathering project list > Starting the reactor... > > > > xdoclet:ejbdoclet: > > java:prepare-filesystem: > > java:compile: > [echo] maven.compile.source=1.3 > [echo] maven.compile.target=1.1 > > > So is the problem in the property inheritance, the java > plugin, or the multiproject plugin? Your help is greatly > appreciated. -wr > > > > - > 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]
RC3 problem with clover
After upgrading to RC3, we have a problem with the clover plugin. It complains in a lot of our projects that it can't get maven.test.compile.src.set. This is because we don't want to run any tests in that project, we are merely instrumenting the classes so that when they are run later (inside Jboss), the coverage information is created. Are there any easy fixes for this or do I have to hack it? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Passing context between plugins
Hi, I'm still very new to the technical workings of Maven, so please bear with me. I'm experimenting with building my own plugin, which invokes the genapp plugin. From my plugin's plugin.jelly file, I set a context variable that the genapp plugin should recognize. However, when I attempt to attain the genapp goal from my plugin (after setting the variable), the genapp plugin doesn't see the value I set. Here is my plugin.jelly file: I successfully installed my plugin, but when I run the following command: maven call-genapp the genapp plugin doesn't see the value I set for maven.genapp.template.dir when it executes my plugin's goal. It thinks the variable has no value. Is there something I need to do in order to pass the jelly context from my plugin to the genapp plugin? Am I doing something wrong? Thanks, Chuck - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Examples of Ejb and Maven
Hi, I was looking for a way to integrate an ejb sub-project to my build tree. The problem is that I did not found many examples and the few I found use the xdoclet goal to produces interfaces. Is this necessary? Is there a way to just produce an ejb starting from the source tree that contains the complete source code? IBXDT.java IBXDTBean.java IBXDTHome.java IBXDTLocal.java IBXDTLocalHome.java I am also confused about the position of the ejb directory respect to the source tree. The scenario is: I have a sub-project that realizes a Data Transformation Library (called ibxdt). It is only a jar file and I have no problems to produce it with maven. The problem comes when Maven tries to compile the ejb. It does not work, and I am pretty sure I have placed my code NOT with the right structure. . .. ejb maven.xml project.xml src D:. ejb ? src ? java ? ? tim ? ? infobus ? ? ibxdt ? ? ejb ? META-INF src java tim infobus ibxdt config controller transformers ? bin ? ? bin2xml ? ? converters ? ? utils ? ? xml2bin ? test ? xslt util xml Is there any example on the web that I can see to get information about simple ejb production? Do you suggest me to move to xdoclet? Thanks again for all the help you already gave me. Bye and "forza Maven" Ciao This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.Su www.tim.it - 119 Self Service -, puoi parlare con un operatore o farti aiutare a navigare nel mondo TIM.
RE: site:generate for many sub-projects...
Check multiproject:site in multiproject plugin > -Original Message- > From: Lance Hankins [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 26, 2004 2:06 AM > To: [EMAIL PROTECTED] > Subject: site:generate for many sub-projects... > > I'm trying to use Maven on a new J2EE project, and have based > my project structure of information provided in the following > article : > > http://www.theserverside.com/resources/article.jsp?l=MavenMagic > > For starters, I'm just building an EAR which contains a WAR, > an EJB-Jar and several utility Jars. I have it successfully > building and can deploy it in JBoss 3.2.3. > > My problem is when I try to do site:generate, it generates > all documentation for each of the sub-projects in their own > specific sub-directory area (in each sub-component's target/docs dir) > > What I want is to generate consolidated > documentation for the ear, which has all the docs for the > war, ejb-jar, utility jars, in one place. > > > Right now, I have the following goal defined in my top level > maven.xml file (this causes site:generate to be invoked in > each of my sub-projects) : > > > > includes="*/project.xml" > goals="site:generate" > banner="generating site..." > ignoreFailures="false"/> > > > > Any suggestions on how to do this...? > > Thanks in advance ;) > > -Lance > > > > > > > __ > Do you Yahoo!? > Friends. Fun. Try the all-new Yahoo! Messenger. > http://messenger.yahoo.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: maven-changelog-plugin:report : org.netbeans.lib.cvsclient.connection.AuthenticationException: Wrong Password.
Thanks that has done the job. Can you explain what the difference is between using Maven and using cvs login to generate a .cvspass entry for the CVSROOT. The .cvspass file looks the same. Thanks Pat -Original Message- From: Heritier Arnaud [mailto:[EMAIL PROTECTED] Sent: 26 May 2004 10:38 To: Maven Users List Subject: RE: maven-changelog-plugin:report : org.netbeans.lib.cvsclient.connection.AuthenticationException: Wrong Password. Your password must be stored in your .cvspass file http://maven.apache.org/reference/plugins/changelog/ Arnaud > -Message d'origine- > De : Pat Bateman [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 26 mai 2004 09:46 > À : 'Maven Users List' > Objet : RE: maven-changelog-plugin:report : > org.netbeans.lib.cvsclient.connection.AuthenticationException: Wrong > Password. > > > Only by running cvs login against my CVSROOT. > > Is that what you mean? > > -Original Message- > From: Dion Gillard [mailto:[EMAIL PROTECTED] > Sent: 26 May 2004 07:15 > To: Maven Users List > Subject: Re: maven-changelog-plugin:report : > org.netbeans.lib.cvsclient.connection.AuthenticationException: Wrong > Password. > > Did u generate a password for the cvs root mentioned? > > On Tue, 25 May 2004 15:44:33 +0100, Pat Bateman > <[EMAIL PROTECTED]> wrote: > > > > I've found quite a few postings on the WEB for this > problem, but am a bit > > confused as to whether or not it is fix. > > > > I do not an anonymous CVS account, so must use password > authentication. I > > have already logged in and checked that the .cvsfile exists with the > correct > > CVSROOT details and scrambled password. But still get this problem. > > > > From some of the postings on the WEB it looks like I can > put a password > into > > my Repository connection, but there is a bit of confusion > on the format. > > > > Is the best way out of this to just allow anon access to CVS. > > > > I'm running RC3 on Linux. > > > > Thanks > > > > Pat > > > > maven-changelog-plugin:report: > > > > [echo] Generating the changelog report > > > > Didn't find password for CVSROOT ':pserver:[EMAIL PROTECTED]:/repos '. > > > > org.netbeans.lib.cvsclient.connection.AuthenticationException: Wrong > > Password. > > > > ChangeLog found: 0 entries > > > > BUILD SUCCESSFUL > > > > Total time: 7 seconds > > > > Finished at: Tue May 25 15:13:44 BST 2004 > > > > > > - > 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: site:generate for many sub-projects...
You should just be able to use multiproject:site. It works for me. Andy For the latest data on the economy and society consult National Statistics at http://www.statistics.gov.uk ** Please Note: Incoming and outgoing email messages are routinely monitored for compliance with our policy on the use of electronic communications ** Legal Disclaimer : Any views expressed by the sender of this message are not necessarily those of the Office for National Statistics ** __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: site:generate for many sub-projects...
Use the mutliproject:site goal http://maven.apache.org/reference/plugins/multiproject/goals.html -Original Message- From: Lance Hankins [mailto:[EMAIL PROTECTED] Sent: 26 May 2004 01:06 To: [EMAIL PROTECTED] Subject: site:generate for many sub-projects... I'm trying to use Maven on a new J2EE project, and have based my project structure of information provided in the following article : http://www.theserverside.com/resources/article.jsp?l=MavenMagic For starters, I'm just building an EAR which contains a WAR, an EJB-Jar and several utility Jars. I have it successfully building and can deploy it in JBoss 3.2.3. My problem is when I try to do site:generate, it generates all documentation for each of the sub-projects in their own specific sub-directory area (in each sub-component's target/docs dir) What I want is to generate consolidated documentation for the ear, which has all the docs for the war, ejb-jar, utility jars, in one place. Right now, I have the following goal defined in my top level maven.xml file (this causes site:generate to be invoked in each of my sub-projects) : Any suggestions on how to do this...? Thanks in advance ;) -Lance __ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail and any files transmitted with it are confidential and may be privileged and are intended solely for the individual named/ for the use of the individual or entity to whom they are addressed.If you are not the intended addressee, you should not disseminate, distribute or copy this e-mail.Please notify the sender immediately if you have received this e-mail by mistake and delete this e-mail from your system.If you are not the intended recipient, you are notified that reviewing, disclosing, copying, distributing or taking any action in reliance on the contents of this e-mail is strictly prohibited.Please note that any views or opinions expressed in this e-mail are solely those of the author and do not necessarily represent those of Traventec Limited.E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, or arrive late or incomplete.Traventec Limited therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission.The recipient should check this e-mail and any attachments for the presence of viruses.This e-mail has been swept for computer viruses however Traventec Limited accepts no liability for any damage caused by any virus transmitted by this e-mail. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: site:generate for many sub-projects...
Use the multiproject:site goal. -Original Message- From: Lance Hankins [mailto:[EMAIL PROTECTED] Sent: 26 May 2004 01:06 To: [EMAIL PROTECTED] Subject: site:generate for many sub-projects... I'm trying to use Maven on a new J2EE project, and have based my project structure of information provided in the following article : http://www.theserverside.com/resources/article.jsp?l=MavenMagic For starters, I'm just building an EAR which contains a WAR, an EJB-Jar and several utility Jars. I have it successfully building and can deploy it in JBoss 3.2.3. My problem is when I try to do site:generate, it generates all documentation for each of the sub-projects in their own specific sub-directory area (in each sub-component's target/docs dir) What I want is to generate consolidated documentation for the ear, which has all the docs for the war, ejb-jar, utility jars, in one place. Right now, I have the following goal defined in my top level maven.xml file (this causes site:generate to be invoked in each of my sub-projects) : Any suggestions on how to do this...? Thanks in advance ;) -Lance __ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.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: maven-changelog-plugin:report : org.netbeans.lib.cvsclient.connection.AuthenticationException: Wrong Password.
Your password must be stored in your .cvspass file http://maven.apache.org/reference/plugins/changelog/ Arnaud > -Message d'origine- > De : Pat Bateman [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 26 mai 2004 09:46 > À : 'Maven Users List' > Objet : RE: maven-changelog-plugin:report : > org.netbeans.lib.cvsclient.connection.AuthenticationException: Wrong > Password. > > > Only by running cvs login against my CVSROOT. > > Is that what you mean? > > -Original Message- > From: Dion Gillard [mailto:[EMAIL PROTECTED] > Sent: 26 May 2004 07:15 > To: Maven Users List > Subject: Re: maven-changelog-plugin:report : > org.netbeans.lib.cvsclient.connection.AuthenticationException: Wrong > Password. > > Did u generate a password for the cvs root mentioned? > > On Tue, 25 May 2004 15:44:33 +0100, Pat Bateman > <[EMAIL PROTECTED]> wrote: > > > > I've found quite a few postings on the WEB for this > problem, but am a bit > > confused as to whether or not it is fix. > > > > I do not an anonymous CVS account, so must use password > authentication. I > > have already logged in and checked that the .cvsfile exists with the > correct > > CVSROOT details and scrambled password. But still get this problem. > > > > From some of the postings on the WEB it looks like I can > put a password > into > > my Repository connection, but there is a bit of confusion > on the format. > > > > Is the best way out of this to just allow anon access to CVS. > > > > I'm running RC3 on Linux. > > > > Thanks > > > > Pat > > > > maven-changelog-plugin:report: > > > > [echo] Generating the changelog report > > > > Didn't find password for CVSROOT ':pserver:[EMAIL PROTECTED]:/repos '. > > > > org.netbeans.lib.cvsclient.connection.AuthenticationException: Wrong > > Password. > > > > ChangeLog found: 0 entries > > > > BUILD SUCCESSFUL > > > > Total time: 7 seconds > > > > Finished at: Tue May 25 15:13:44 BST 2004 > > > > > > - > 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]
site:generate for many sub-projects...
I'm trying to use Maven on a new J2EE project, and have based my project structure of information provided in the following article : http://www.theserverside.com/resources/article.jsp?l=MavenMagic For starters, I'm just building an EAR which contains a WAR, an EJB-Jar and several utility Jars. I have it successfully building and can deploy it in JBoss 3.2.3. My problem is when I try to do site:generate, it generates all documentation for each of the sub-projects in their own specific sub-directory area (in each sub-component's target/docs dir) What I want is to generate consolidated documentation for the ear, which has all the docs for the war, ejb-jar, utility jars, in one place. Right now, I have the following goal defined in my top level maven.xml file (this causes site:generate to be invoked in each of my sub-projects) : Any suggestions on how to do this...? Thanks in advance ;) -Lance __ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: running tests in a particular order
Hi Warner, This sounds like a Junit TestSetup to initialize your environment before you execute your tests. Cheers, Siegfried Goeschl -Original Message- From: Warner Onstine [mailto:[EMAIL PROTECTED] Sent: Dienstag, 25. Mai 2004 22:48 To: Maven Users List Subject: running tests in a particular order Is there a way in Maven to override the test:test goal and specify my own tests, resources and goals inside? Basically what I need to do is to tell Maven that I want to clean a database and setup specific data prior to 3 different types of tests. -warner - 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: faq plugin
Hi Julien, Some good ideas. Do you think you could open JIRA issues for them? Thanks -Vincent > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 26 May 2004 09:34 > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: faq plugin > > ô maveners > > two things about the faq plugin > > * a question : using IE 5.5 (and not opera or firefox) when enclosing the > answer's body in a , the text is larger than the same text using no > (and acually larger than the question text !), is it normal ? > > * a proposition : in the faq body (so not in the header) the questions are > displayed in plain text, they are only less indented thatn the answer > text. > When the answer body are more that a few lines long it's pretty hard to > distinguish the questions from the answers, would it be possible to > display > the questions bolder or larger than the questions ? > > Thanks for your attention > > Julien > > > > > > This message and any attachments (the "message") is > intended solely for the addressees and is confidential. > If you receive this message in error, please delete it and > immediately notify the sender. Any use not in accord with > its purpose, any dissemination or disclosure, either whole > or partial, is prohibited except formal approval. The internet > can not guarantee the integrity of this message. > BNP PARIBAS (and its subsidiaries) shall (will) not > therefore be liable for the message if modified. > > - > > Ce message et toutes les pieces jointes (ci-apres le > "message") sont etablis a l'intention exclusive de ses > destinataires et sont confidentiels. Si vous recevez ce > message par erreur, merci de le detruire et d'en avertir > immediatement l'expediteur. Toute utilisation de ce > message non conforme a sa destination, toute diffusion > ou toute publication, totale ou partielle, est interdite, sauf > autorisation expresse. L'internet ne permettant pas > d'assurer l'integrite de ce message, BNP PARIBAS (et ses > filiales) decline(nt) toute responsabilite au titre de ce > message, dans l'hypothese ou il aurait ete modifie. > > > - > 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-changelog-plugin:report : org.netbeans.lib.cvsclient.connection.AuthenticationException: Wrong Password.
Only by running cvs login against my CVSROOT. Is that what you mean? -Original Message- From: Dion Gillard [mailto:[EMAIL PROTECTED] Sent: 26 May 2004 07:15 To: Maven Users List Subject: Re: maven-changelog-plugin:report : org.netbeans.lib.cvsclient.connection.AuthenticationException: Wrong Password. Did u generate a password for the cvs root mentioned? On Tue, 25 May 2004 15:44:33 +0100, Pat Bateman <[EMAIL PROTECTED]> wrote: > > I've found quite a few postings on the WEB for this problem, but am a bit > confused as to whether or not it is fix. > > I do not an anonymous CVS account, so must use password authentication. I > have already logged in and checked that the .cvsfile exists with the correct > CVSROOT details and scrambled password. But still get this problem. > > From some of the postings on the WEB it looks like I can put a password into > my Repository connection, but there is a bit of confusion on the format. > > Is the best way out of this to just allow anon access to CVS. > > I'm running RC3 on Linux. > > Thanks > > Pat > > maven-changelog-plugin:report: > > [echo] Generating the changelog report > > Didn't find password for CVSROOT ':pserver:[EMAIL PROTECTED]:/repos '. > > org.netbeans.lib.cvsclient.connection.AuthenticationException: Wrong > Password. > > ChangeLog found: 0 entries > > BUILD SUCCESSFUL > > Total time: 7 seconds > > Finished at: Tue May 25 15:13:44 BST 2004 > > - 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]
faq plugin
ô maveners two things about the faq plugin * a question : using IE 5.5 (and not opera or firefox) when enclosing the answer's body in a , the text is larger than the same text using no (and acually larger than the question text !), is it normal ? * a proposition : in the faq body (so not in the header) the questions are displayed in plain text, they are only less indented thatn the answer text. When the answer body are more that a few lines long it's pretty hard to distinguish the questions from the answers, would it be possible to display the questions bolder or larger than the questions ? Thanks for your attention Julien This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. - Ce message et toutes les pieces jointes (ci-apres le "message") sont etablis a l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'expediteur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer l'integrite de ce message, BNP PARIBAS (et ses filiales) decline(nt) toute responsabilite au titre de ce message, dans l'hypothese ou il aurait ete modifie. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
jaxb plugin
Hello! Does anybody have tried to use Jaxb plugin? When I call the jabx:generate goal I get "grammar is not specified" error. But I know my schemas is ok. Please help me to resolve it. Thanks!