Project/mailingList
Title: Project/mailingList Maven Documentaion says: mailingList --- name The name of the mailing list. subscribe The email address or link that can be used to subscribe to the mailing list. If this is an email address, a mailto: link will automatically be created when the documentation is created. unsubscribe The email address or link that can be used to unsubscribe to the mailing list. If this is an email address, a mailto: link will automatically be created when the documentation is created. archive The link to a URL that can browse the archive. But I am getting all as mailto, regardless of a link or not! Any help? Any solution? I am using v. 1.0-rc1-SNAPSHOT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Creating Project XML that generates several artifacts?
Hi, I have a project that generates 14 artifacts that includes: JAR EJB-JAR WAR EAR Also, some of the classes are generated at compile time. For example, the EJB related files as well as the JAVACC specific files. Thus, I was wondering, what's the best way to structure directories and define the project.xml file(s). At this time, I have added all the dependencies to the project.xml file but it seems that I need to top-level project.xml file that call the subprojects to generate the artifacts. At this time, I have an ANT build script for the project and it works just fine. However, I'm wanting to switch over to Maven. Thanks in advance, -Conrad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: aspectj plugin finds new compile errors but won't say where
An update for posterity ... I found the problematic code (by repeatedly adding and removing classes / methods and trying again). The error happens in two places where I was using an anonymous inner class. In both cases the inner class called a super() that threw an exception. Note however that the exception was declared in the throws clause of the method where the inner class was constructed (and recall that several other compilers approved of this code). The error did not disappear when I wrapped the inner-class-constructing code in a try/catch block. It did disappear when I removed the exception from the throws clause of the parent's constructor. It also disappeared when I used an equivalent static inner class in place of the anonymous inner class, while retaining the exception in super(). Bryan -Original Message- From: Tripp, Bryan Sent: December 30, 2003 12:57 PM To: '[EMAIL PROTECTED]' Subject: aspectj plugin finds new compile errors but won't say where Hi, The maven aspectj plugin is complaining of compilation errors in my code, that aren't found by javac, or the default Java build in Eclipse, or the AspectJ build in Eclipse. No line numbers (or even class names) are reported, so I don't know how to go about fixing them. One explanation could be that I'm accidentally pointing to some old, erroneous code, but I couldn't find any orphan copies of .java or .class files anywhere in my project. Does this make any sense? Are the locations of these errors written anywhere? Thanks, Bryan VERSIONS Maven: 1.0-rc1 Eclipse AspectJ plugin: 0.6.4 AspectJ compiler 1.1.1 Maven AspectJ plugin: 1.1 RESULTS __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT Attempting to download maven-SNAPSHOT.jar. Overriding previous definition of reference to clover.classpath java:prepare-filesystem: [mkdir] Created dir: C:\eclipse\workspace\C-PRO\maven\target\classes java:compile: [echo] Compiling to C:\eclipse\workspace\C-PRO\maven/target/classes [javac] Compiling 141 source files to C:\eclipse\workspace\C-PRO\maven\targe t\classes clean:clean: [delete] Deleting directory C:\eclipse\workspace\C-PRO\maven\target clean: aspectj:compile: [ajc] Compiling 144 source and 0 arg files to C:\eclipse\workspace\C-PRO\mav en\target\classes unreported exception ca.uhn.pro.service.ProServiceException; must be caught or d eclared to be thrown unreported exception ca.uhn.pro.service.ProServiceException; must be caught or d eclared to be thrown 2 errors BUILD FAILED File.. file:/C:/Documents and Settings/bryan/.maven/plugins/maven-aspectj-pl ugin-1.1/ Element... ant:ajc Line.. 45 Column 41 Compilation error: -1 Total time: 31 seconds Finished at: Tue Dec 30 12:02:59 EST 2003 This e-mail may contain confidential and/or privileged information for the sole use of the intended recipient. Any review or distribution by anyone other than the person for whom it was originally intended is strictly prohibited. If you have received this e-mail in error, please contact the sender and delete all copies. Opinions, conclusions or other information contained in this e-mail may not be that of the organization. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Creating Project XML that generates several artifacts?
Conrad, The short answer is to use the multi project plug-in. http://maven.apache.org/reference/plugins/multiproject/ Notes: o Be sure to set the property maven.multiproject.type in each projects project.properties o The multiproject project should be it's own project o Review the multiproject properties used by the multiproject project. http://maven.apache.org/reference/plugins/multiproject/properties.html Paul Spencer [EMAIL PROTECTED] wrote: Hi, I have a project that generates 14 artifacts that includes: JAR EJB-JAR WAR EAR Also, some of the classes are generated at compile time. For example, the EJB related files as well as the JAVACC specific files. Thus, I was wondering, what's the best way to structure directories and define the project.xml file(s). At this time, I have added all the dependencies to the project.xml file but it seems that I need to top-level project.xml file that call the subprojects to generate the artifacts. At this time, I have an ANT build script for the project and it works just fine. However, I'm wanting to switch over to Maven. Thanks in advance, -Conrad - 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: ftp deployment
I had this problem with Ant a while back. Do you have NetComponents.jar in your classpath? On Tue, 30 Dec 2003, at 17:02:31 [GMT -0800] Rajeev Kaul wrote: I am having trouble running the site:ftpdeploy goal for my project. I get the following error: 2003-12-30 15:38:40,985 WARN org.apache.commons.jelly.tags.ant.AntTag - Could not convert tag: ftp into an Ant task, data type or property I get the same error, if I use the ant optional task - ftp in a goal defined in maven.xml file. Any ideas? Rajeev Kaul Customer Care, Inc. 925 277 0696 -- mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Help please.
Hello, Anyone know how one can control the left-hand-side navigation bar's width of the site generated files? Also, anyone have any problems with the checkstyle-report.html file? It doesn't get generated for my setup, and I have not been able to find out where anything gets set for that portion. Lastly, does anyone know how I can configure maven with following source-code's directory structure? The source directory is: . |-- project.properties |-- project.xml |-- project |`-- src ||`-- com | |`-- sra | |`-- app | |`-- App.java | |`-- unit_test |`-- src |`-- com |`-- sra |`-- app |-- AppTest.java I apologize if my questions are too basic, but I have been having a lot of difficulty with this. Best wishes, -AM
Jdiff plugin
Has the jdiff plugin been released yet? There seems to be no download on the relevant plugin webpage. Stephen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ftp deployment
You are right. After, I modified the maven.bat file to make sure the NetComponents.jar is included in the classpath (I had assumed that if I placed the jar file in the maven_home/lib dir, it would automatically be included in the classpath) it started working. However, I am still confused as to why it did not work when I added as a dependency in the site plugin. regards, Rajeev - Original Message - From: Jefferson K. French [EMAIL PROTECTED] To: Maven Users List [EMAIL PROTECTED] Sent: Wednesday, December 31, 2003 8:33 AM Subject: Re: ftp deployment I had this problem with Ant a while back. Do you have NetComponents.jar in your classpath? On Tue, 30 Dec 2003, at 17:02:31 [GMT -0800] Rajeev Kaul wrote: I am having trouble running the site:ftpdeploy goal for my project. I get the following error: 2003-12-30 15:38:40,985 WARN org.apache.commons.jelly.tags.ant.AntTag - Could not convert tag: ftp into an Ant task, data type or property I get the same error, if I use the ant optional task - ftp in a goal defined in maven.xml file. Any ideas? Rajeev Kaul Customer Care, Inc. 925 277 0696 -- mailto:[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]
JavaCC and JBoss Plugins
Hi, is there a JavaCC plugin for Maven? Also, where can I locate the documentation for the JBoss Plugin? Thanks in advance, -Conrad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Creating Project XML that generates several artifacts?
Hi Paul, does one have to install the multiproject plugin? Thanks, -Conrad Conrad, The short answer is to use the multi project plug-in. http://maven.apache.org/reference/plugins/multiproject/ Notes: o Be sure to set the property maven.multiproject.type in each projects project.properties o The multiproject project should be it's own project o Review the multiproject properties used by the multiproject project. http://maven.apache.org/reference/plugins/multiproject/properties.html Paul Spencer [EMAIL PROTECTED] wrote: Hi, I have a project that generates 14 artifacts that includes: JAR EJB-JAR WAR EAR Also, some of the classes are generated at compile time. For example, the EJB related files as well as the JAVACC specific files. Thus, I was wondering, what's the best way to structure directories and define the project.xml file(s). At this time, I have added all the dependencies to the project.xml file but it seems that I need to top-level project.xml file that call the subprojects to generate the artifacts. At this time, I have an ANT build script for the project and it works just fine. However, I'm wanting to switch over to Maven. Thanks in advance, -Conrad - 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]
Simple Cactus Question (I Hope)
Folks-- After running cactus:test, and assuming I get some failures, I can run cactus:report to produce the cactus-report.xml. So far so good. How do I then turn that report into html so I can view the results in a browser rather than, say, scrolling back through my console past lots of ugly stack traces? I know I can run site:generate, but that's an awful lot of processing just to get at that one report. I can't find anything about the site or cactus plugin pages. Might there be a plugin somewhere I can invoke to do the job? Or should I write a goal in maven.xml and use the ant stuff to do this? Thanks! Keith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Help please.
On Wed, 2003-12-31 at 08:34, Mostashfi, Ali wrote: Hello, Hi! Anyone know how one can control the left-hand-side navigation bar's width of the site generated files? I'm not sure. There's a way to work with stylesheets. You might check the site plugin documentation page. I haven't gotten to this type of thing myself yet. Also: http://maven.apache.org/reference/user-guide.html#Stylesheets Also, anyone have any problems with the checkstyle-report.html file? It doesn't get generated for my setup, and I have not been able to find out where anything gets set for that portion. I've got the same problem. I just removed it from my list of reports because I don't really need it. Lastly, does anyone know how I can configure maven with following source-code's directory structure? Okay, this I might be able to answer, though it's a guess: The source directory is: . |-- project.properties |-- project.xml |-- project |`-- src ||`-- com | |`-- sra | |`-- app | |`-- App.java | |`-- unit_test |`-- src |`-- com |`-- sra |`-- app |-- AppTest.java In your project.xml file, you'll need something like: sourceDirectory project/src /sourceDirectory unitTestSourceDirectory project/unit_test/src /unitTestSourceDirectory The problem is that the unit test directory falls under the src directory, so I think you'll have to set some includes and excludes in the unitTest element of the project.xml. I'm not sure how to fix the sourceDirectory as I don't see any properties for dealing with that. Is it impossible to re-arrange your source code? There's also the resources element, but I've not seen any explanation anywhere about what that does or what that means. Finally, if all else fails, maybe including something in maven.xml will work, though I have to admit, if you have to do a lot in there, you might as well use ant, eh? :) Your best bet is to re-arrange the source code and be done with it. ;) Good luck! Keith I apologize if my questions are too basic, but I have been having a lot of difficulty with this. Best wishes, -AM - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JavaCC and JBoss Plugins
Plugin documentation is here: http://maven.apache.org/reference/plugins/index.html. There is a plugin for JBoss. I've heard there is one for JavaCC, but I didn't see it listed on the documentation page. On Wed, 31 Dec 2003, at 18:42:59 [GMT GMT] [EMAIL PROTECTED] wrote: Hi, is there a JavaCC plugin for Maven? Also, where can I locate the documentation for the JBoss Plugin? Thanks in advance, -Conrad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Creating Project XML that generates several artifacts?
Just go ahead and use it. If it's not already in your plugins directory, Maven will download it for you. On Wed, 31 Dec 2003, at 18:44:22 [GMT GMT] [EMAIL PROTECTED] wrote: Hi Paul, does one have to install the multiproject plugin? Thanks, -Conrad Conrad, The short answer is to use the multi project plug-in. http://maven.apache.org/reference/plugins/multiproject/ Notes: o Be sure to set the property maven.multiproject.type in each projects project.properties o The multiproject project should be it's own project o Review the multiproject properties used by the multiproject project. http://maven.apache.org/reference/plugins/multiproject/properties.html Paul Spencer [EMAIL PROTECTED] wrote: Hi, I have a project that generates 14 artifacts that includes: JAR EJB-JAR WAR EAR Also, some of the classes are generated at compile time. For example, the EJB related files as well as the JAVACC specific files. Thus, I was wondering, what's the best way to structure directories and define the project.xml file(s). At this time, I have added all the dependencies to the project.xml file but it seems that I need to top-level project.xml file that call the subprojects to generate the artifacts. At this time, I have an ANT build script for the project and it works just fine. However, I'm wanting to switch over to Maven. Thanks in advance, -Conrad - 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] -- mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: hibernate:export-schema and ClassNotFoundException [SOLUTION]
Nevermind: http://www.hibernate.org/134.html -Original Message- From: Marc Dugger [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 31, 2003 3:07 PM To: [EMAIL PROTECTED] Subject: hibernate:export-schema and ClassNotFoundException I'm trying to generate a schema for Hibernate, but my compiled classes are not being found in by the thread's classloader: Root cause net.sf.hibernate.MappingException: net.sf.hibernate.MappingException: persistent class [com.socotech.realtybaron.or.BusinessEntityImpl] not found at net.sf.hibernate.cfg.Configuration.addFile(Configuration.java:175) at org.apache.maven.hibernate.beans.SchemaExportBean.getConfiguration (SchemaExp ortBean.java:340) at org.apache.maven.hibernate.beans.SchemaExportBean.execute(SchemaEx portBean.j ava:267) at org.apache.maven.hibernate.jelly.SchemaExportTag.execute(SchemaExp ortTag.jav a:83) at org.apache.maven.hibernate.jelly.SchemaExportTag.doTag(SchemaExpor tTag.java: 98) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:448) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348) at org.apache.maven.cli.App.doMain(App.java:543) at org.apache.maven.cli.App.main(App.java:1109) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm pl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc cessorImpl .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) Has anyone experienced a similar problem? Thanks. - 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]
Error Downloading ejb-2.0.jar
Hi, I have updated my project.xml and project.properties with the xdoclet stuff as indicated in the Maven Docs. Now, I'm getting the following message when I run 'maven java:compile': $ maven java:compile __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT Attempting to download ejb-2.0.jar. WARNING: Failed to download ejb-2.0.jar. The build cannot continue because of the following unsatisfied dependency: ejb-2.0.jar (no download url specified) Total time: 4 seconds Finished at: Wed Dec 31 13:41:30 PST 2003 At this time, all the ejb, jar, and war related code is under '${base.dir}/src/java'. I simply want to compile everything and worry about breaking this stuff into multiple projects in the future. Thanks in advance, -Conrad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Calling JavaCC Ant Task from Maven
Hi, how does one call JavaCC Ant Task from Maven project.xml/project.properties? Thanks, -Conrad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Error Downloading ejb-2.0.jar
I think that the jars provided by Sun are being removed from ibiblio.org due to licensing issues. I'm using ejb, servletapi, and jaxrpc, and I've noticed my project gradually breaking, jar by jar, over the past few months. In order to use these jars, you need to manually grab them (probably from java.sun.com) and put them in your local repo. Another option is to check them into your source control system and use Maven's jar override feature to specify the location. This is how I'm doing it. [EMAIL PROTECTED] wrote: Hi, I have updated my project.xml and project.properties with the xdoclet stuff as indicated in the Maven Docs. Now, I'm getting the following message when I run 'maven java:compile': $ maven java:compile __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT Attempting to download ejb-2.0.jar. WARNING: Failed to download ejb-2.0.jar. The build cannot continue because of the following unsatisfied dependency: ejb-2.0.jar (no download url specified) Total time: 4 seconds Finished at: Wed Dec 31 13:41:30 PST 2003 At this time, all the ejb, jar, and war related code is under '${base.dir}/src/java'. I simply want to compile everything and worry about breaking this stuff into multiple projects in the future. Thanks in advance, -Conrad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
multi-project sequence
How do you control the order in which sub-projects are called? I have components that must be build in a particualr order or one or more will fail because it requires one of the other components to be built prior. Thanks, \ / Ron Hahne (* *) Cube C3C024 ooO( )Ooo Brooker Creek (813) 366-4052 Cell Phone (727) 638-0690 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: multi-project sequence
On Wed, 2003-12-31 at 21:32, Hahne, Ronald wrote: How do you control the order in which sub-projects are called? You add your projects and the reactor, which is used by the multiproject plugin, creates a directed graph which is used to resolve your build order when one project depends on another. I have components that must be build in a particualr order or one or more will fail because it requires one of the other components to be built prior. Thanks, \ / Ron Hahne (* *) Cube C3C024 ooO( )Ooo Brooker Creek (813) 366-4052 Cell Phone (727) 638-0690 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- jvz. Jason van Zyl [EMAIL PROTECTED] http://tambora.zenplex.org In short, man creates for himself a new religion of a rational and technical order to justify his work and to be justified in it. -- Jacques Ellul, The Technological Society - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]