Using of properties from settings.xml

2007-01-20 Thread Balasubramanian, Ravi Shankar
Hi all, I am using values of properties defined in my settings.xml file into my pom.xml. For instance, I have parameterized the version for m project dependencies in the settings.xml with a property called project.version. I am using this property in my pom.xml as follows:

Re: Using of properties from settings.xml

2007-01-20 Thread Dan Tran
I think you need go thru release process to deploy ( ie maven-release-plugin) so that the expression can be replaced. It does not do so in deploy-plugin -D On 1/20/07, Balasubramanian, Ravi Shankar [EMAIL PROTECTED] wrote: Hi all, I am using values of properties defined in my settings.xml

Re: APT Images With URL

2007-01-20 Thread Vincent Siveton
Hi, 2007/1/18, Subhash Chandran [EMAIL PROTECTED]: The APT format guide here: http://maven.apache.org/guides/mini/guide-apt-format.html speaks only of image display. This is done like: [path/to/image.ext] Is there any possibility of having a link on the image? Not actually see DOXIA-71 but

Error creating from archetype

2007-01-20 Thread evi
Hello! When executing C:\Documents and Settings\Administrator\Desktop\Installid\maven-2.0.4-bin\maven-2.0.4\binmvn archetype:create -DgroupId=evigr -DartifactId=eviart -DarchetypeArtifactId=maven-archetype-portlet -e I get an error: [INFO] Error creating from archetype Embedded error: Error

Using maven 2 on something not a project?

2007-01-20 Thread Steinar Bang
Is it possible to create a maven pom.xml that just does stuff, without creating an artifact that can be uploaded to the maven repository? Ie. is it possible to have a pom.xml that just pulls stuff out of the local repo, without actually building an artifact of its own? To clarify: I've been

Re: Using maven 2 on something not a project?

2007-01-20 Thread Eric Redmond
If you're getting syntax errors, its probably your pom's syntax. That has nothing to do with your project structure that would give errors of other kinds. To answer your question: it is ok to not create artifacts. Artifact creation is only (usually) done at the package phase anyway, so as long

Re: maven 2, clover and contexts

2007-01-20 Thread Vincent Massol
Hi David, I think the reason is because the contextFilter configuration element is a property of the report mojo and thus it needs to be defined in the reporting section and not in the build section. For example: reporting excludeDefaultstrue/excludeDefaults plugins plugin

Re: openejb-core tests

2007-01-20 Thread Jörg Schaible
Hi Jeremy, Jeremy Whitlock wrote: Hi All, While looking over a patch today, I have ran into a situation that I cannot explain and I was hoping someone might be able to help. If I run mvn test from openejb3/container/openejb-core, the tests all run properly and pass. If I run mvn test

Re: Using Maven 2 vs surefire-2.3-SNAPSHOT

2007-01-20 Thread MvZ
Hi all, I finally got JUnit 4 up and running with Maven 2 :-) I noticed that when running the test under the IDE itself, and it issued a somewhat more comprehensive error (simply no tests found, or something like that). So I came to realize the problem was that I created the test class in my

Uploading to the remote Maven repository

2007-01-20 Thread Morgovsky, Alexander \(US - Glen Mills\)
My Maven 2 system is configured to use http for file downloads. However, I have not been able to use http for file deployments. I am using Apache for the web server. Please let me know how I can configure my system to deploy to the remote Maven repository using http through Apache. Thanks.

Maven2 is not working with Eclipse

2007-01-20 Thread Morgovsky, Alexander \(US - Glen Mills\)
I have seen many people talk about this problem, but I have not seen a solution for this. The Maven2 Eclipse plugin does not read the settings.xml file in %M2_HOME%/conf. I am familiar with http://jira.codehaus.org/browse/MNGECLIPSE-29. May someone please tell me what I can do have Eclipse pick

RE: Using maven 2 on something not a project?

2007-01-20 Thread Brian E. Fox
Use the packagingpom/packaging if you don't create any other artifacts. The other packaging types come with lifecycles that will not do what you want. Even with pom packaging, you can still attach files if needed using assembly:attach or build-helper:attach. -Original Message- From:

Surefire Classpath

2007-01-20 Thread Gregory D Carter
Is there away to add other jars to the surefire classpath for testing? I'm running a javaagent that requires some new jars on the surefire classpath. Any help would be appreciated. - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: maven 2, clover and contexts

2007-01-20 Thread c_inconnu2
That works ! Thanks for your help. Is there any plan to support statementContext in the plugin ? I'd like to exclude all my loggers... BTW, I'll try to understand how that works and see if i can contribute David DIDIER Vincent Massol a écrit : Hi David, I think the reason is because the

Re: Maven2 is not working with Eclipse

2007-01-20 Thread Ejaz Ahmed Syed
Not much of an IDE dependednt guy, but seems silly when a dev. says that its a serious problem. Cant they just run from win/linux cmd. line instead of depending on IDE. The following will import all the maven projects into eclipse. mvn -Declipse.downloadSources=true eclipse:eclipse should do.

Re: Surefire Classpath

2007-01-20 Thread Dan Tran
What is want is in http://jira.codehaus.org/browse/MSUREFIRE-121 which not released yet. you ran use the snapshot or build surefire yrself Place your required jars in dependency list and then set useSystemClassLoader=true On 1/20/07, Gregory D Carter [EMAIL PROTECTED] wrote: Is there

RE: [M1] cobertura-1.8 java.lang.NoClassDefFoundError

2007-01-20 Thread Jeff Jensen
For anyone with similar issue, I deployed a maven-cobertura-plugin-1.3-SNAPSHOT that fixes the problem in my testing. Please provide feedback if you try the snapshot. http://sourceforge.net/tracker/index.php?func=detailaid=1639236group_id=61 626atid=497853 -Original Message- From: Jeff

Profile question

2007-01-20 Thread Morgovsky, Alexander \(US - Glen Mills\)
When an activeProfile is active, and we call mvn with another profile, does the activeProfile remain active, or does the profile specified with mvn take over and all the values in activeProfile are ignored? Thanks. This message (including any attachments) contains confidential information

Re: Maven2 is not working with Eclipse

2007-01-20 Thread Morgovsky, Alexander \(US - Glen Mills\)
Well, I see what you are saying, but is there a fix for this problem? This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message.

How to download Maven repository was 5.8G.

2007-01-20 Thread Alauddin
hi, How can I directly download Maven repository(which size 5.8G) for my shared repository mirror of central. Because now Maven Repository Manager (MRM) [http://maven.apache.org/repositorymanager/] is under development and unavailable. Any help appriciated Alauddin -- View this message in

Re: maven 2, clover and contexts

2007-01-20 Thread Vincent Massol
On Jan 21, 2007, at 1:25 AM, c_inconnu2 wrote: That works ! Documentation updated. Thanks for your help. Is there any plan to support statementContext in the plugin ? We need to support it but it's not done yet. Create a JIRA issue if it's not there already. I'll probably be able to