RE: Maven Petstore
GOKULAM Jayaram wrote on Wednesday, March 02, 2005 8:23 AM: > Thanks for the support Arnaud. But still it did not work. > Though it downloaded the commons-codec jar file it again got > into my earlier problem, as stated below. > > Compiling shows error again. Should I set some classpath or > path from the command prompt?Please guide me on this. Thanks > in advance, Jayaram [snip] > [javac] Compiling 282 source files to C:\Maven > 1.0.2\bin\target\classes\classes C:\Maven > 1.0.2\bin\target\classes\checkouts\petstore\src\waf\src\contro > ller\com\sun\j2ee\bluepr > ints\waf\controller\web\flow\handlers\ClientStateFlowHandler.j > ava:47: package org.apache.common s.codec.base64 does not > exist import org.apache.commons.codec.base64.Base64; [snip] Gosh, how difficult is it to look into a jar? Base64 is in package org.apache.commons.codec.binary. So you have to figure out, which version of this jar you'll need, it seems quite ancient. If a common-codec.jar is also delivered with the petshop, you may have a look into the manifest of it or use the maven.jar.override to use this specific one directly. - Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven Petstore
Thanks for the support Arnaud. But still it did not work. Though it downloaded the commons-codec jar file it again got into my earlier problem, as stated below. Compiling shows error again. Should I set some classpath or path from the command prompt?Please guide me on this. Thanks in advance, Jayaram This is the console output: Attempting to download commons-codec-1.3.jar. 45K downloaded build:start: java:prepare-filesystem: java:compile: [echo] Compiling to C:\Maven 1.0.2\bin/target/classes/classes [echo] == NOTE: Targetting JVM 1.4, classes will not run on earlier JVMs == [javac] Compiling 282 source files to C:\Maven 1.0.2\bin\target\classes\classes C:\Maven 1.0.2\bin\target\classes\checkouts\petstore\src\waf\src\controller\com\sun\j2ee\bluepr ints\waf\controller\web\flow\handlers\ClientStateFlowHandler.java:47: package org.apache.common s.codec.base64 does not exist import org.apache.commons.codec.base64.Base64; ^ C:\Maven 1.0.2\bin\target\classes\checkouts\petstore\src\waf\src\view\taglibs\com\sun\j2ee\blue prints\taglibs\smart\ClientStateTag.java:52: package org.apache.commons.codec.base64 does not e xist import org.apache.commons.codec.base64.Base64; ^ C:\Maven 1.0.2\bin\target\classes\checkouts\petstore\src\waf\src\controller\com\sun\j2ee\bluepr ints\waf\controller\web\flow\handlers\ClientStateFlowHandler.java:83: cannot resolve symbol symbol : variable Base64 location: class com.sun.j2ee.blueprints.waf.controller.web.flow.handlers.ClientStateFlowHandler byte[] bytes = Base64.decode(valueString.getBytes()); ^ C:\Maven 1.0.2\bin\target\classes\checkouts\petstore\src\waf\src\view\taglibs\com\sun\j2ee\blue prints\taglibs\smart\ClientStateTag.java:203: cannot resolve symbol symbol : variable Base64 location: class com.sun.j2ee.blueprints.waf.view.taglibs.smart.ClientStateTag new String(Base64.encode(bos.toByteArray()), "ISO-8859-1 ") + "\" />"); ^ Note: Some input files use or override a deprecated API. Note: Recompile with -deprecation for details. 4 errors BUILD FAILED File.. C:\Documents and Settings\JGokulam\.maven\cache\maven-java-plugin-1.5\plugin.jelly Element... ant:javac Line.. 63 Column 48 Compile failed; see the compiler error output for details. Total time: 9 seconds Finished at: Wed Mar 02 12:48:46 IST 2005 -Original Message- From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 02, 2005 11:43 AM To: 'Maven Users List' Subject: RE: Maven Petstore You must add this in your POM : commons-codec commons-codec 1.3 You do not need to modify your repository and manually download commons-codec. The jar will be downloaded from : http://www.ibiblio.org/maven/commons-codec/jars/ Arnaud > -Message d'origine- > De : GOKULAM Jayaram [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 2 mars 2005 05:30 > À : Maven Users List; [EMAIL PROTECTED] > Objet : RE: Maven Petstore > > Hi Siegfried, > Thanks for your guidance. Can u please let me know how > exactly I should and what URL I should use in my project.xml > I downloaded the commens-codec.zip file and placed it in my > local hard disk, now I want maven to look for this file under > my local hard disk. > > In my project.xml I added the following lines > > commons-codec > commons-codec > > And in build.properties file, I added the following line > > maven.repo.remote=\ ${user.home}/.maven/repository, > http://www.ibiblio.org/maven > > > But still it does not work, am getting the following error > > Attempting to download commons-codec-.jar. > Error retrieving artifact from [C:\Documents and > Settings\JGokulam/.maven/repository/commons-co > dec/jars/commons-codec-.jar]: java.net.MalformedURLException: unknown > protocol: c > Error retrieving artifact from [ > /commons-codec/jars/commons-codec-.jar]: java.net.MalformedURL > Exception: no protocol: /commons-codec/jars/commons-codec-.jar > WARNING: Failed to download commons-codec-.jar. > The build cannot continue because of the following unsatisfied > dependency: > > commons-codec-.jar > > Total time: 3 seconds > Finished at: Wed Mar 02 09:49:01 IST 2005 > > Please guide me how I should come out of this error. > > Thanks in advance, > Jayaram > > -Original Message- > From: Siegfried Goeschl [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 01, 2005 7:48 PM > To: Maven Users List > Subject: Re: Maven Petstore > > It seems that commons-codec is not defined in your project.xml > > Siegfried Goeschl > > GOKULAM Jayaram wrote: > > >Hi am trying to compile petstore example application provided by sun. >
RE: Maven Petstore
You must add this in your POM : commons-codec commons-codec 1.3 You do not need to modify your repository and manually download commons-codec. The jar will be downloaded from : http://www.ibiblio.org/maven/commons-codec/jars/ Arnaud > -Message d'origine- > De : GOKULAM Jayaram [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 2 mars 2005 05:30 > À : Maven Users List; [EMAIL PROTECTED] > Objet : RE: Maven Petstore > > Hi Siegfried, > Thanks for your guidance. Can u please let me know how > exactly I should and what URL I should use in my project.xml > I downloaded the commens-codec.zip file and placed it in my > local hard disk, now I want maven to look for this file under > my local hard disk. > > In my project.xml I added the following lines > > commons-codec > commons-codec > > And in build.properties file, I added the following line > > maven.repo.remote=\ ${user.home}/.maven/repository, > http://www.ibiblio.org/maven > > > But still it does not work, am getting the following error > > Attempting to download commons-codec-.jar. > Error retrieving artifact from [C:\Documents and > Settings\JGokulam/.maven/repository/commons-co > dec/jars/commons-codec-.jar]: java.net.MalformedURLException: unknown > protocol: c > Error retrieving artifact from [ > /commons-codec/jars/commons-codec-.jar]: java.net.MalformedURL > Exception: no protocol: /commons-codec/jars/commons-codec-.jar > WARNING: Failed to download commons-codec-.jar. > The build cannot continue because of the following unsatisfied > dependency: > > commons-codec-.jar > > Total time: 3 seconds > Finished at: Wed Mar 02 09:49:01 IST 2005 > > Please guide me how I should come out of this error. > > Thanks in advance, > Jayaram > > -Original Message- > From: Siegfried Goeschl [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 01, 2005 7:48 PM > To: Maven Users List > Subject: Re: Maven Petstore > > It seems that commons-codec is not defined in your project.xml > > Siegfried Goeschl > > GOKULAM Jayaram wrote: > > >Hi am trying to compile petstore example application provided by sun. > > > >And am getting the following errors, Please help me to overcome this > >problem. Also let me know if I can set a classpath from maven to > compile > >these files. > > > > > > > >Thanks in advance, > > > >Jayaram > > > > > > > >[javac] Compiling 282 source files to C:\Maven > >1.0.2\bin\target\classes\classes > > > >C:\Maven > >1.0.2\bin\target\classes\checkouts\petstore\src\waf\src\contr > oller\com\ > s > >un\j2ee\bluepr > > > >ints\waf\controller\web\flow\handlers\ClientStateFlowHandler.java:47: > >package org.apache.common > > > >s.codec.base64 does not exist > > > >import org.apache.commons.codec.base64.Base64; > > > > ^ > > > >C:\Maven > >1.0.2\bin\target\classes\checkouts\petstore\src\waf\src\view\ > taglibs\co > m > >\sun\j2ee\blue > > > >prints\taglibs\smart\ClientStateTag.java:52: package > >org.apache.commons.codec.base64 does not e > > > >xist > > > >import org.apache.commons.codec.base64.Base64; > > > > ^ > > > >C:\Maven > >1.0.2\bin\target\classes\checkouts\petstore\src\waf\src\contr > oller\com\ > s > >un\j2ee\bluepr > > > >ints\waf\controller\web\flow\handlers\ClientStateFlowHandler.java:83: > >cannot resolve symbol > > > >symbol : variable Base64 > > > >location: class > >com.sun.j2ee.blueprints.waf.controller.web.flow.handlers.Clie > ntStateFlo > w > >Handler > > > > > > > >byte[] bytes = > >Base64.decode(valueString.getBytes()); > > > >^ > > > >C:\Maven > >1.0.2\bin\target\classes\checkouts\petstore\src\waf\src\view\ > taglibs\co > m > >\sun\j2ee\blue > > > >prints\taglibs\smart\ClientStateTag.java:203: cannot resolve symbol > > > >symbol : variable Base64 > > > >location: class > >com.sun.j2ee.blueprints.waf.view.taglibs.smart.ClientStateTag > > > > new > >String(Base64.encode(bos.toByteArray()), "ISO-8859-1 > > > >") + "\" />"); > > > > ^ > > > >Note: Some input files use or override a deprecated API. > > > >Note: Recompile with -deprecation for details. > > > >4 errors > > > > > > > >BUILD FAILED > > > >File.. C:\Documents and > >Settings\JGokulam\.maven\cache\maven-java-plugin-1.5\plugin.jelly > > > >Element... ant:javac > > > >Line.. 63 > > > >Column 48 > > > >Compile failed; see the compiler error output for details. > > > >Total time: 5 seconds > > > >Finished at: Tue Mar 01 19:11:01 IST 2005 > > > >Confidentiality Statement: > > > >This message is intended only for the individual or entity > to which it > is addressed. It may contain privileged, confidential > information which is exempt from disclosure under applicable > laws. If you are not the intended recipient, please note that > you are stri
RE: Maven Petstore
Hi Siegfried, Thanks for your guidance. Can u please let me know how exactly I should and what URL I should use in my project.xml I downloaded the commens-codec.zip file and placed it in my local hard disk, now I want maven to look for this file under my local hard disk. In my project.xml I added the following lines commons-codec commons-codec And in build.properties file, I added the following line maven.repo.remote=\ ${user.home}/.maven/repository, http://www.ibiblio.org/maven But still it does not work, am getting the following error Attempting to download commons-codec-.jar. Error retrieving artifact from [C:\Documents and Settings\JGokulam/.maven/repository/commons-co dec/jars/commons-codec-.jar]: java.net.MalformedURLException: unknown protocol: c Error retrieving artifact from [ /commons-codec/jars/commons-codec-.jar]: java.net.MalformedURL Exception: no protocol: /commons-codec/jars/commons-codec-.jar WARNING: Failed to download commons-codec-.jar. The build cannot continue because of the following unsatisfied dependency: commons-codec-.jar Total time: 3 seconds Finished at: Wed Mar 02 09:49:01 IST 2005 Please guide me how I should come out of this error. Thanks in advance, Jayaram -Original Message- From: Siegfried Goeschl [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 01, 2005 7:48 PM To: Maven Users List Subject: Re: Maven Petstore It seems that commons-codec is not defined in your project.xml Siegfried Goeschl GOKULAM Jayaram wrote: >Hi am trying to compile petstore example application provided by sun. > >And am getting the following errors, Please help me to overcome this >problem. Also let me know if I can set a classpath from maven to compile >these files. > > > >Thanks in advance, > >Jayaram > > > >[javac] Compiling 282 source files to C:\Maven >1.0.2\bin\target\classes\classes > >C:\Maven >1.0.2\bin\target\classes\checkouts\petstore\src\waf\src\controller\com\ s >un\j2ee\bluepr > >ints\waf\controller\web\flow\handlers\ClientStateFlowHandler.java:47: >package org.apache.common > >s.codec.base64 does not exist > >import org.apache.commons.codec.base64.Base64; > > ^ > >C:\Maven >1.0.2\bin\target\classes\checkouts\petstore\src\waf\src\view\taglibs\co m >\sun\j2ee\blue > >prints\taglibs\smart\ClientStateTag.java:52: package >org.apache.commons.codec.base64 does not e > >xist > >import org.apache.commons.codec.base64.Base64; > > ^ > >C:\Maven >1.0.2\bin\target\classes\checkouts\petstore\src\waf\src\controller\com\ s >un\j2ee\bluepr > >ints\waf\controller\web\flow\handlers\ClientStateFlowHandler.java:83: >cannot resolve symbol > >symbol : variable Base64 > >location: class >com.sun.j2ee.blueprints.waf.controller.web.flow.handlers.ClientStateFlo w >Handler > > > >byte[] bytes = >Base64.decode(valueString.getBytes()); > >^ > >C:\Maven >1.0.2\bin\target\classes\checkouts\petstore\src\waf\src\view\taglibs\co m >\sun\j2ee\blue > >prints\taglibs\smart\ClientStateTag.java:203: cannot resolve symbol > >symbol : variable Base64 > >location: class >com.sun.j2ee.blueprints.waf.view.taglibs.smart.ClientStateTag > > new >String(Base64.encode(bos.toByteArray()), "ISO-8859-1 > >") + "\" />"); > > ^ > >Note: Some input files use or override a deprecated API. > >Note: Recompile with -deprecation for details. > >4 errors > > > >BUILD FAILED > >File.. C:\Documents and >Settings\JGokulam\.maven\cache\maven-java-plugin-1.5\plugin.jelly > >Element... ant:javac > >Line.. 63 > >Column 48 > >Compile failed; see the compiler error output for details. > >Total time: 5 seconds > >Finished at: Tue Mar 01 19:11:01 IST 2005 > >Confidentiality Statement: > >This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email. > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this informa
maven axis plugin
Hi When I run maven axis:deploy I get this: C:\ccviews\RedeemOnly\dev\modules\redeemonly-web>maven axis:deploy __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 Processing file C:\ccviews\RedeemOnly\dev\modules\redeemonly-web\target\axis\src \org\tempuri\RedeemService\deploy.wsdd build:start: axis:copy-deploy: axis:deploy: [axis-admin] [ERROR] AxisFault faultCode: {http://xml.apache.org/axis/}HTTP faultSubcode: faultString: (404)Not Found faultActor: faultNode: faultDetail: {}:return code: 404 Error 404: File not found: AdminService {http://xml.apache.org/axis/}HttpErrorCode:404 [axis-admin] [ERROR] Running axis-admin with parameters: [axis-admin] [ERROR] action: [axis-admin] [ERROR] url:http://sa72frsappdev01:9080/RedeemOnlyWeb/AdminSe rvice?wsdl [axis-admin] [ERROR] hostname:null [axis-admin] [ERROR] port:0 [axis-admin] [ERROR] servletPath:null [axis-admin] [ERROR] fileProtocol:null [axis-admin] [ERROR] username:null [axis-admin] [ERROR] password:null [axis-admin] [ERROR] transportChain:null [axis-admin] [ERROR] debug:false BUILD FAILED File.. C:\Documents and Settings\jmucsi\.maven\cache\maven-axis-plugin-0.7\p lugin.jelly Element... axis-admin Line.. 288 Column 44 axis-admin failed with {http://xml.apache.org/axis/}HTTP (404)Not Found Total time: 3 seconds Finished at: Tue Mar 01 15:49:46 PST 2005 Can anybody please help? Thanks. Janos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Class-Path: added twice
Hi I have this in my project.xml struts struts 1.2.4 false true ... When I run war:install, the MANIFEST.MF file has this: Class-Path: struts-1.2.4.jar Class-Path: Of course this results in ClassNotFoundExceptions. I could not isolate the problem yet, it did not happen before. Anybody has seen this? Janos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Xerces is being automatically added to classpath during compilation
I am confused I have some code that uses xerces (org.apache.xml.serialize.XMLSerializer to be exact). I had foggotten to add xerces as a dependency to my project.xml file. Yet my code compiled and the tests ran fine. It was only when I tried using Uberjar did I get a class not found error. I ran mavan with the -X switch and looked at the compile command and it doesn't refer to xerces. I copied the command to a shell script and executed it and the compile fails exactly as I figured it should. So my question is where does xerces get added to the classpath and how to I remove it? I'd like to catch these errors during compile and not when I run Uberjar. The tests work because the test plugin includes xerces as one of its dependencies, and it becomes a runtime dependency. So that's ok. Thanks, C. Helck The information contained in this e-mail is confidential. This e-mail is intended only for the stated addressee. If you are not an addressee, you must not disclose, copy, circulate or in any other way use or rely on the information contained in this e-mail. if you have received this e-mail in error, please inform us immediately and delete it and all copies from your system. EBS Dealing Resources International Limited. Registered address: 10 Paternoster Square, London EC4M 7DY, United Kingdom. Registered number 2669861. EBS Dealing Resources, Inc, registered in Delaware. Address: 535 Madison Avenue, 24th Floor, New York, NY 10022, USA, and One upper Pond road, Building F - Floor 3, Parsippany, NJ 07054, USA. EBS Dealing Resources Japan Limited, a Japanese Corporation. Address: Asteer Kayabacho Bldg, 6th Floor, 1-6-1, Shinkawa, Chuo-Ku, Tokyo 104-0033, Japan.
Re: Generated sources
On Tuesday 01 March 2005 15.22, Steve Molloy wrote: > For eclipse, add something like this as a postGoal: > [...] > For javadoc, I think a preGoal looking like this should work: > [...] Thanks for the hint ! I admit I am quite surprised there is not a property I can configure with the list of source folders ... Maybe a feature request for the next release ... Guillaume Lederrey - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re:
I think this is a question for the CC user list. I'm not sure that "goal" will parse out system properties like that. - Brett On Tue, 01 Mar 2005 19:01:57 +0100, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hello, > > I have the following scenario: > > I have CruiseControl (CC) building my project. In the CC configuration I call > some maven goals: > > [...] > projectfile="/testproject/project.xml" > goal="clean > -Dmaven.build.dir=report_target > | > clover > | > site:deploy > -Dmaven.site.deploy.method=fs > -Dmaven.build.dir=report_target" > /> > [...] > > Now I want to run the maven goals with different log4j properties but the > following aproach doesn't work: > > [...] > projectfile="/testproject/project.xml" > goal="clean > -Dmaven.build.dir=report_target > | > clover > -Dlog4j.configuration=/testproject/src/conf/log4j.fatal.properties > | > site:deploy > -Dmaven.site.deploy.method=fs > -Dmaven.build.dir=report_target > -Dlog4j.configuration=/testproject/src/conf/log4j.debug.properties" > /> > [...] > > Has anyone an idea why this isn't working? How can I get the 2 different > log4j configs to work? (For some reasons I have to run those goals on that > place with the different property files) > > thank you for your help, > > Volker > > - > 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: StatCvs reports?
Hi Ville, The statcvs plugin is no longer hosted by the Maven project. Please contact the statcvs development team. Thanks -Vincent > -Original Message- > From: Ville Tuominen [mailto:[EMAIL PROTECTED] > Sent: mardi 1 mars 2005 15:40 > To: Maven Users List > Subject: StatCvs reports? > > Hi, > > I'm using statcvs plugin with maven and > I have next kind of problem. > > In my project project.xml is in subdirectory: > > project/tools/project.xml > project/tools/xdocs/navigation.xml > project/src/... > project/test/... > > Now statcvs plugin generates reports only from tools > directory. There is lots of other "building" staff also in > tools directory and thats why its in the own tools directory. > > Can I do anything else than move project.xml > back to main directory(basedir)? > > T. Ville - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
scm plugin
Can someone post a simple example of importing and using the maven scm plugin inside of a maven.xml file? Thanks, Chris
maven goals & 2 different log4j configs
Hello, first: please ignore the Mail with the empty subject - sorry for that. I have the following scenario: I have CruiseControl (CC) building my project. In the CC configuration I call some maven goals: [...] [...] Now I want to run the maven goals with different log4j properties but the following aproach doesn't work: [...] [...] Has anyone an idea why this isn't working? How can I get the 2 different log4j configs to work? (For some reasons I have to run those goals on that place with the different property files) thank you for your help, Volker - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
users@maven.apache.org
Hello, I have the following scenario: I have CruiseControl (CC) building my project. In the CC configuration I call some maven goals: [...] [...] Now I want to run the maven goals with different log4j properties but the following aproach doesn't work: [...] [...] Has anyone an idea why this isn't working? How can I get the 2 different log4j configs to work? (For some reasons I have to run those goals on that place with the different property files) thank you for your help, Volker - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE: Excluding documents fom xdocs in site generation
Yep, worked perfectly! Thanks! > Maybe let's have a look at: > http://jira.codehaus.org/browse/MPXDOC-123 > > New property : list of xml files (or patterns) that are copied but not > transformed > maven.xdoc.xml.copy > > Vincent > > -Message d'origine- > De : Martijn Dashorst [mailto:[EMAIL PROTECTED] > Envoyà : 1 mars 2005 08:18 > à : Maven Users List > Objet : Re: Excluding documents fom xdocs in site generation > > Tedi Zanfolim wrote: > > >Hi, > > > > Is there anyway I could exclude some files from xdoc processing > (without > moving the files outside the directory) or asking xdoc to not validate > the > generated docs? > > I would like to generate my project site with all the documentation > available in my 'documents' directory, so I pointed maven.docs.src to > it. My > problem is that I have some invalid xml documents in this directory > (actually, entity fragments) and xdocs is trying to process them ... > > > > > AFAIK this is not possible using the POM. However you could copy the > files > before the XDOC plugin runs (as a preGoal) into a temp directory (under > target) and point the maven.docs.src to that directory. > > Martijn > > - > 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]
StatCvs reports?
Hi, I'm using statcvs plugin with maven and I have next kind of problem. In my project project.xml is in subdirectory: project/tools/project.xml project/tools/xdocs/navigation.xml project/src/... project/test/... Now statcvs plugin generates reports only from tools directory. There is lots of other "building" staff also in tools directory and thats why its in the own tools directory. Can I do anything else than move project.xml back to main directory(basedir)? T. Ville
Re: Generated sources
For eclipse, add something like this as a postGoal: src target/axis/src For javadoc, I think a preGoal looking like this should work: Of course, you'll need to adjust a bit to fit your stuff... Enjoy! Steve On Tue, 2005-01-03 at 15:14 +0100, Guillaume Lederrey wrote: > Hi ! > > Maven is a great tool ! I dont know how i could do without it ! > > Still, I'm a bit of a beginner and there are a few point I couldnt find in > the docs (but I might be a bit too blind ...). I have projects with a lot of > generated sources (from AndroMDA). I'd like the javadoc to be compiled for > those src as well and have them added to the eclipse classpath with "maven > eclipse:generate-classpath". It's probably just a fairly easy property to > set, but I could not find it ... > > Any help ? > > Thanks > > Guillaume Lederrey > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
Re: Maven Petstore
It seems that commons-codec is not defined in your project.xml Siegfried Goeschl GOKULAM Jayaram wrote: Hi am trying to compile petstore example application provided by sun. And am getting the following errors, Please help me to overcome this problem. Also let me know if I can set a classpath from maven to compile these files. Thanks in advance, Jayaram [javac] Compiling 282 source files to C:\Maven 1.0.2\bin\target\classes\classes C:\Maven 1.0.2\bin\target\classes\checkouts\petstore\src\waf\src\controller\com\s un\j2ee\bluepr ints\waf\controller\web\flow\handlers\ClientStateFlowHandler.java:47: package org.apache.common s.codec.base64 does not exist import org.apache.commons.codec.base64.Base64; ^ C:\Maven 1.0.2\bin\target\classes\checkouts\petstore\src\waf\src\view\taglibs\com \sun\j2ee\blue prints\taglibs\smart\ClientStateTag.java:52: package org.apache.commons.codec.base64 does not e xist import org.apache.commons.codec.base64.Base64; ^ C:\Maven 1.0.2\bin\target\classes\checkouts\petstore\src\waf\src\controller\com\s un\j2ee\bluepr ints\waf\controller\web\flow\handlers\ClientStateFlowHandler.java:83: cannot resolve symbol symbol : variable Base64 location: class com.sun.j2ee.blueprints.waf.controller.web.flow.handlers.ClientStateFlow Handler byte[] bytes = Base64.decode(valueString.getBytes()); ^ C:\Maven 1.0.2\bin\target\classes\checkouts\petstore\src\waf\src\view\taglibs\com \sun\j2ee\blue prints\taglibs\smart\ClientStateTag.java:203: cannot resolve symbol symbol : variable Base64 location: class com.sun.j2ee.blueprints.waf.view.taglibs.smart.ClientStateTag new String(Base64.encode(bos.toByteArray()), "ISO-8859-1 ") + "\" />"); ^ Note: Some input files use or override a deprecated API. Note: Recompile with -deprecation for details. 4 errors BUILD FAILED File.. C:\Documents and Settings\JGokulam\.maven\cache\maven-java-plugin-1.5\plugin.jelly Element... ant:javac Line.. 63 Column 48 Compile failed; see the compiler error output for details. Total time: 5 seconds Finished at: Tue Mar 01 19:11:01 IST 2005 Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Generated sources
Hi ! Maven is a great tool ! I dont know how i could do without it ! Still, I'm a bit of a beginner and there are a few point I couldnt find in the docs (but I might be a bit too blind ...). I have projects with a lot of generated sources (from AndroMDA). I'd like the javadoc to be compiled for those src as well and have them added to the eclipse classpath with "maven eclipse:generate-classpath". It's probably just a fairly easy property to set, but I could not find it ... Any help ? Thanks Guillaume Lederrey - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Excluding documents fom xdocs in site generation
Maybe let's have a look at: http://jira.codehaus.org/browse/MPXDOC-123 New property : list of xml files (or patterns) that are copied but not transformed maven.xdoc.xml.copy Vincent -Message d'origine- De : Martijn Dashorst [mailto:[EMAIL PROTECTED] Envoyé : 1 mars 2005 08:18 À : Maven Users List Objet : Re: Excluding documents fom xdocs in site generation Tedi Zanfolim wrote: >Hi, > > Is there anyway I could exclude some files from xdoc processing (without moving the files outside the directory) or asking xdoc to not validate the generated docs? > I would like to generate my project site with all the documentation available in my 'documents' directory, so I pointed maven.docs.src to it. My problem is that I have some invalid xml documents in this directory (actually, entity fragments) and xdocs is trying to process them ... > > AFAIK this is not possible using the POM. However you could copy the files before the XDOC plugin runs (as a preGoal) into a temp directory (under target) and point the maven.docs.src to that directory. Martijn - 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 Petstore
Hi am trying to compile petstore example application provided by sun. And am getting the following errors, Please help me to overcome this problem. Also let me know if I can set a classpath from maven to compile these files. Thanks in advance, Jayaram [javac] Compiling 282 source files to C:\Maven 1.0.2\bin\target\classes\classes C:\Maven 1.0.2\bin\target\classes\checkouts\petstore\src\waf\src\controller\com\s un\j2ee\bluepr ints\waf\controller\web\flow\handlers\ClientStateFlowHandler.java:47: package org.apache.common s.codec.base64 does not exist import org.apache.commons.codec.base64.Base64; ^ C:\Maven 1.0.2\bin\target\classes\checkouts\petstore\src\waf\src\view\taglibs\com \sun\j2ee\blue prints\taglibs\smart\ClientStateTag.java:52: package org.apache.commons.codec.base64 does not e xist import org.apache.commons.codec.base64.Base64; ^ C:\Maven 1.0.2\bin\target\classes\checkouts\petstore\src\waf\src\controller\com\s un\j2ee\bluepr ints\waf\controller\web\flow\handlers\ClientStateFlowHandler.java:83: cannot resolve symbol symbol : variable Base64 location: class com.sun.j2ee.blueprints.waf.controller.web.flow.handlers.ClientStateFlow Handler byte[] bytes = Base64.decode(valueString.getBytes()); ^ C:\Maven 1.0.2\bin\target\classes\checkouts\petstore\src\waf\src\view\taglibs\com \sun\j2ee\blue prints\taglibs\smart\ClientStateTag.java:203: cannot resolve symbol symbol : variable Base64 location: class com.sun.j2ee.blueprints.waf.view.taglibs.smart.ClientStateTag new String(Base64.encode(bos.toByteArray()), "ISO-8859-1 ") + "\" />"); ^ Note: Some input files use or override a deprecated API. Note: Recompile with -deprecation for details. 4 errors BUILD FAILED File.. C:\Documents and Settings\JGokulam\.maven\cache\maven-java-plugin-1.5\plugin.jelly Element... ant:javac Line.. 63 Column 48 Compile failed; see the compiler error output for details. Total time: 5 seconds Finished at: Tue Mar 01 19:11:01 IST 2005 Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email.
Re: Excluding documents fom xdocs in site generation
Tedi Zanfolim wrote: Hi, Is there anyway I could exclude some files from xdoc processing (without moving the files outside the directory) or asking xdoc to not validate the generated docs? I would like to generate my project site with all the documentation available in my 'documents' directory, so I pointed maven.docs.src to it. My problem is that I have some invalid xml documents in this directory (actually, entity fragments) and xdocs is trying to process them ... AFAIK this is not possible using the POM. However you could copy the files before the XDOC plugin runs (as a preGoal) into a temp directory (under target) and point the maven.docs.src to that directory. Martijn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Excluding documents fom xdocs in site generation
Hi, Is there anyway I could exclude some files from xdoc processing (without moving the files outside the directory) or asking xdoc to not validate the generated docs? I would like to generate my project site with all the documentation available in my 'documents' directory, so I pointed maven.docs.src to it. My problem is that I have some invalid xml documents in this directory (actually, entity fragments) and xdocs is trying to process them ... TIA, Tedi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maintaining private repositories
So the only practical access method for posting jars to the private repository seems to be using private keys (so I don't have to specify passwords in config files), which means that every developer requires an account on the machine hosting the repository. If maven-proxy could act as a real repository, this wouldn't be required (accounts could be configured in maven-proxy config). Oh well. Is it currently possible to access a repository using HTTPS? Even with a self-signed certificate? Thanks, -Ralph. On 28.02.2005, at 16:01, Frederic Jean wrote: I configured a seperate repository to hold our private jars and pointed maven-proxy to look at it first. Fred Ralph Pöllath wrote: Is it possible to upload a jar to maven-proxy directly? Or do I have to maintain a separate repository that maven-proxy mirrors in addition to ibiblio? Thanks, -Ralph. On 28.02.2005, at 04:43, Frederic Jean wrote: I have used maven-proxy with good results to do so. Have a look at http://maven-proxy.codehaus.org/ Fred Rick Mann wrote: Where can I find information about how to set up my own, private repository? That is, within my company we want to switch to using Maven. We want to be able to get components from remote repositories, and we want to build components that go into a repository we maintain in-house. I was able to find documentation for posting to public repositories, but not anything to tell me how to set up my own private remote repository. TIA! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]