Newbie question
I'm a Newbie to Maven and can't seem to get started. I've used the windows installer and installed maven. I'm trying to run the quick test (http://maven.apache.org/start/ten-minute-test.html) Here's the errror Attempting to download log4j-1.2.8.jar. Error retrieving artifact from [http://www.ibiblio.org/maven/log4j/jars/log4j-1.2.8.jar]: java.net.ConnectException: Connection timed out: connect WARNING: Failed to download log4j-1.2.8.jar. The build cannot continue because of the following unsatisfied dependency: log4j-1.2.8.jar When I hit http://www.ibiblio.org/maven/log4j/jars/log4j-1.2.8.jar in a browser, the connection works fine Here's how i've installed maven: The install told me to run the following: (http://maven.apache.org/start/install.html) %MAVEN_HOME%\bin\install_repo.bat %HOMEDRIVE%%HOMEPATH%\.maven\repository I've created the folder structures in the ten-minute-test in the folder c:\sample-echo I didn't know a value to use for %HOMEDRIVE%%HOMEPATH% so i'm using c:\sample-echo Therefore, i ran %MAVEN_HOME%\bin\install_repo.bat c:\sample-echo\.maven\repository I think I may have a bad value for %HOMEDRIVE%%HOMEPATH% - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Newbie question
I think if u give below mentioned property in u r Build.properties then it will work maven.proxy.host = maven.proxy.port = maven.proxy.username = maven.proxy.password = -Original Message- From: Lance Semmens [mailto:[EMAIL PROTECTED] Sent: Thursday, May 05, 2005 12:35 PM To: 'Maven Users List' Subject: Newbie question I'm a Newbie to Maven and can't seem to get started. I've used the windows installer and installed maven. I'm trying to run the quick test (http://maven.apache.org/start/ten-minute-test.html) Here's the errror Attempting to download log4j-1.2.8.jar. Error retrieving artifact from [http://www.ibiblio.org/maven/log4j/jars/log4j-1.2.8.jar]: java.net.ConnectException: Connection timed out: connect WARNING: Failed to download log4j-1.2.8.jar. The build cannot continue because of the following unsatisfied dependency: log4j-1.2.8.jar When I hit http://www.ibiblio.org/maven/log4j/jars/log4j-1.2.8.jar in a browser, the connection works fine Here's how i've installed maven: The install told me to run the following: (http://maven.apache.org/start/install.html) %MAVEN_HOME%\bin\install_repo.bat %HOMEDRIVE%%HOMEPATH%\.maven\repository I've created the folder structures in the ten-minute-test in the folder c:\sample-echo I didn't know a value to use for %HOMEDRIVE%%HOMEPATH% so i'm using c:\sample-echo Therefore, i ran %MAVEN_HOME%\bin\install_repo.bat c:\sample-echo\.maven\repository I think I may have a bad value for %HOMEDRIVE%%HOMEPATH% - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Newbie question
You probably need to configure a proxy: http://maven.apache.org/reference/properties.html#Proxy_Properties On 5/5/05, Lance Semmens [EMAIL PROTECTED] wrote: I'm a Newbie to Maven and can't seem to get started. I've used the windows installer and installed maven. I'm trying to run the quick test (http://maven.apache.org/start/ten-minute-test.html) Here's the errror Attempting to download log4j-1.2.8.jar. Error retrieving artifact from [http://www.ibiblio.org/maven/log4j/jars/log4j-1.2.8.jar]: java.net.ConnectException: Connection timed out: connect WARNING: Failed to download log4j-1.2.8.jar. The build cannot continue because of the following unsatisfied dependency: log4j-1.2.8.jar When I hit http://www.ibiblio.org/maven/log4j/jars/log4j-1.2.8.jar in a browser, the connection works fine Here's how i've installed maven: The install told me to run the following: (http://maven.apache.org/start/install.html) %MAVEN_HOME%\bin\install_repo.bat %HOMEDRIVE%%HOMEPATH%\.maven\repository I've created the folder structures in the ten-minute-test in the folder c:\sample-echo I didn't know a value to use for %HOMEDRIVE%%HOMEPATH% so i'm using c:\sample-echo Therefore, i ran %MAVEN_HOME%\bin\install_repo.bat c:\sample-echo\.maven\repository I think I may have a bad value for %HOMEDRIVE%%HOMEPATH% - 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: Newbie question
Thanks, i'll try this. I've looked in the repository (created by install_repo.bat) and i have found the file .maven\repository\log4j\jars\log4j-1.2.8.jar Shouldn't maven use this instead of trying to download it? I still think that I've created my repository incorrectly Can anyone tell me what i should specify for %HOMEDRIVE%%HOMEPATH% in the following statement? install_repo.bat %HOMEDRIVE%%HOMEPATH%\.maven\repository Cheers, Lance. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Thursday, 5 May 2005 5:03 PM To: Maven Users List Subject: Re: Newbie question Importance: Low You probably need to configure a proxy: http://maven.apache.org/reference/properties.html#Proxy_Properties On 5/5/05, Lance Semmens [EMAIL PROTECTED] wrote: I'm a Newbie to Maven and can't seem to get started. I've used the windows installer and installed maven. I'm trying to run the quick test (http://maven.apache.org/start/ten-minute-test.html) Here's the errror Attempting to download log4j-1.2.8.jar. Error retrieving artifact from [http://www.ibiblio.org/maven/log4j/jars/log4j-1.2.8.jar]: java.net.ConnectException: Connection timed out: connect WARNING: Failed to download log4j-1.2.8.jar. The build cannot continue because of the following unsatisfied dependency: log4j-1.2.8.jar When I hit http://www.ibiblio.org/maven/log4j/jars/log4j-1.2.8.jar in a browser, the connection works fine Here's how i've installed maven: The install told me to run the following: (http://maven.apache.org/start/install.html) %MAVEN_HOME%\bin\install_repo.bat %HOMEDRIVE%%HOMEPATH%\.maven\repository I've created the folder structures in the ten-minute-test in the folder c:\sample-echo I didn't know a value to use for %HOMEDRIVE%%HOMEPATH% so i'm using c:\sample-echo Therefore, i ran %MAVEN_HOME%\bin\install_repo.bat c:\sample-echo\.maven\repository I think I may have a bad value for %HOMEDRIVE%%HOMEPATH% - 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: Newbie question
exactly that (which ends up being c:\documents and settings\username - try echo %HOMEDRIVE%%HOMEPATH%). Cheers, Brett On 5/5/05, Lance Semmens [EMAIL PROTECTED] wrote: Thanks, i'll try this. I've looked in the repository (created by install_repo.bat) and i have found the file .maven\repository\log4j\jars\log4j-1.2.8.jar Shouldn't maven use this instead of trying to download it? I still think that I've created my repository incorrectly Can anyone tell me what i should specify for %HOMEDRIVE%%HOMEPATH% in the following statement? install_repo.bat %HOMEDRIVE%%HOMEPATH%\.maven\repository Cheers, Lance. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Thursday, 5 May 2005 5:03 PM To: Maven Users List Subject: Re: Newbie question Importance: Low You probably need to configure a proxy: http://maven.apache.org/reference/properties.html#Proxy_Properties On 5/5/05, Lance Semmens [EMAIL PROTECTED] wrote: I'm a Newbie to Maven and can't seem to get started. I've used the windows installer and installed maven. I'm trying to run the quick test (http://maven.apache.org/start/ten-minute-test.html) Here's the errror Attempting to download log4j-1.2.8.jar. Error retrieving artifact from [http://www.ibiblio.org/maven/log4j/jars/log4j-1.2.8.jar]: java.net.ConnectException: Connection timed out: connect WARNING: Failed to download log4j-1.2.8.jar. The build cannot continue because of the following unsatisfied dependency: log4j-1.2.8.jar When I hit http://www.ibiblio.org/maven/log4j/jars/log4j-1.2.8.jar in a browser, the connection works fine Here's how i've installed maven: The install told me to run the following: (http://maven.apache.org/start/install.html) %MAVEN_HOME%\bin\install_repo.bat %HOMEDRIVE%%HOMEPATH%\.maven\repository I've created the folder structures in the ten-minute-test in the folder c:\sample-echo I didn't know a value to use for %HOMEDRIVE%%HOMEPATH% so i'm using c:\sample-echo Therefore, i ran %MAVEN_HOME%\bin\install_repo.bat c:\sample-echo\.maven\repository I think I may have a bad value for %HOMEDRIVE%%HOMEPATH% - 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: Newbie question
Hi Lance, When you fixed your proxy problem, Maven has automatically downloaded the log4j library you've defined in project.xml from a central repository on the Internet and copied it on your local hard drive. It only gets downloaded once (unless you've defined a SNAPSHOT dependency which gets updated with every build). I am not sure why you'd need to run the install_repo script. I've never done this and it always worked fine. Brett? Thomas On 5/5/05, Brett Porter [EMAIL PROTECTED] wrote: exactly that (which ends up being c:\documents and settings\username - try echo %HOMEDRIVE%%HOMEPATH%). Cheers, Brett On 5/5/05, Lance Semmens [EMAIL PROTECTED] wrote: Thanks, i'll try this. I've looked in the repository (created by install_repo.bat) and i have found the file .maven\repository\log4j\jars\log4j-1.2.8.jar Shouldn't maven use this instead of trying to download it? I still think that I've created my repository incorrectly Can anyone tell me what i should specify for %HOMEDRIVE%%HOMEPATH% in the following statement? install_repo.bat %HOMEDRIVE%%HOMEPATH%\.maven\repository Cheers, Lance. -Original Message- Wrom: NVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWC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LMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZF
Release Schedule of maven 2
Hi Folks, I´m new to maven and went through the readme´s to get a quick overview of maven. I found the link to maven 2 projekt and the commendation to use it. I normally don´t try to use alpha versions of softwaretools but I also read that maven 2 is bringing big changes and that it is harder to get into maven 1. What do you recommend? Is the release of maven 2 comming soon? Is there a release plan (couldn´t find one on the maven site)? Thanks for your help! Regards, Chris http://dict.leo.org/se?lp=endep=/Mn4k.search=commendation - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven - IF Tag problem
Hi All Problem Statement: The condition in the IF tag does not validate correctly, when any variable retrieved from the property file is being used in the condition. We tried to retrieve a variable from the property file build.properties and assign it to another variable so that it can be used in the IF tag for validation. The IF tag returns 'True' in false condition and vice versa. The maven.xml contains the following code: project default=a xmlns:j=jelly:core goal name=a j:set var=a value=${c}/ j:if test=${a == 'yes'} echo message=Success/ /j:if /goal /project The build.properties file contains a name value pair c=yes Actual Output: __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 BUILD SUCCESSFUL Total time: 1 seconds Finished at: Thu May 05 17:15:50 IST 2005 Expected Output: __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 build:start: a: [echo] Success BUILD SUCCESSFUL Total time: 2 seconds Finished at: Thu May 05 17:18:29 IST 2005 Question: Please provide some clue to solve this problem Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments.
RE: Maven - IF Tag problem
Hi, For me its not an issue. Let s try to define the variable a as a String: j:set var=a${c}/j:set Cheers, Vincent -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, May 05, 2005 8:17 AM To: users@maven.apache.org Subject: Maven - IF Tag problem Hi All Problem Statement: The condition in the IF tag does not validate correctly, when any variable retrieved from the property file is being used in the condition. We tried to retrieve a variable from the property file build.properties and assign it to another variable so that it can be used in the IF tag for validation. The IF tag returns 'True' in false condition and vice versa. The maven.xml contains the following code: project default=a xmlns:j=jelly:core goal name=a j:set var=a value=${c}/ j:if test=${a == 'yes'} echo message=Success/ /j:if /goal /project The build.properties file contains a name value pair c=yes Actual Output: __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 BUILD SUCCESSFUL Total time: 1 seconds Finished at: Thu May 05 17:15:50 IST 2005 Expected Output: __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 build:start: a: [echo] Success BUILD SUCCESSFUL Total time: 2 seconds Finished at: Thu May 05 17:18:29 IST 2005 Question: Please provide some clue to solve this problem Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FW: Maven2 jar classpath
Brett, I tried using addClasspath tag again few days ago. Still does not work for the default compile scope. I assume I have to wait for the next alpha release to get your fix. For the time being I am using manifestFile feature. However, even if addClasspath works, the way it is now is not very useful (I mentioned this problem in one of my previous postings). It will include dependent jar file names without any directory prefix, like if they are sitting in the same directory. But they are not in the same directory! For example, my program ...repository/mygroup/myprog/1.0/myprog-1.0.jar depends on ...repository/commons-collections/commons-collections/3.1/commons-collec tions-3.1.jar The classpath generated by maven will have commons-collections-3.1.jar, but it should have ../../../commons-collections/commons-collections/3.1/commons-collection s-3.1.jar. Then I really can run my jar file out of repository. Any thoughts? -Original Message- From: Ilyevsky, Leonid (Equity Trading) Sent: Friday, April 22, 2005 7:12 PM To: 'Brett Porter' Subject: RE: Maven2 jar classpath Thanks Brett. I will try it Monday (it is time now to go home). One more related question. The classpath I am getting this way will list just the names of the jar files (no path). So, it will work if my program's jar file and all dependencies are all in one directory. I guess, this is reasonable, to have it in one directory in runtime environment. The question is, can maven2 automatically put my program jar and all dependencies in one directory? Or something equivalent to this, so after doing m2 deploy I can run it with java -jar myprog.jar. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Friday, April 22, 2005 6:53 PM To: Ilyevsky, Leonid (Equity Trading) Cc: Maven Users List Subject: Re: Maven2 jar classpath On 4/23/05, Ilyevsky, Leonid (Equity Trading) [EMAIL PROTECTED] wrote: The problem is that artifacts with the compile scope don't get into the runtime classpath, I'm pretty sure they do. so when I use addClasspathtrue/addClasspath, they do not show up in the manifest. Ok, there was a bug in the addClasspath handling. Fixed. If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Reports are empty running under Maven
I'm running jcoverage reports for our projects, and haven't seen anything like this. I see a jcoverage.ser file in the root of every project, but that's it. Do any of your tests change the current directory or do anything else with the file system? -Original Message- From: Nelson, Jim [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 04, 2005 9:21 PM To: 'users@maven.apache.org' Subject: Reports are empty running under Maven Running jcoverage from Maven, generates reports with 0 hits. Interstingly, two jcoverage.ser files are generated, one in the root directory of the project and one alongside the test classes. It appears that the one in the root directory gets created when the classes are instrumented, and then it never gets updated again. The one in the test classes appears to be updated as junit is running the unit tests on the instrumented classes. Any ideas? - 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: FW: Maven2 jar classpath
On 5/5/05, Ilyevsky, Leonid (Equity Trading) [EMAIL PROTECTED] wrote: I assume I have to wait for the next alpha release to get your fix. For the time being I am using manifestFile feature. Correct. The classpath generated by maven will have commons-collections-3.1.jar, but it should have ../../../commons-collections/commons-collections/3.1/commons-collection s-3.1.jar. Then I really can run my jar file out of repository. That's not very portable if you want to move the JAR around, though. Any thoughts? I think that the Classpath: manifest entry is not very useful :) You might like to try the jar-with-dependencies assembly that simply folds all of the JARs into one. Or zip all the dependencies up in one directory. We are looking into more sophisticated ways of building distributables along these lines. Cheers, Brett - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven - IF Tag problem
Thanks man it's working. -Original Message- From: Vincent Siveton [mailto:[EMAIL PROTECTED] Sent: Thursday, May 05, 2005 5:58 PM To: 'Maven Users List' Subject: RE: Maven - IF Tag problem Hi, For me its not an issue. Let s try to define the variable a as a String: j:set var=a${c}/j:set Cheers, Vincent -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, May 05, 2005 8:17 AM To: users@maven.apache.org Subject: Maven - IF Tag problem Hi All Problem Statement: The condition in the IF tag does not validate correctly, when any variable retrieved from the property file is being used in the condition. We tried to retrieve a variable from the property file build.properties and assign it to another variable so that it can be used in the IF tag for validation. The IF tag returns 'True' in false condition and vice versa. The maven.xml contains the following code: project default=a xmlns:j=jelly:core goal name=a j:set var=a value=${c}/ j:if test=${a == 'yes'} echo message=Success/ /j:if /goal /project The build.properties file contains a name value pair c=yes Actual Output: __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 BUILD SUCCESSFUL Total time: 1 seconds Finished at: Thu May 05 17:15:50 IST 2005 Expected Output: __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 build:start: a: [echo] Success BUILD SUCCESSFUL Total time: 2 seconds Finished at: Thu May 05 17:18:29 IST 2005 Question: Please provide some clue to solve this problem Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven - IF Tag problem
I think this is another place where the docs (or the examples in the docs) don't quite match reality. I've seen similar problems trying to access properties/variables in this way, and noticed that code used in the plugins looked different. Try something like this: j:if test=${context.getVariable('a') == 'yes'} echo message=Success/ /j:if -Original Message- From: Vincent Siveton [mailto:[EMAIL PROTECTED] Sent: Thursday, May 05, 2005 6:28 AM To: 'Maven Users List' Subject: RE: Maven - IF Tag problem Hi, For me its not an issue. Let s try to define the variable a as a String: j:set var=a${c}/j:set Cheers, Vincent -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, May 05, 2005 8:17 AM To: users@maven.apache.org Subject: Maven - IF Tag problem Hi All Problem Statement: The condition in the IF tag does not validate correctly, when any variable retrieved from the property file is being used in the condition. We tried to retrieve a variable from the property file build.properties and assign it to another variable so that it can be used in the IF tag for validation. The IF tag returns 'True' in false condition and vice versa. The maven.xml contains the following code: project default=a xmlns:j=jelly:core goal name=a j:set var=a value=${c}/ j:if test=${a == 'yes'} echo message=Success/ /j:if /goal /project The build.properties file contains a name value pair c=yes Actual Output: __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 BUILD SUCCESSFUL Total time: 1 seconds Finished at: Thu May 05 17:15:50 IST 2005 Expected Output: __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 build:start: a: [echo] Success BUILD SUCCESSFUL Total time: 2 seconds Finished at: Thu May 05 17:18:29 IST 2005 Question: Please provide some clue to solve this problem Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments. - 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 - IF Tag problem
== != equals() ;-) On 5/5/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Thanks man it's working. -Original Message- Wrom:
Re: Release Schedule of maven 2
On 5/5/05, Christian Schlaefcke [EMAIL PROTECTED] wrote: What do you recommend? I can't recommend any more than what I wrote here: http://maven.apache.org/maven2/maven1.html#m1-or-m2 It is alpha software and will change, but we intend to help out early adopters as much as possible. The second alpha should prove fairly stable through until the final release, although it will not be feature complete. Is the release of maven 2 comming soon? Is there a release plan (couldn´t find one on the maven site)? http://maven.apache.org/maven2/about.html#release-schedule There is expected to be another alpha at the end of next week. We plan to go into beta testing in June, and have a final release early August. Cheers, Brett - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: FW: Maven2 jar classpath
I think the following workaround is acceptable. Take an advantage of the convenient uniqueness of the jar file names with their version numbers, dump all of them from repository to a single /lib directory. Then all executable jar files created with addClasspath feature will work. I also tried putting soft links in /lib. It does not help much; soft links to dependency libraries are OK, but the executable jar must be a real file, otherwise java is looking for dependencies in the wrong place. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Thursday, May 05, 2005 9:06 AM To: Ilyevsky, Leonid (Equity Trading) Cc: users@maven.apache.org Subject: Re: FW: Maven2 jar classpath On 5/5/05, Ilyevsky, Leonid (Equity Trading) [EMAIL PROTECTED] wrote: I assume I have to wait for the next alpha release to get your fix. For the time being I am using manifestFile feature. Correct. The classpath generated by maven will have commons-collections-3.1.jar, but it should have ../../../commons-collections/commons-collections/3.1/commons-collection s-3.1.jar. Then I really can run my jar file out of repository. That's not very portable if you want to move the JAR around, though. Any thoughts? I think that the Classpath: manifest entry is not very useful :) You might like to try the jar-with-dependencies assembly that simply folds all of the JARs into one. Or zip all the dependencies up in one directory. We are looking into more sophisticated ways of building distributables along these lines. Cheers, Brett If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
preGoal - how to stop the build ??
I have this: preGoal name=java:compile attainGoal name=goal1/ attainGoal name=goal2/ /preGoal If goal1 fails, the processing continues to try to run goal2. How do I make it stop if goal1 fails? Acually, I'd like the whole build to stop if any part of the preGoal fails. How do I do that? Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: FW: Maven2 jar classpath
Just one more thought. Brett said That's not very portable if you want to move the JAR around, though. Bit isn't it a part of maven philosophy that we should restrict ourselves of moving things around too much? If repository layout is a standard, why not use it at runtime, so we always know where to look for the specific version of any package. -Original Message- From: Ilyevsky, Leonid (Equity Trading) Sent: Thursday, May 05, 2005 9:25 AM To: Brett Porter Cc: users@maven.apache.org Subject: RE: FW: Maven2 jar classpath I think the following workaround is acceptable. Take an advantage of the convenient uniqueness of the jar file names with their version numbers, dump all of them from repository to a single /lib directory. Then all executable jar files created with addClasspath feature will work. I also tried putting soft links in /lib. It does not help much; soft links to dependency libraries are OK, but the executable jar must be a real file, otherwise java is looking for dependencies in the wrong place. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Thursday, May 05, 2005 9:06 AM To: Ilyevsky, Leonid (Equity Trading) Cc: users@maven.apache.org Subject: Re: FW: Maven2 jar classpath On 5/5/05, Ilyevsky, Leonid (Equity Trading) [EMAIL PROTECTED] wrote: I assume I have to wait for the next alpha release to get your fix. For the time being I am using manifestFile feature. Correct. The classpath generated by maven will have commons-collections-3.1.jar, but it should have ../../../commons-collections/commons-collections/3.1/commons-collection s-3.1.jar. Then I really can run my jar file out of repository. That's not very portable if you want to move the JAR around, though. Any thoughts? I think that the Classpath: manifest entry is not very useful :) You might like to try the jar-with-dependencies assembly that simply folds all of the JARs into one. Or zip all the dependencies up in one directory. We are looking into more sophisticated ways of building distributables along these lines. Cheers, Brett If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: preGoal - how to stop the build ??
What do you mean by fails? It certainly should stop dead if you hit ant:fail/ or an exception. - Brett On 5/5/05, Mark D. Hansen [EMAIL PROTECTED] wrote: I have this: preGoal name=java:compile attainGoal name=goal1/ attainGoal name=goal2/ /preGoal If goal1 fails, the processing continues to try to run goal2. How do I make it stop if goal1 fails? Acually, I'd like the whole build to stop if any part of the preGoal fails. How do I do that? 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]
RE: Maven - IF Tag problem
Thank you very much -Original Message- From: Thomas Van de Velde [mailto:[EMAIL PROTECTED] Sent: Thursday, May 05, 2005 6:42 PM To: Maven Users List Subject: Re: Maven - IF Tag problem == != equals() ;-) On 5/5/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Thanks man it's working. -Original Message- Wrom: UIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUW LSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYU CDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCR TNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGP KYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKM BIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOK STTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISH JEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWF AOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDAD RZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEA IJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZ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WLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFV WRKJVZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJS NBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQ EMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRN VWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJBLVL MHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZI DREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDG VCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHD MNNSKVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLB
RE: Maven - IF Tag problem
Thank you very much -Original Message- From: David Jackman [mailto:[EMAIL PROTECTED] Sent: Thursday, May 05, 2005 6:41 PM To: Maven Users List Subject: RE: Maven - IF Tag problem I think this is another place where the docs (or the examples in the docs) don't quite match reality. I've seen similar problems trying to access properties/variables in this way, and noticed that code used in the plugins looked different. Try something like this: j:if test=${context.getVariable('a') == 'yes'} echo message=Success/ /j:if -Original Message- From: Vincent Siveton [mailto:[EMAIL PROTECTED] Sent: Thursday, May 05, 2005 6:28 AM To: 'Maven Users List' Subject: RE: Maven - IF Tag problem Hi, For me its not an issue. Let s try to define the variable a as a String: j:set var=a${c}/j:set Cheers, Vincent -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, May 05, 2005 8:17 AM To: users@maven.apache.org Subject: Maven - IF Tag problem Hi All Problem Statement: The condition in the IF tag does not validate correctly, when any variable retrieved from the property file is being used in the condition. We tried to retrieve a variable from the property file build.properties and assign it to another variable so that it can be used in the IF tag for validation. The IF tag returns 'True' in false condition and vice versa. The maven.xml contains the following code: project default=a xmlns:j=jelly:core goal name=a j:set var=a value=${c}/ j:if test=${a == 'yes'} echo message=Success/ /j:if /goal /project The build.properties file contains a name value pair c=yes Actual Output: __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 BUILD SUCCESSFUL Total time: 1 seconds Finished at: Thu May 05 17:15:50 IST 2005 Expected Output: __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 build:start: a: [echo] Success BUILD SUCCESSFUL Total time: 2 seconds Finished at: Thu May 05 17:18:29 IST 2005 Question: Please provide some clue to solve this problem Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments. - 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] Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: plugin.jelly: a conditional prereqs
Another requirement is that I can't control the goal I am prereqing, its of the apache maven dist plugin. But if attainGoal would support it in the future, that would be the solution -- With kind regards, Geoffrey Thomas Van de Velde [EMAIL PROTECTED] schreef in bericht news:[EMAIL PROTECTED] This might work: goal name=only-once j:if test=${ihavebeencalled == null} ${systemScope.setProperty('ihavebeencalled', 'true')} echoI am doing this only once/echo /j:if /goal Thomas On 5/2/05, Brett Porter [EMAIL PROTECTED] wrote: There is actually a workaround such that you can specify the existing session to the attainGoal tag that has this affect (it can be found in JIRA). - Brett On 5/2/05, Arik Kfir [EMAIL PROTECTED] wrote: right, I missed that requirement.. actually, come to think of it - one could create a new jelly tag, which accepts a list of goal names, and attains them if they have not been attained yet (by using some plugin-context-level variables, which I assume are retained across the maven session). Would that be useful for anyone? Or does m1.1 already deal with that? Brett Porter wrote: That won't suit his requirement about not attaining twice. You can put the if statement inside the goal you are prereq'ing though. - Brett On 5/2/05, Arik Kfir [EMAIL PROTECTED] wrote: Consider instead of using 'prereqs' to use attainGoal instead, like this: goal name=myGoal j:if test=... attainGoal name=.../ /j:if /goal Geoffrey wrote: Hi, Can I do a conditional prereqs in a plugin.jelly? A goal should be attained conditionally based on a jelly expression, but if it's already attained in this build it shouldn't be attained either. - 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: Newbie question
Someone correct me if I am wrong, but I believe there is no requirement to run install_repo. It just does an initial download of some frequently used dependencies. Basically, by running it after installation, you pay an up front time cost as opposed to paying it the first time you actually try to do something requiring one of the often used dependencies. From my experience, it isn't overly useful. On 5/5/05, Thomas Van de Velde [EMAIL PROTECTED] wrote: Hi Lance, When you fixed your proxy problem, Maven has automatically downloaded the log4j library you've defined in project.xml from a central repository on the Internet and copied it on your local hard drive. It only gets downloaded once (unless you've defined a SNAPSHOT dependency which gets updated with every build). I am not sure why you'd need to run the install_repo script. I've never done this and it always worked fine. Brett? Thomas On 5/5/05, Brett Porter [EMAIL PROTECTED] wrote: exactly that (which ends up being c:\documents and settings\username - try echo %HOMEDRIVE%%HOMEPATH%). Cheers, Brett On 5/5/05, Lance Semmens [EMAIL PROTECTED] wrote: Thanks, i'll try this. I've looked in the repository (created by install_repo.bat) and i have found the file .maven\repository\log4j\jars\log4j-1.2.8.jar Shouldn't maven use this instead of trying to download it? I still think that I've created my repository incorrectly Can anyone tell me what i should specify for %HOMEDRIVE%%HOMEPATH% in the following statement? install_repo.bat %HOMEDRIVE%%HOMEPATH%\.maven\repository Cheers, Lance. -Original Message- Wrom: NVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARH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e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: preGoal - how to stop the build ??
goal1, goal2, are ant java ... tasks. I guess the java is failing in a way that does not throw an exception. Sorry for the stupid question! -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Thursday, May 05, 2005 9:56 AM To: Maven Users List Subject: Re: preGoal - how to stop the build ?? What do you mean by fails? It certainly should stop dead if you hit ant:fail/ or an exception. - Brett On 5/5/05, Mark D. Hansen [EMAIL PROTECTED] wrote: I have this: preGoal name=java:compile attainGoal name=goal1/ attainGoal name=goal2/ /preGoal If goal1 fails, the processing continues to try to run goal2. How do I make it stop if goal1 fails? Acually, I'd like the whole build to stop if any part of the preGoal fails. How do I do that? 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven war not jar'ing class files
One command this...one command that...geesh! http://jira.codehaus.org/browse/MPWAR-30 On 5/4/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I have set our project up to create a war file. I would like it to jar up the class files however, before it does so. How can I achieve this in one command? cheers, David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jamie Bisotti Software Engineer Lexmark International, Inc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: preGoal - how to stop the build ??
If the Ant task isn't failing, you can't expect Maven to fail. Look at the java tasks 'failonerror' attribute. You may need to modify your Java app to get this working. On 5/5/05, Mark D. Hansen [EMAIL PROTECTED] wrote: goal1, goal2, are ant java ... tasks. I guess the java is failing in a way that does not throw an exception. Sorry for the stupid question! -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Thursday, May 05, 2005 9:56 AM To: Maven Users List Subject: Re: preGoal - how to stop the build ?? What do you mean by fails? It certainly should stop dead if you hit ant:fail/ or an exception. - Brett On 5/5/05, Mark D. Hansen [EMAIL PROTECTED] wrote: I have this: preGoal name=java:compile attainGoal name=goal1/ attainGoal name=goal2/ /preGoal If goal1 fails, the processing continues to try to run goal2. How do I make it stop if goal1 fails? Acually, I'd like the whole build to stop if any part of the preGoal fails. How do I do that? 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jamie Bisotti Software Engineer Lexmark International, Inc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Newbie question
On 5/6/05, Jamie Bisotti [EMAIL PROTECTED] wrote: Someone correct me if I am wrong, ok :) Actually, install_repo copies the files from /lib into the local repository. It saves you about 5 mb of downloads that you already have. It's not ideal, and certainly the long term goal is to eliminate /lib and just use a repository. Cheers, Brett - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven war not jar'ing class files
On 5/6/05, Jamie Bisotti [EMAIL PROTECTED] wrote: One command this...one command that...geesh! http://jira.codehaus.org/browse/MPWAR-30 I'll respond to your comment here, instead. You said: I've mentioned this before on the mailing list...Maven needs to be careful to balance the Maven way vs. making things that should be trivial, hard on users. As someone mentioned above, this is strictly about packaging within a WAR; separate projects just to get your classes JAR'ed and placed in WEB-INF/lib is extreme overkill. The reason why I was only tending towards a negative vote and not flat out -1 is because of the reason you cite here. We don't go out of our way to make things difficult for users. Bear in mind something trivial, as you say, can easily be implemented in the user's maven.xml themselves. The reasons why I am leaning towards the negative on this: I've not received one good reason why this is actually useful. It would be nice with no justification just means we would be adding something of little value. Feature creep is a big problem in Maven 1.x, and it has lead to some of the plugins being quite confusing because you can do one thing in a large number of ways. It makes maintenance, testing and documentation harder. I know this feature seems trivial, but you have to draw the line somewhere. As long as we aren't stopping people from doing what they need to, I think this is the right choice to make. I also don't agree with your overkill statement. More than it should be perhaps, and Maven's mutliple project handling could be better, but at the end of the day you are moving 1 or 2 directories and creating two small files for the new subproject. That's not a lot for proper separation of code and presentation. Hope this clears it up, and am happy to field any more questions or concerns on the topic. Cheers, Brett - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Mevenide problem with eclipse 3.1M6
If there's anyone out there who's got the lowdown on eclipse and the mevenide plug-in, could you have a look at this problem please? I'm posting this here because it seems inappropriate to enter into mevenide's jira, and I can't find a more appropriate list. I started out with Eclipse 3.1M6 fresh out of the zip with no other plug-ins installed. I went along with the default workspace, which is new, since I made my workspace somewhere else in my previous Eclipse. Eclipse doesn't recognise the plug-in. There's no trace of the mevenide menus, and there's no record of it in the Eclipse Plug-ins Details in Eclipse/Help/About... There's no entry in .log file and there are no problems listed in the PDE Runtime view. The Download option from mevenide.codehaus.org fails with connection timeout problems (although I can see the site.xml in my browser). This is on windows XP with Java 1.5.0 I am very stuck. Can anyone give advice please? Thanks Adam http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
checking out m2
hi, I want to checkout m2's HEAD, what's the url, as http://svn.apache.org/viewcvs.cgi/maven/components/ which is on the project info isn't going to work with an svn client is it? thanks simon
Re: checking out m2
svn co http://svn.apache.org/repos/asf/maven/components/trunk We'll try and flesh out that page soon - thanks. - Brett On 5/6/05, Simon Matic Langford [EMAIL PROTECTED] wrote: hi, I want to checkout m2's HEAD, what's the url, as http://svn.apache.org/viewcvs.cgi/maven/components/ which is on the project info isn't going to work with an svn client is it? thanks simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Multi-language projects
Hi, I'm new to Maven and am looking at it to unify the build processes for all of the internal products my group supports. We have several J2EE projects that we're working on which makes Maven a good fit. But we also have several non-Java projects and what's worse is that some of our J2EE projects have other languages intertwined such as Perl and C and even some proprietary languages. I'm looking for two things...First, is anyone else out there using Maven to successfully manage non-java projects like this? If so, do you have any experiences/best practices that you can share? Secondly, Are there any plugins out there to do Perl validation or C compilation? My intuition is no since I can't find them on any of the Maven plugin pages. I wanted to make sure before I go writing my own. Regards, Thad Smith Senior Software Engineer Electric Reliability Council of Texas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Multi-language projects
On 5/5/05, Smith, Thad [EMAIL PROTECTED] wrote: Secondly, Are there any plugins out there to do Perl validation or C compilation? My intuition is no since I can't find them on any of the Maven plugin pages. I wanted to make sure before I go writing my own. Don't know about Perl, but for C, you can use maven 1.0.2 + maven native plugin (http://maven.apache.org/reference/plugins/native/index.html) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Multi-language projects
I am not aware of any plugins for C but you could call ant:exec/ from a custom plugin to execute a compilation script for your language. Your compilation scripts can be packaged within a plugin and executed on any machine that has the a On 5/5/05, Smith, Thad [EMAIL PROTECTED] wrote: Hi, I'm new to Maven and am looking at it to unify the build processes for all of the internal products my group supports. We have several J2EE projects that we're working on which makes Maven a good fit. But we also have several non-Java projects and what's worse is that some of our J2EE projects have other languages intertwined such as Perl and C and even some proprietary languages. I'm looking for two things...First, is anyone else out there using Maven to successfully manage non-java projects like this? If so, do you have any experiences/best practices that you can share? Secondly, Are there any plugins out there to do Perl validation or C compilation? My intuition is no since I can't find them on any of the Maven plugin pages. I wanted to make sure before I go writing my own. Regards, Thad Smith Senior Software Engineer Electric Reliability Council of Texas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Multi-language projects
I have good success using maven-native-plugin, but 1. it uses ant's cpp-tasks which is not in active development 2. cpp-task does not support 'C', but there are uncommitted patches. cpp-task is fairly straight forward to maintain yourself . (which can be bad) 3. This plugin also not complete yet to handle diffirents native library formats (ie .dll. so. sl. a, etc) but you can fixed it yourself Overall, despite of all those above, it is well worth the switch to achieve unify and predictable build system. -D On 5/5/05, baleineca [EMAIL PROTECTED] wrote: On 5/5/05, Smith, Thad [EMAIL PROTECTED] wrote: Secondly, Are there any plugins out there to do Perl validation or C compilation? My intuition is no since I can't find them on any of the Maven plugin pages. I wanted to make sure before I go writing my own. Don't know about Perl, but for C, you can use maven 1.0.2 + maven native plugin (http://maven.apache.org/reference/plugins/native/index.html) - 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.jelly: a conditional prereqs
But couldn't you do: pregoal name=dist:whatever j:if test=${ithasbeencalled == null} ${systemScope.setProperty('ithasbeencalled', 'true')} /j:if /pregoal goal name=whatevergoalthatwantstocalldist j:if test=${ithasbeencalled != null} attainGoal name=dist:whatever/ /j:if /goal On 5/5/05, Geoffrey [EMAIL PROTECTED] wrote: Another requirement is that I can't control the goal I am prereqing, its of the apache maven dist plugin. But if attainGoal would support it in the future, that would be the solution -- With kind regards, Geoffrey Thomas Van de Velde [EMAIL PROTECTED] schreef in bericht news:[EMAIL PROTECTED] This might work: goal name=only-once j:if test=${ihavebeencalled == null} ${systemScope.setProperty('ihavebeencalled', 'true')} echoI am doing this only once/echo /j:if /goal Thomas On 5/2/05, Brett Porter [EMAIL PROTECTED] wrote: There is actually a workaround such that you can specify the existing session to the attainGoal tag that has this affect (it can be found in JIRA). - Brett On 5/2/05, Arik Kfir [EMAIL PROTECTED] wrote: right, I missed that requirement.. actually, come to think of it - one could create a new jelly tag, which accepts a list of goal names, and attains them if they have not been attained yet (by using some plugin-context-level variables, which I assume are retained across the maven session). Would that be useful for anyone? Or does m1.1 already deal with that? Brett Porter wrote: That won't suit his requirement about not attaining twice. You can put the if statement inside the goal you are prereq'ing though. - Brett On 5/2/05, Arik Kfir [EMAIL PROTECTED] wrote: Consider instead of using 'prereqs' to use attainGoal instead, like this: goal name=myGoal j:if test=... attainGoal name=.../ /j:if /goal Geoffrey wrote: Hi, Can I do a conditional prereqs in a plugin.jelly? A goal should be attained conditionally based on a jelly expression, but if it's already attained in this build it shouldn't be attained either. - 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]
Two artifacts for one project
Hi everyone, We have a legacy directory structure of components that I want to convert to maven. The context I have is that for some components (maven project), a custom ant-task generates two different jars for it. root/ |component project.xml |target/ |-componentEjb-version.jar |-component-version.jar So for installing these into the repository, I am using the artifact:install goal with 2 different types: jar ejb, which installs 2 separate jars into the local repository. But I cannot retrieve one of the two jar as both uses the same pom. My question is, is it possible for me to specify a different pom then the current one ${pom} when using the goal artifact:install? And if I am using the same pom for both artifacts of different types, how do I refer to both as dependencies. I've tried it but it does not work. Thanks, Khiet.
Re: Two artifacts for one project
You should call ejb:install and jar:install. artifact:install is a lower-level goal that should not be used directly. When you call ejb:install, your ejb will be installed in an ejbs folder. When you call jar:install, your jar is copied to a jars folder. You can now use them as a dependency by setting typeejb/type or typejar/type (The latter can be left out as by default dependencies resolve to jar. Thomas On 5/5/05, Tran, Khiet [EMAIL PROTECTED] wrote: Hi everyone, We have a legacy directory structure of components that I want to convert to maven. The context I have is that for some components (maven project), a custom ant-task generates two different jars for it. root/ |component project.xml |target/ |-componentEjb-version.jar |-component-version.jar So for installing these into the repository, I am using the artifact:install goal with 2 different types: jar ejb, which installs 2 separate jars into the local repository. But I cannot retrieve one of the two jar as both uses the same pom. My question is, is it possible for me to specify a different pom then the current one ${pom} when using the goal artifact:install? And if I am using the same pom for both artifacts of different types, how do I refer to both as dependencies. I've tried it but it does not work. Thanks, Khiet.
Re: Acquiring project properties from the Reactor results?
I have faced the same problem. Is there an easy solution? I am going to try to manipulate the pom through Java to see if that works. Would be great to hear if there's another (easier) way ... On 5/5/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I'm using the following jelly script to get a list of the projects and their properties. The project (POM) level items like pom.artifactId are being resolved. However, all the project related properties are returning empty strings. I basically pulled the following script out of a couple examples so I do not understand what is being returned in the reactorProject variable. If you could point me to some documentation in that area I would appreciate it. How should I access the project's properties? Also, is there a way to have the reactor process each project without trying to set up the project's dependencies? maven:reactor basedir=${maven.multiproject.basedir} postProcessing=true includes=${maven.multiproject.includes} excludes=${maven.multiproject.excludes} ignoreFailures=true/ j:forEach var=reactorProject items=${reactorProjects} j:set var=prj.groupId value=${reactorProject.groupId} trim=true / j:set var=prj.artifactId value=${reactorProject.artifactId} trim=true / j:set var=prj.ServerName value=${reactorProject.context.getVariable('server.deployment.namehttp://server.deployment.name ')} trim=true / j:set var=prj.multiproject.type value=${reactorProject.context.getVariable('maven.multiproject.type')} trim=true / j:set var=prj.archive.final.name http://prj.archive.final.name value=${reactorProject.context.getVariable('archive.final.namehttp://archive.final.name ')} trim=true / attainGoal name=deployComponent/ /j:forEach Bud Curtis JDIMS Project L-3 Communications (719) 637-5633 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Two artifacts for one project
Better yet, you should split your code in 2 projects, one for component, and one for EJB which depends on the first one. Steve On Thu, 2005-05-05 at 19:36 +0200, Thomas Van de Velde wrote: You should call ejb:install and jar:install. artifact:install is a lower-level goal that should not be used directly. When you call ejb:install, your ejb will be installed in an ejbs folder. When you call jar:install, your jar is copied to a jars folder. You can now use them as a dependency by setting typeejb/type or typejar/type (The latter can be left out as by default dependencies resolve to jar. Thomas On 5/5/05, Tran, Khiet [EMAIL PROTECTED] wrote: Hi everyone, We have a legacy directory structure of components that I want to convert to maven. The context I have is that for some components (maven project), a custom ant-task generates two different jars for it. root/ |component project.xml |target/ |-componentEjb-version.jar |-component-version.jar So for installing these into the repository, I am using the artifact:install goal with 2 different types: jar ejb, which installs 2 separate jars into the local repository. But I cannot retrieve one of the two jar as both uses the same pom. My question is, is it possible for me to specify a different pom then the current one ${pom} when using the goal artifact:install? And if I am using the same pom for both artifacts of different types, how do I refer to both as dependencies. I've tried it but it does not work. Thanks, Khiet.
[m2] svn access
hi, I tried to guess the svn url from the maven 1 instructions and the viewcvs link as: http://svn.apache.org/repos/asf/maven/components/trunk but it doesn't seem to work, any ideas? F:\m2-svnsvn co http://svn.apache.org/repos/asf/maven/components/trunk maven/components/trunk svn: PROPFIND request failed on '/repos/asf/maven/components/trunk' svn: PROPFIND of '/repos/asf/maven/components/trunk': Could not read status line: An existing connection was forcibly closed by the remote host. (http://svn.apache.org) thanks simon The information contained in this e-mail is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If You are not the intended recipient of this e-mail, the use of this information or any disclosure, copying or distribution is Prohibited and may be unlawful. If you received this in error, please contact the sender and delete the material from any computer. The views expressed in this e-mail may not necessarily be the views of The PCMS Group plc and should not be taken as authority to carry out any instruction contained.
Re: Two artifacts for one project
Khiet, did you use custom ant tasks to build your jar and jeb? -D On 5/5/05, Steve Molloy [EMAIL PROTECTED] wrote: Better yet, you should split your code in 2 projects, one for component, and one for EJB which depends on the first one. Steve On Thu, 2005-05-05 at 19:36 +0200, Thomas Van de Velde wrote: You should call ejb:install and jar:install. artifact:install is a lower-level goal that should not be used directly. When you call ejb:install, your ejb will be installed in an ejbs folder. When you call jar:install, your jar is copied to a jars folder. You can now use them as a dependency by setting typeejb/type or typejar/type (The latter can be left out as by default dependencies resolve to jar. Thomas On 5/5/05, Tran, Khiet [EMAIL PROTECTED] wrote: Hi everyone, We have a legacy directory structure of components that I want to convert to maven. The context I have is that for some components (maven project), a custom ant-task generates two different jars for it. root/ |component project.xml |target/ |-componentEjb-version.jar |-component-version.jar So for installing these into the repository, I am using the artifact:install goal with 2 different types: jar ejb, which installs 2 separate jars into the local repository. But I cannot retrieve one of the two jar as both uses the same pom. My question is, is it possible for me to specify a different pom then the current one ${pom} when using the goal artifact:install? And if I am using the same pom for both artifacts of different types, how do I refer to both as dependencies. I've tried it but it does not work. Thanks, Khiet. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Newbie question
In that case could this this not be removed from M1? I see little added value. T On 5/5/05, Brett Porter [EMAIL PROTECTED] wrote: On 5/6/05, Jamie Bisotti [EMAIL PROTECTED] wrote: Someone correct me if I am wrong, ok :) Actually, install_repo copies the files from /lib into the local repository. It saves you about 5 mb of downloads that you already have. It's not ideal, and certainly the long term goal is to eliminate /lib and just use a repository. Cheers, Brett - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Mevenide problem with eclipse 3.1M6
Adam, Try this: http://mevenide.codehaus.org/release/eclipse/update/3.0/ Thomas On 5/5/05, Adam Hardy [EMAIL PROTECTED] wrote: If there's anyone out there who's got the lowdown on eclipse and the mevenide plug-in, could you have a look at this problem please? I'm posting this here because it seems inappropriate to enter into mevenide's jira, and I can't find a more appropriate list. I started out with Eclipse 3.1M6 fresh out of the zip with no other plug-ins installed. I went along with the default workspace, which is new, since I made my workspace somewhere else in my previous Eclipse. Eclipse doesn't recognise the plug-in. There's no trace of the mevenide menus, and there's no record of it in the Eclipse Plug-ins Details in Eclipse/Help/About... There's no entry in .log file and there are no problems listed in the PDE Runtime view. The Download option from mevenide.codehaus.orghttp://mevenide.codehaus.orgfails with connection timeout problems (although I can see the site.xml in my browser). This is on windows XP with Java 1.5.0 I am very stuck. Can anyone give advice please? Thanks Adam http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] svn access
Your proxy does not allow PROPFIND http method. Ask your administrator to configure proxy server. On 5/5/05, Simon Matic Langford [EMAIL PROTECTED] wrote: hi, I tried to guess the svn url from the maven 1 instructions and the viewcvs link as: http://svn.apache.org/repos/asf/maven/components/trunk but it doesn't seem to work, any ideas? F:\m2-svnsvn co http://svn.apache.org/repos/asf/maven/components/trunk maven/components/trunk svn: PROPFIND request failed on '/repos/asf/maven/components/trunk' svn: PROPFIND of '/repos/asf/maven/components/trunk': Could not read status line: An existing connection was forcibly closed by the remote host. (http://svn.apache.org) thanks simon The information contained in this e-mail is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If You are not the intended recipient of this e-mail, the use of this information or any disclosure, copying or distribution is Prohibited and may be unlawful. If you received this in error, please contact the sender and delete the material from any computer. The views expressed in this e-mail may not necessarily be the views of The PCMS Group plc and should not be taken as authority to carry out any instruction contained. -- anatol - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Two artifacts for one project
Yes, and following Thomas' recommendations, I opened ejb:install and it uses artifact:install exactly as I do. The difference between ejb:ejb/ejb:ejb-client and our custom ant-task is that I need both artifacts into my ear. I cannot get both (ejb/jar) into my ear through dependency, which is not needed for ejb:ejb produced artifact. -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Thursday, May 05, 2005 3:06 PM To: Maven Users List Subject: Re: Two artifacts for one project Khiet, did you use custom ant tasks to build your jar and jeb? -D On 5/5/05, Steve Molloy [EMAIL PROTECTED] wrote: Better yet, you should split your code in 2 projects, one for component, and one for EJB which depends on the first one. Steve On Thu, 2005-05-05 at 19:36 +0200, Thomas Van de Velde wrote: You should call ejb:install and jar:install. artifact:install is a lower-level goal that should not be used directly. When you call ejb:install, your ejb will be installed in an ejbs folder. When you call jar:install, your jar is copied to a jars folder. You can now use them as a dependency by setting typeejb/type or typejar/type (The latter can be left out as by default dependencies resolve to jar. Thomas On 5/5/05, Tran, Khiet [EMAIL PROTECTED] wrote: Hi everyone, We have a legacy directory structure of components that I want to convert to maven. The context I have is that for some components (maven project), a custom ant-task generates two different jars for it. root/ |component project.xml |target/ |-componentEjb-version.jar |-component-version.jar So for installing these into the repository, I am using the artifact:install goal with 2 different types: jar ejb, which installs 2 separate jars into the local repository. But I cannot retrieve one of the two jar as both uses the same pom. My question is, is it possible for me to specify a different pom then the current one ${pom} when using the goal artifact:install? And if I am using the same pom for both artifacts of different types, how do I refer to both as dependencies. I've tried it but it does not work. Thanks, Khiet. - 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]
IntelliJ
Has anyone got a working version of Mevenide for Intellij 4.5.4? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Two artifacts for one project
Khiet, If you really do not want to change your source folders to seperate the ejb code from your library code, you'll have to play around with the following properties: maven.ejb.includes maven.ejb.excludes maven.jar.excludes maven.jar.includes But as Steve already mentioned, this is not the recommended approach to build an EJB or JAR. I'd seperate both, each with its own project.xml. You can then use a reactor if you decide to have both source folders in the same project. But you could also create two seperate projects each with its own project.xml at the root. (which is something you are forced to do if you use WSAD and want to continue to use its J2EE plugins) Did you take a look at the Genapp plugin? You can run it with the complex template for an example of the first option. Thomas On 5/5/05, Tran, Khiet [EMAIL PROTECTED] wrote: Yes, and following Thomas' recommendations, I opened ejb:install and it uses artifact:install exactly as I do. The difference between ejb:ejb/ejb:ejb-client and our custom ant-task is that I need both artifacts into my ear. I cannot get both (ejb/jar) into my ear through dependency, which is not needed for ejb:ejb produced artifact. -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Thursday, May 05, 2005 3:06 PM To: Maven Users List Subject: Re: Two artifacts for one project Khiet, did you use custom ant tasks to build your jar and jeb? -D On 5/5/05, Steve Molloy [EMAIL PROTECTED] wrote: Better yet, you should split your code in 2 projects, one for component, and one for EJB which depends on the first one. Steve On Thu, 2005-05-05 at 19:36 +0200, Thomas Van de Velde wrote: You should call ejb:install and jar:install. artifact:install is a lower-level goal that should not be used directly. When you call ejb:install, your ejb will be installed in an ejbs folder. When you call jar:install, your jar is copied to a jars folder. You can now use them as a dependency by setting typeejb/type or typejar/type (The latter can be left out as by default dependencies resolve to jar. Thomas On 5/5/05, Tran, Khiet [EMAIL PROTECTED] wrote: Hi everyone, We have a legacy directory structure of components that I want to convert to maven. The context I have is that for some components (maven project), a custom ant-task generates two different jars for it. root/ |component project.xml |target/ |-componentEjb-version.jar |-component-version.jar So for installing these into the repository, I am using the artifact:install goal with 2 different types: jar ejb, which installs 2 separate jars into the local repository. But I cannot retrieve one of the two jar as both uses the same pom. My question is, is it possible for me to specify a different pom then the current one ${pom} when using the goal artifact:install? And if I am using the same pom for both artifacts of different types, how do I refer to both as dependencies. I've tried it but it does not work. Thanks, Khiet. - 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: Multi-language projects
Thanks, Easy enough... Does anyone know if there is a way to read the output from an ant:exec/ task (which could be multi-line) to determine if the compilation was in fact successful? If not, I'll probably need to write an ant task to do this. Thad Smith -Original Message- From: Thomas Van de Velde [mailto:[EMAIL PROTECTED] Sent: Thursday, May 05, 2005 11:25 AM To: Maven Users List Subject: Re: Multi-language projects I am not aware of any plugins for C but you could call ant:exec/ from a custom plugin to execute a compilation script for your language. Your compilation scripts can be packaged within a plugin and executed on any machine that has the a On 5/5/05, Smith, Thad [EMAIL PROTECTED] wrote: Hi, I'm new to Maven and am looking at it to unify the build processes for all of the internal products my group supports. We have several J2EE projects that we're working on which makes Maven a good fit. But we also have several non-Java projects and what's worse is that some of our J2EE projects have other languages intertwined such as Perl and C and even some proprietary languages. I'm looking for two things...First, is anyone else out there using Maven to successfully manage non-java projects like this? If so, do you have any experiences/best practices that you can share? Secondly, Are there any plugins out there to do Perl validation or C compilation? My intuition is no since I can't find them on any of the Maven plugin pages. I wanted to make sure before I go writing my own. Regards, Thad Smith Senior Software Engineer Electric Reliability Council of Texas - 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: Multi-language projects
Thad, You can use the following parameters: spawn=false failonerror=true and a couple of others which are documented here: http://ant.apache.org/manual/CoreTasks/exec.html On 5/5/05, Smith, Thad [EMAIL PROTECTED] wrote: Thanks, Easy enough... Does anyone know if there is a way to read the output from an ant:exec/ task (which could be multi-line) to determine if the compilation was in fact successful? If not, I'll probably need to write an ant task to do this. Thad Smith -Original Message- From: Thomas Van de Velde [mailto:[EMAIL PROTECTED] Sent: Thursday, May 05, 2005 11:25 AM To: Maven Users List Subject: Re: Multi-language projects I am not aware of any plugins for C but you could call ant:exec/ from a custom plugin to execute a compilation script for your language. Your compilation scripts can be packaged within a plugin and executed on any machine that has the a On 5/5/05, Smith, Thad [EMAIL PROTECTED] wrote: Hi, I'm new to Maven and am looking at it to unify the build processes for all of the internal products my group supports. We have several J2EE projects that we're working on which makes Maven a good fit. But we also have several non-Java projects and what's worse is that some of our J2EE projects have other languages intertwined such as Perl and C and even some proprietary languages. I'm looking for two things...First, is anyone else out there using Maven to successfully manage non-java projects like this? If so, do you have any experiences/best practices that you can share? Secondly, Are there any plugins out there to do Perl validation or C compilation? My intuition is no since I can't find them on any of the Maven plugin pages. I wanted to make sure before I go writing my own. Regards, Thad Smith Senior Software Engineer Electric Reliability Council of Texas - 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: Mevenide problem with eclipse 3.1M6
I just installed mevenide today on Windows XP Pro with Eclipse 3.1M6 and Java 5. I used http://mevenide.codehaus.org/release/eclipse/update/site.xml. Just to make sure, do you have a proxy server on your network? If so, you'll need to set up the proxy in Eclipse. I haven't had much luck with the plugin unfortunately. While it installs no problem and I have menus, I haven't been able to get POM synchronization working and the registeded editor for POM files displays every tab in some corrupted view. On 5/5/05, Adam Hardy [EMAIL PROTECTED] wrote: If there's anyone out there who's got the lowdown on eclipse and the mevenide plug-in, could you have a look at this problem please? I'm posting this here because it seems inappropriate to enter into mevenide's jira, and I can't find a more appropriate list. I started out with Eclipse 3.1M6 fresh out of the zip with no other plug-ins installed. I went along with the default workspace, which is new, since I made my workspace somewhere else in my previous Eclipse. Eclipse doesn't recognise the plug-in. There's no trace of the mevenide menus, and there's no record of it in the Eclipse Plug-ins Details in Eclipse/Help/About... There's no entry in .log file and there are no problems listed in the PDE Runtime view. The Download option from mevenide.codehaus.org fails with connection timeout problems (although I can see the site.xml in my browser). This is on windows XP with Java 1.5.0 I am very stuck. Can anyone give advice please? Thanks Adam http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. - 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: Multi-language projects
Perfect. Thanks, Thad -Original Message- From: Thomas Van de Velde [mailto:[EMAIL PROTECTED] Sent: Thursday, May 05, 2005 3:05 PM To: Maven Users List Subject: Re: Multi-language projects Thad, You can use the following parameters: spawn=false failonerror=true and a couple of others which are documented here: http://ant.apache.org/manual/CoreTasks/exec.html On 5/5/05, Smith, Thad [EMAIL PROTECTED] wrote: Thanks, Easy enough... Does anyone know if there is a way to read the output from an ant:exec/ task (which could be multi-line) to determine if the compilation was in fact successful? If not, I'll probably need to write an ant task to do this. Thad Smith -Original Message- From: Thomas Van de Velde [mailto:[EMAIL PROTECTED] Sent: Thursday, May 05, 2005 11:25 AM To: Maven Users List Subject: Re: Multi-language projects I am not aware of any plugins for C but you could call ant:exec/ from a custom plugin to execute a compilation script for your language. Your compilation scripts can be packaged within a plugin and executed on any machine that has the a On 5/5/05, Smith, Thad [EMAIL PROTECTED] wrote: Hi, I'm new to Maven and am looking at it to unify the build processes for all of the internal products my group supports. We have several J2EE projects that we're working on which makes Maven a good fit. But we also have several non-Java projects and what's worse is that some of our J2EE projects have other languages intertwined such as Perl and C and even some proprietary languages. I'm looking for two things...First, is anyone else out there using Maven to successfully manage non-java projects like this? If so, do you have any experiences/best practices that you can share? Secondly, Are there any plugins out there to do Perl validation or C compilation? My intuition is no since I can't find them on any of the Maven plugin pages. I wanted to make sure before I go writing my own. Regards, Thad Smith Senior Software Engineer Electric Reliability Council of Texas - 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: Multi-language projects
Hi we started with the native plugin for C and C++ and extended it for Fortran and use cross-platform libraries (nar files) and include packages. Have a look at: http://java.freehep.org/freehep-nar-plugin for maven 1.0.2 for now. Regards Mark Donszelmann -Original Message- From: Smith, Thad [mailto:[EMAIL PROTECTED] Sent: Thursday, May 05, 2005 9:08 AM To: Maven Users List Subject: Multi-language projects Hi, I'm new to Maven and am looking at it to unify the build processes for all of the internal products my group supports. We have several J2EE projects that we're working on which makes Maven a good fit. But we also have several non-Java projects and what's worse is that some of our J2EE projects have other languages intertwined such as Perl and C and even some proprietary languages. I'm looking for two things...First, is anyone else out there using Maven to successfully manage non-java projects like this? If so, do you have any experiences/best practices that you can share? Secondly, Are there any plugins out there to do Perl validation or C compilation? My intuition is no since I can't find them on any of the Maven plugin pages. I wanted to make sure before I go writing my own. Regards, Thad Smith Senior Software Engineer Electric Reliability Council of Texas - 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]
Multiproject builds orderring
Hello, I have 2 sub trees, both does not depend on each other. root/ tree1/ tree2/ Can I make multiproject to build a specific tree first? -Dan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Multiproject builds orderring
currently it is alphabetical. - Brett On 5/6/05, dan tran [EMAIL PROTECTED] wrote: Hello, I have 2 sub trees, both does not depend on each other. root/ tree1/ tree2/ Can I make multiproject to build a specific tree first? -Dan - 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: Can I make project.xml extend a remote file?
Brett, I could not find the relevant issue id. Can you post it here? Thanks, Adrian. Brett Porter wrote: In Maven 1.1, this will be added (it isn't in CVS yet though). However, it will be by giving a groupId, artifactId and version - so you can access it from the repository. - Brett On Fri, 05 Nov 2004 12:17:03 -0600, Jiaqi Guo [EMAIL PROTECTED] wrote: Like project extendshttp://mysite.com/myproject.pom/extends /project I've got an error after changed my project.xml to this. Thanks Jiaqi - 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: Can I make project.xml extend a remote file?
http://jira.codehaus.org/browse/MAVEN-1390 On 5/6/05, Adrian Herscu [EMAIL PROTECTED] wrote: Brett, I could not find the relevant issue id. Can you post it here? Thanks, Adrian. Brett Porter wrote: In Maven 1.1, this will be added (it isn't in CVS yet though). However, it will be by giving a groupId, artifactId and version - so you can access it from the repository. - Brett On Fri, 05 Nov 2004 12:17:03 -0600, Jiaqi Guo [EMAIL PROTECTED] wrote: Like project extendshttp://mysite.com/myproject.pom/extends /project I've got an error after changed my project.xml to this. Thanks Jiaqi - 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: Multiproject builds orderring
Thanks Brett, It runs on the reverse alphabetical order ie tree2 got called first ;-) -Dan On 5/5/05, Brett Porter [EMAIL PROTECTED] wrote: currently it is alphabetical. - Brett On 5/6/05, dan tran [EMAIL PROTECTED] wrote: Hello, I have 2 sub trees, both does not depend on each other. root/ tree1/ tree2/ Can I make multiproject to build a specific tree first? -Dan - 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: HOWTO: Maven SourceCast Integration
Hi Eric, So you are suppressing the Maven navigation menu? Thanks, Adrian. Eric Pugh wrote: For the Scarab project (http://scarab.tigris.org/) I believe we are using the free version of SourceCast.. In the case of our documentation site we have an url like http://scarab-gen.tigris.org/nonav/HEAD/ pointing to our docs.. The /nonav/ prevents the decoration of the pages. Eric -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Herscu Sent: Friday, March 04, 2005 6:13 PM To: users@maven.apache.org Subject: HOWTO: Maven SourceCast Integration Hi all, I am trying to find somebody that integrated a Maven-generated Web into a SourceCast project. The problem is that both SourceCast projects and Maven-generated Webs have their navigation menu on the left side. Currently, I am not sure how to achieve this kind of content integration. Do you know about some SourceCast-hosted project which integrated a Maven-generated Web into their portal? Thanks for any information, Adrian. - 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: Multiproject builds orderring
actually, it does not have any orderring. Just the matter of which one shows up first in the directory list ;-) Can I request this feature? I am current using multiproejct plugin (reactor) to run one of my build systems which does not take advantage of maven's dependencies. (sorry, just cant) The orderring can be specified in maven.multiproject.includes. -D On 5/5/05, dan tran [EMAIL PROTECTED] wrote: Thanks Brett, It runs on the reverse alphabetical order ie tree2 got called first ;-) -Dan On 5/5/05, Brett Porter [EMAIL PROTECTED] wrote: currently it is alphabetical. - Brett On 5/6/05, dan tran [EMAIL PROTECTED] wrote: Hello, I have 2 sub trees, both does not depend on each other. root/ tree1/ tree2/ Can I make multiproject to build a specific tree first? -Dan - 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: Can I make project.xml extend a remote file?
Brett, Thanks for your fast reply. So what is your advice? I want the ability to build sub-projects in isolation (i.e. w/o checking-out the entire multi-project). Should I refrain from using the extend mechanism? Adrian. Brett Porter wrote: http://jira.codehaus.org/browse/MAVEN-1390 On 5/6/05, Adrian Herscu [EMAIL PROTECTED] wrote: Brett, I could not find the relevant issue id. Can you post it here? Thanks, Adrian. Brett Porter wrote: In Maven 1.1, this will be added (it isn't in CVS yet though). However, it will be by giving a groupId, artifactId and version - so you can access it from the repository. - Brett On Fri, 05 Nov 2004 12:17:03 -0600, Jiaqi Guo [EMAIL PROTECTED] wrote: Like project extendshttp://mysite.com/myproject.pom/extends /project I've got an error after changed my project.xml to this. Thanks Jiaqi - 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: Can I make project.xml extend a remote file?
I want the ability to build sub-projects in isolation (i.e. w/o checking-out the entire multi-project). Definitely a good idea. Should I refrain from using the extend mechanism? For now, unfortunately, yes. I found that was the simplest way to get by. - Brett - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Multiproject builds orderring
You can request it :) If you want to provide a patch for 1.1 I'd be happy to apply it. - Brett On 5/6/05, dan tran [EMAIL PROTECTED] wrote: actually, it does not have any orderring. Just the matter of which one shows up first in the directory list ;-) Can I request this feature? I am current using multiproejct plugin (reactor) to run one of my build systems which does not take advantage of maven's dependencies. (sorry, just cant) The orderring can be specified in maven.multiproject.includes. -D On 5/5/05, dan tran [EMAIL PROTECTED] wrote: Thanks Brett, It runs on the reverse alphabetical order ie tree2 got called first ;-) -Dan On 5/5/05, Brett Porter [EMAIL PROTECTED] wrote: currently it is alphabetical. - Brett On 5/6/05, dan tran [EMAIL PROTECTED] wrote: Hello, I have 2 sub trees, both does not depend on each other. root/ tree1/ tree2/ Can I make multiproject to build a specific tree first? -Dan - 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: Multiproject builds orderring
I asked for it eh? Any how, I took a look at the code involved, it is deep in ant's DirectoryScanner. Using maven.multiproject.includes is not fit. I settle for some jelly in maven.xml ;-) Thanks for the offer. -D On 5/5/05, Brett Porter [EMAIL PROTECTED] wrote: You can request it :) If you want to provide a patch for 1.1 I'd be happy to apply it. - Brett On 5/6/05, dan tran [EMAIL PROTECTED] wrote: actually, it does not have any orderring. Just the matter of which one shows up first in the directory list ;-) Can I request this feature? I am current using multiproejct plugin (reactor) to run one of my build systems which does not take advantage of maven's dependencies. (sorry, just cant) The orderring can be specified in maven.multiproject.includes. -D On 5/5/05, dan tran [EMAIL PROTECTED] wrote: Thanks Brett, It runs on the reverse alphabetical order ie tree2 got called first ;-) -Dan On 5/5/05, Brett Porter [EMAIL PROTECTED] wrote: currently it is alphabetical. - Brett On 5/6/05, dan tran [EMAIL PROTECTED] wrote: Hello, I have 2 sub trees, both does not depend on each other. root/ tree1/ tree2/ Can I make multiproject to build a specific tree first? -Dan - 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: Multi-language projects
Hi we started with the native plugin for C and C++ and extended it for Fortran and use cross-platform libraries (nar files) and include packages. Have a look at: http://java.freehep.org/freehep-nar-plugin for maven 1.0.2 for now. Regards Mark Donszelmann -Original Message- From: Smith, Thad [mailto:[EMAIL PROTECTED] Sent: Thursday, May 05, 2005 9:08 AM To: Maven Users List Subject: Multi-language projects Hi, I'm new to Maven and am looking at it to unify the build processes for all of the internal products my group supports. We have several J2EE projects that we're working on which makes Maven a good fit. But we also have several non-Java projects and what's worse is that some of our J2EE projects have other languages intertwined such as Perl and C and even some proprietary languages. I'm looking for two things...First, is anyone else out there using Maven to successfully manage non-java projects like this? If so, do you have any experiences/best practices that you can share? Secondly, Are there any plugins out there to do Perl validation or C compilation? My intuition is no since I can't find them on any of the Maven plugin pages. I wanted to make sure before I go writing my own. Regards, Thad Smith Senior Software Engineer Electric Reliability Council of Texas - 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]