maven pom
Hi - I'm getting a strange error. Enclosed is the output from maven pom and the project.xml file. Everything else seems to work fine - I can compile and create a jar. Any ideas? -- Ken ; [EMAIL PROTECTED](1617)]- maven pom __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0 build:start: pom:verify-version: pom:validate: [java] /home/ken/projects/jump/project.xml:4:12: error: cvc-complex-type.2.4.a: Invalid content starting with element 'groupId'. One of '{:id}' is expected. [java] /home/ken/projects/jump/project.xml:68:27: error: cvc-complex-type.2.4.a: Invalid content starting with element 'organization'. One of '{:id}' is expected. [java] /home/ken/projects/jump/project.xml:76:27: error: cvc-complex-type.2.4.a: Invalid content starting with element 'organization'. One of '{:id}' is expected. [java] /home/ken/projects/jump/project.xml:84:27: error: cvc-complex-type.2.4.a: Invalid content starting with element 'organization'. One of '{:id}' is expected. [java] /home/ken/projects/jump/project.xml:92:27: error: cvc-complex-type.2.4.a: Invalid content starting with element 'organization'. One of '{:id}' is expected. [java] /home/ken/projects/jump/project.xml:101:27: error: cvc-complex-type.2.4.a: Invalid content starting with element 'organization'. One of '{:name}' is expected. [java] [ERROR] Java Result: 1 BUILD SUCCESSFUL Total time: 3 seconds Finished at: Sun Jul 25 22:54:59 PDT 2004 ;--- ?xml version=1.0? project pomVersion3/pomVersion groupIdJUMP Project/groupId idjump/id currentVersion1.1.1/currentVersion nameJUMP/name organization nameVivid Solutions, Inc./name urlhttp://www.vividsolutions.com/url logo/images/v_logo_btm.gif/logo /organization inceptionYear2001/inceptionYear shortDescriptionJava Uniformed Mapping Project/shortDescription description Provides an API of 2D spatial predicates and functions for fundamental geometric operations in an OGC-compliant spatial object model. /description urlhttp://www.jump-project.org/url packagecom.vividsolutions.jump.*/package logo/img/header_main.gif/logo licenses license nameThe Jump Project/name url/doc/gpl.txt/url distributionrepo/distribution /license /licenses gumpRepositoryIdjump/gumpRepositoryId issueTrackingUrlhttp://http://www.jump-project.org/issueTrackingUrl siteAddressjump-project.org/siteAddress siteDirectory/jump/siteDirectory distributionDirectory/jump/builds/distributionDirectory repository connectionscm:cvs:pserver:[EMAIL PROTECTED]:/home/cvs/jump:jump/connection /repository mailingLists mailingList nameJUMP Development List/name subscribehttp://lists.jump-project.org/mailman/listinfo/jump-devel//subscribe unsubscribehttp://lists.jump-project.org/mailman/listinfo/jump-devel//unsubscribe archivehttp://lists.jump-project.org/pipermail/jump-devel//archive /mailingList mailingList nameJUMP Users List/name subscribehttp://lists.jump-project.org/mailman/listinfo/jump-users//subscribe unsubscribehttp://lists.jump-project.org/mailman/listinfo/jump-users//unsubscribe archivehttp://lists.jump-project.org/pipermail/jump-users//archive /mailingList mailingList nameJTS Developement List/name subscribehttp://lists.jump-project.org/mailman/listinfo/jts-devel//subscribe unsubscribehttp://lists.jump-project.org/mailman/listinfo/jts-devel//unsubscribe archivehttp://lists.jump-project.org/pipermail/jts-devel//archive /mailingList /mailingLists developers developer nameMark Sondheim/name organizationBC MSRM/organization roles roleProject Initiation/Management/role /roles /developer developer nameMartin Davis/name organizationVivid Solutions, Inc./organization roles roleSystems Architecture/role /roles /developer developer nameJonathan Aquino/name organizationVivid Solutions/organization roles roleJava Developer/role /roles /developer developer nameDavid Blasby/name organizationRefractions Research/organization roles roleJava Developer/role /roles /developer /developers contributors contributor organizationRefractions Research/organization /contributor /contributors dependencies dependency idAcme/id versionnoversion/version /dependency
maven pom
Hi Kenneth, Please add your POM ID into your project.xml Here is the sample code: project pomVersion1/pomVersion artifactIdxxx/artifactId /project Try this and let me know. Thanks Reddy MVS --- Hi Maven users I found that Maven Plug-in for Eclipse is doing great job. Also I am sharing some common difference between Ant and Maven. Please find out screen shots in attachments. Thanks Reddy MVS OrangeScape (Release Engineer) -Original Message- From: Kenneth Simpson [mailto:[EMAIL PROTECTED] Sent: Monday, July 26, 2004 12:26 PM To: [EMAIL PROTECTED] Subject: maven pom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven pom
Hello The elements in your project.xml are not in the correct order, according to the XML schema. Maven seems to work fine even if they are in the wrong order though. You can find the schema here: http://maven.apache.org/xsd/maven-project-3.0.0.xsd Or, if you are not used to reading schemas, you can use the same order of elements as in this document: http://maven.apache.org/reference/project-descriptor.html -- Dennis Lundberg Kenneth Simpson wrote: Hi - I'm getting a strange error. Enclosed is the output from maven pom and the project.xml file. Everything else seems to work fine - I can compile and create a jar. Any ideas? -- Ken ; [EMAIL PROTECTED](1617)]- maven pom __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0 build:start: pom:verify-version: pom:validate: [java] /home/ken/projects/jump/project.xml:4:12: error: cvc-complex-type.2.4.a: Invalid content starting with element 'groupId'. One of '{:id}' is expected. [java] /home/ken/projects/jump/project.xml:68:27: error: cvc-complex-type.2.4.a: Invalid content starting with element 'organization'. One of '{:id}' is expected. [java] /home/ken/projects/jump/project.xml:76:27: error: cvc-complex-type.2.4.a: Invalid content starting with element 'organization'. One of '{:id}' is expected. [java] /home/ken/projects/jump/project.xml:84:27: error: cvc-complex-type.2.4.a: Invalid content starting with element 'organization'. One of '{:id}' is expected. [java] /home/ken/projects/jump/project.xml:92:27: error: cvc-complex-type.2.4.a: Invalid content starting with element 'organization'. One of '{:id}' is expected. [java] /home/ken/projects/jump/project.xml:101:27: error: cvc-complex-type.2.4.a: Invalid content starting with element 'organization'. One of '{:name}' is expected. [java] [ERROR] Java Result: 1 BUILD SUCCESSFUL Total time: 3 seconds Finished at: Sun Jul 25 22:54:59 PDT 2004 ;--- ?xml version=1.0? project pomVersion3/pomVersion groupIdJUMP Project/groupId idjump/id currentVersion1.1.1/currentVersion nameJUMP/name organization nameVivid Solutions, Inc./name urlhttp://www.vividsolutions.com/url logo/images/v_logo_btm.gif/logo /organization inceptionYear2001/inceptionYear shortDescriptionJava Uniformed Mapping Project/shortDescription description Provides an API of 2D spatial predicates and functions for fundamental geometric operations in an OGC-compliant spatial object model. /description urlhttp://www.jump-project.org/url packagecom.vividsolutions.jump.*/package logo/img/header_main.gif/logo licenses license nameThe Jump Project/name url/doc/gpl.txt/url distributionrepo/distribution /license /licenses gumpRepositoryIdjump/gumpRepositoryId issueTrackingUrlhttp://http://www.jump-project.org/issueTrackingUrl siteAddressjump-project.org/siteAddress siteDirectory/jump/siteDirectory distributionDirectory/jump/builds/distributionDirectory repository connectionscm:cvs:pserver:[EMAIL PROTECTED]:/home/cvs/jump:jump/connection /repository mailingLists mailingList nameJUMP Development List/name subscribehttp://lists.jump-project.org/mailman/listinfo/jump-devel//subscribe unsubscribehttp://lists.jump-project.org/mailman/listinfo/jump-devel//unsubscribe archivehttp://lists.jump-project.org/pipermail/jump-devel//archive /mailingList mailingList nameJUMP Users List/name subscribehttp://lists.jump-project.org/mailman/listinfo/jump-users//subscribe unsubscribehttp://lists.jump-project.org/mailman/listinfo/jump-users//unsubscribe archivehttp://lists.jump-project.org/pipermail/jump-users//archive /mailingList mailingList nameJTS Developement List/name subscribehttp://lists.jump-project.org/mailman/listinfo/jts-devel//subscribe unsubscribehttp://lists.jump-project.org/mailman/listinfo/jts-devel//unsubscribe archivehttp://lists.jump-project.org/pipermail/jts-devel//archive /mailingList /mailingLists developers developer nameMark Sondheim/name organizationBC MSRM/organization roles roleProject Initiation/Management/role /roles /developer developer nameMartin Davis/name organizationVivid Solutions, Inc./organization roles roleSystems Architecture/role /roles /developer developer nameJonathan Aquino/name organizationVivid Solutions/organization roles roleJava Developer/role /roles /developer
Re: Using sshdeploy
Hello I have these problems as well. The thing is that I have private/public keys set up and working. The command actually succeeds in creating the directory on the remote server. But for some reason it then halts. If I turn on verbose output for the ssh2-client it says Public key authentication was successful. Also, if I run the command with its parameters directly on the commandline it works as well. I'm on Windows XP, and have tried ssh2 from www.ssh.com as well as putty without success. -- Dennis Lundberg Raphael Philipe Mendes da Silva wrote: Hi, I need some help for using the sshdeploy goal of the site plugin. It isn't working. When i try to do a sshdeploy the process seens to stop, i wait a lot and nothing happens. Have some settings that i have to do? Someone can helpme? Here is a peace of the debug log [tar] Building tar: S:\rsilva_components\components\parameters\implementacao\src\target\parameters-1.3.1-site.tar [gzip] Building: S:\rsilva_components\components\parameters\implementacao\src\target\parameters-1.3.1-site.tar.gz [delete] Deleting: S:\rsilva_components\components\parameters\implementacao\src\target\parameters-1.3.1-site.tar [exec] [VERBOSE] Current OS is Windows 2000 [exec] [VERBOSE] Executing 'ssh' with arguments: '-l' 'compdsb' 'hermes' 'mkdir -p /home/compdsb/www/html/sites/techcomponents/parameters/' The ' characters around the executable and arguments are not part of the command. [exec] [DEBUG] Execute:Java13CommandLauncher: Executing 'ssh' with arguments: '-l' 'compdsb' 'hermes' 'mkdir -p /home/compdsb/www/html/sites/techcomponents/parameters/' The ' characters around the executable and arguments are not part of the command. Raphael Philipe Mendes da Silva DSB - Diretoria de Soluções em Billing CPqD Telecom IT Solutions Tel.: +55 19 3705-6957 www.cpqd.com.br [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: Using sshdeploy
Hi, Have you set up putty correctly? maven.scp.executable=pscp maven.ssh.executable=plink Regards Carlos Sanchez A Coruña, Spain Oness Project http://oness.sourceforge.net -Original Message- From: Dennis Lundberg [mailto:[EMAIL PROTECTED] Sent: Monday, July 26, 2004 6:02 PM To: Maven Users List Subject: Re: Using sshdeploy Hello I have these problems as well. The thing is that I have private/public keys set up and working. The command actually succeeds in creating the directory on the remote server. But for some reason it then halts. If I turn on verbose output for the ssh2-client it says Public key authentication was successful. Also, if I run the command with its parameters directly on the commandline it works as well. I'm on Windows XP, and have tried ssh2 from www.ssh.com as well as putty without success. -- Dennis Lundberg Raphael Philipe Mendes da Silva wrote: Hi, I need some help for using the sshdeploy goal of the site plugin. It isn't working. When i try to do a sshdeploy the process seens to stop, i wait a lot and nothing happens. Have some settings that i have to do? Someone can helpme? Here is a peace of the debug log [tar] Building tar: S:\rsilva_components\components\parameters\implementacao\src\t arget\parameters-1.3.1-site.tar [gzip] Building: S:\rsilva_components\components\parameters\implementacao\src\t arget\parameters-1.3.1-site.tar.gz [delete] Deleting: S:\rsilva_components\components\parameters\implementacao\src\t arget\parameters-1.3.1-site.tar [exec] [VERBOSE] Current OS is Windows 2000 [exec] [VERBOSE] Executing 'ssh' with arguments: '-l' 'compdsb' 'hermes' 'mkdir -p /home/compdsb/www/html/sites/techcomponents/parameters/' The ' characters around the executable and arguments are not part of the command. [exec] [DEBUG] Execute:Java13CommandLauncher: Executing 'ssh' with arguments: '-l' 'compdsb' 'hermes' 'mkdir -p /home/compdsb/www/html/sites/techcomponents/parameters/' The ' characters around the executable and arguments are not part of the command. Raphael Philipe Mendes da Silva DSB - Diretoria de Soluções em Billing CPqD Telecom IT Solutions Tel.: +55 19 3705-6957 www.cpqd.com.br [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: Using sshdeploy
Yes I have -- Dennis Lundberg Carlos Sanchez wrote: Hi, Have you set up putty correctly? maven.scp.executable=pscp maven.ssh.executable=plink Regards Carlos Sanchez A Coruña, Spain Oness Project http://oness.sourceforge.net -Original Message- From: Dennis Lundberg [mailto:[EMAIL PROTECTED] Sent: Monday, July 26, 2004 6:02 PM To: Maven Users List Subject: Re: Using sshdeploy Hello I have these problems as well. The thing is that I have private/public keys set up and working. The command actually succeeds in creating the directory on the remote server. But for some reason it then halts. If I turn on verbose output for the ssh2-client it says Public key authentication was successful. Also, if I run the command with its parameters directly on the commandline it works as well. I'm on Windows XP, and have tried ssh2 from www.ssh.com as well as putty without success. -- Dennis Lundberg Raphael Philipe Mendes da Silva wrote: Hi, I need some help for using the sshdeploy goal of the site plugin. It isn't working. When i try to do a sshdeploy the process seens to stop, i wait a lot and nothing happens. Have some settings that i have to do? Someone can helpme? Here is a peace of the debug log [tar] Building tar: S:\rsilva_components\components\parameters\implementacao\src\t arget\parameters-1.3.1-site.tar [gzip] Building: S:\rsilva_components\components\parameters\implementacao\src\t arget\parameters-1.3.1-site.tar.gz [delete] Deleting: S:\rsilva_components\components\parameters\implementacao\src\t arget\parameters-1.3.1-site.tar [exec] [VERBOSE] Current OS is Windows 2000 [exec] [VERBOSE] Executing 'ssh' with arguments: '-l' 'compdsb' 'hermes' 'mkdir -p /home/compdsb/www/html/sites/techcomponents/parameters/' The ' characters around the executable and arguments are not part of the command. [exec] [DEBUG] Execute:Java13CommandLauncher: Executing 'ssh' with arguments: '-l' 'compdsb' 'hermes' 'mkdir -p /home/compdsb/www/html/sites/techcomponents/parameters/' The ' characters around the executable and arguments are not part of the command. Raphael Philipe Mendes da Silva DSB - Diretoria de Soluções em Billing CPqD Telecom IT Solutions Tel.: +55 19 3705-6957 www.cpqd.com.br [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]
developer activity plugin
Hi all We recently moved from PVCS- CVS so I was looking forward to using the plugins showing developer/file activity. However after running the goals no data is shown :-( (pages are generated but contain no data) Are there any specific settings in CVS I should be concerned about to enable it to work? Colin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven on JDK1.5
Thanks to everyone for their help... Adding those two properties (either -D or project.properties) fixed the problem. A couple thoughts/comments 1) Searching through the issue-tracking, two people posted the same bug and never got a reply. http://jira.codehaus.org/browse/MPJAVA-22 http://jira.codehaus.org/browse/MPJAVA-24 2) shouldn't the default release be compatible with the current release of Java without tweaking? 3) Perhaps the main maven site should be update with a quick tip in the install directions? OR, perhaps add that as a part of the FAQ 4) perhaps the main maven site should list the bug database along with the current listings of FAQ,Wiki,and user mailing list? Thanks again, Malachi At 11:26 PM 7/24/2004, Dion Gillard wrote: maven.compile.source=1.5 and maven.compile.target=1.5? javac: target release 1.1 conflicts with default source release 1.5 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Can I expose a project.properties property in one of my xdocs?
For example: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE document [ !ENTITY % test SYSTEM test.xml ] document body p${my.property}/p /body /document PS: Sorry if this is a doublepost, accidentally hit ctrl-S... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: developer activity plugin
Hello Colin Have you set up a repository [1] section in your project.xml file? [1] http://maven.apache.org/reference/project-descriptor.html#repository -- Dennis Lundberg Colin Chalmers wrote: Hi all We recently moved from PVCS- CVS so I was looking forward to using the plugins showing developer/file activity. However after running the goals no data is shown :-( (pages are generated but contain no data) Are there any specific settings in CVS I should be concerned about to enable it to work? Colin - 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: developer activity plugin
Also, if you're getting file activity data in your report but not developer activity then check that the developer tags have ids corresponding to CVS ids in your project.xml. Matt. -Original Message- From: Dennis Lundberg [mailto:[EMAIL PROTECTED] Sent: Monday, July 26, 2004 19:52 To: Maven Users List Subject: Re: developer activity plugin Hello Colin Have you set up a repository [1] section in your project.xml file? [1] http://maven.apache.org/reference/project-descriptor.html#repository -- Dennis Lundberg Colin Chalmers wrote: Hi all We recently moved from PVCS- CVS so I was looking forward to using the plugins showing developer/file activity. However after running the goals no data is shown :-( (pages are generated but contain no data) Are there any specific settings in CVS I should be concerned about to enable it to work? Colin - 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 pom
From: Reddy MVS [EMAIL PROTECTED] [snip] pomVersion1/pomVersion Thanks. I tried this but I get ant build error. Evidently it has to be either 3 or 4. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven pom
From: Dennis Lundberg [EMAIL PROTECTED] [snip] http://maven.apache.org/xsd/maven-project-3.0.0.xsd Great - thanks! Initially, in order to get started, I used the project.xml file from db-ojb and then edited it. This was before I discovered the genapp goal. I just recreated the project.xml file using the genapp goal, cut and pasted the other elements from the original project.xml into the new one and now 'maven pom' works fine. Maybe it was a unicode related problem? In any case, problem solved. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using sshdeploy
Raphael Philipe Mendes da Silva wrote: [snip] When i try to do a sshdeploy the process seens to stop, i wait a lot and nothing This may have nothing to do with anything, but you should check your $HOME/.cshrc (or bash equivalent) to ensure there's no I/O, i.e., tty (or setting terminal settings, etc. - they should moved the .login instead) I'm presuming you're connecting to a UNIX ssh server (based on the paths in the command.) Also, sometimes it just needs a carriage return after completing a command to continue. -- Ken - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
passing options to the Java compiler
How does pass options to the Java compiler? In the maven-java-plugin-1.4 directory, there's plugin.properties file with the following entries maven.compile.target = 1.1 maven.compile.source = 1.3 what do these mean? -- Ken - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: passing options to the Java compiler
Have you read http://maven.apache.org/reference/plugins/java/properties.html ? On Mon, 26 Jul 2004 13:33:47 -0700, Kenneth Simpson [EMAIL PROTECTED] wrote: How does pass options to the Java compiler? In the maven-java-plugin-1.4 directory, there's plugin.properties file with the following entries maven.compile.target = 1.1 maven.compile.source = 1.3 what do these mean? -- Ken - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- http://www.multitask.com.au/people/dion/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
using emacs and JDEE with Maven
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, My question is simple. How can I use emacs/JDEE with Maven? JDEE looks for a project file but there is none. I would especially like to get syntax coloring working again. Sincerely, David Novogrodsky -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (Darwin) iD8DBQFBBXkBvgTNkiw+nMcRAt8hAKCM34fpzBPK7vNtIQRcBgbMucAoJACglHKc ozYQ8FbuiHeimgA+qRe5qrY= =tc2+ -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: using emacs and JDEE with Maven
Does this http://maven.apache.org/reference/plugins/jdee/ help? On Mon, 26 Jul 2004 16:34:49 -0500, David Novogrodsky [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, My question is simple. How can I use emacs/JDEE with Maven? JDEE looks for a project file but there is none. I would especially like to get syntax coloring working again. Sincerely, David Novogrodsky -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (Darwin) iD8DBQFBBXkBvgTNkiw+nMcRAt8hAKCM34fpzBPK7vNtIQRcBgbMucAoJACglHKc ozYQ8FbuiHeimgA+qRe5qrY= =tc2+ -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- http://www.multitask.com.au/people/dion/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: passing options to the Java compiler
From: Dion Gillard [EMAIL PROTECTED] Have you read http://maven.apache.org/reference/plugins/java/properties.html ? No I haven't - thank you very much! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: passing options to the Java compiler
Same as with javac... from the javac help: -source release Provide source compatibility with specified release -target release Generate class files for specific VM version At 01:33 PM 7/26/2004, you wrote: How does pass options to the Java compiler? In the maven-java-plugin-1.4 directory, there's plugin.properties file with the following entries maven.compile.target = 1.1 maven.compile.source = 1.3 what do these mean? -- Ken - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven on JDK1.5
Um, JDK 1.5 isn't yet the current release of Java. It's still only beta. On Mon, 2004-07-26 at 13:59, Malachi de AElfweald wrote: Thanks to everyone for their help... Adding those two properties (either -D or project.properties) fixed the problem. A couple thoughts/comments 1) Searching through the issue-tracking, two people posted the same bug and never got a reply. http://jira.codehaus.org/browse/MPJAVA-22 http://jira.codehaus.org/browse/MPJAVA-24 2) shouldn't the default release be compatible with the current release of Java without tweaking? 3) Perhaps the main maven site should be update with a quick tip in the install directions? OR, perhaps add that as a part of the FAQ 4) perhaps the main maven site should list the bug database along with the current listings of FAQ,Wiki,and user mailing list? Thanks again, Malachi At 11:26 PM 7/24/2004, Dion Gillard wrote: maven.compile.source=1.5 and maven.compile.target=1.5? javac: target release 1.1 conflicts with default source release 1.5 - 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-checkstyle-plugin includes
Greetings -- For some reason, I cannot override the maven.checkstyle.includes property -- I've tried doing it both on the command line using -D and in my project.properties file. No matter what I try, it still seems to use ${maven.src.dir}/**/*.java. Is this a known problem or am I doing something wrong? I'm using maven-rc2 and maven-checkstyle-plugin-2.3. Thanks, -adrian- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]