Re: repositories

2007-07-23 Thread Maria Odea Ching
Hi, The ideal way is probably to setup repositories that is available in your local network. You can set up a local mirror of the central in which you could get your jars instead. Try looking at Archiva (available here http://maven.apache.org/archiva/), its a repository manager that is aimed

Re: dependency scope - provided and test

2007-07-23 Thread Maria Odea Ching
Hi Frederick, Try looking at Selenium, maybe you could use it for UI testing a portlet. Also, there is also a maven plugin available for it. For examples on how to use it, see Continuum's continuum-webapp-test module which you could checkout here:

Re: how can we configure a jar project?

2007-07-24 Thread Maria Odea Ching
Hi, You don't need to do that in Maven 2. If you want to package a project, you only need to specify its packaging whether jar or war, etc., set the dependencies of your project in the pom.xml and then execute mvn package. These dependencies will be downloaded from the central repo if it

Re: External property files

2007-07-26 Thread Maria Odea Ching
Hi Carlo, You may want to take a look at Maven 2's filters :-) http://maven.apache.org/guides/getting-started/index.html#How%20do%20I%20filter%20resource%20files? HTH, Deng Carlo Bonamico wrote: Hi! In the Maven2 documentation (http://maven.apache.org/pom.html#Properties) I read that

Re: What is Use SCM Credentials Cache, if available?

2007-07-27 Thread Maria Odea Ching
I think it tells Continuum to use the available SCM credentials, which are already in the machine's SCM when checking out the project, instead of supplying or using the username and password specified by the user in the Add Project page :) HTH, Deng Dan Tran wrote: Could not figure out what

Re: Not running test on jetty:run?

2007-07-27 Thread Maria Odea Ching
Yes, that is expected.. jetty:run only compiles the sources, but doesn't run the tests :) -Deng mateamargo wrote: I'm having problems with my webapp. But the problems were while running it (e.g. saving an object), but yesterday I have tried running mvn clean jetty:run-war instead of mvn clean

Re: Maven file creation

2007-07-31 Thread Maria Odea Ching
Hi, It would be more helpful if you could post your build stack trace.. Thanks, Deng Shilpac wrote: How to create a file under maven project? I have created folder using the following command mvn archetype:create -DarchetypeGroupId=org.apache.maven.archetypes - DgroupId=com.cognizant

Re: Maven file creation

2007-07-31 Thread Maria Odea Ching
] Final Memory: 4M/8M [INFO] Can you please tell me the cause of this error? or Do I need to do changes in the settings.xml? Maria Odea Ching-2 wrote: Hi, It would be more helpful if you could post your build stack trace

Re: how to specify multiple descriptors on the command-line

2007-08-01 Thread Maria Odea Ching
Hi, Try configuring these descriptors in the pom (shown below) instead of setting it at the command-line. Also, I think the path to the descriptors should be included instead of just the descriptor filename. plugins plugin artifactIdmaven-assembly-plugin/artifactId configuration

Re: how to specify multiple descriptors on the command-line

2007-08-05 Thread Maria Odea Ching
. If i specify all the descriptors in the POM i cannot differentiate one from the other. I could run individual descriptor by -Ddescriptor option but not descriptors with -Ddescriptors option. I tried the full path as you specified and still no luck. Thanks a lot for any help. Maria Odea Ching

Re: [CREATE:ARCHETYPE]

2007-08-06 Thread Maria Odea Ching
Hi, You've got the wrong parameter name.. it should be user.dir instead of basedir. HTH, Deng João Kreuzberg wrote: Hello guys, I'm having a problem with create:archetype on the site is says it has a -Dbasedir parameter but it doesn't seems to work I tried mvn archetype:create

Re: [CREATE:ARCHETYPE - MAVEN EMBEDDER]

2007-08-08 Thread Maria Odea Ching
Kreuzberg On 8/7/07, João Kreuzberg [EMAIL PROTECTED] wrote: YES, that works :) Thanks so much, Best regards, João Kreuzberg On 8/7/07, Maria Odea Ching [EMAIL PROTECTED] wrote: Hi, You've got the wrong parameter name.. it should be user.dir instead of basedir. HTH, Deng João

[ANNOUNCE] Archiva 1.0 Beta 1 Release

2007-08-10 Thread Maria Odea Ching
Hi Everyone, The Maven Archiva team is pleased to announce the release of Archiva 1.0Beta 1. Archiva is a build artifact repository manager for use with build tools such as Maven, Continuum and Ant. It has features like repository search and browse, securing repositories, identifying unknown

Re: building and installing a source only jar

2007-08-15 Thread Maria Odea Ching
EJ Ciramella wrote: Is there any way to build a source only jar and install that to our internal remote repository? Try 'mvn source:jar install' for this, and.. We're trying to get more modular with our builds and would like to still allow eclipse users to hop to the source of a

Re: Had to manually install artifact which was already in the repository

2007-08-15 Thread Maria Odea Ching
Are you certain the jar you saw in the repo when you first checked was the same jar file not being found by Maven? (e.g. same path groupId/artifactId/version and same filename)? :) -Deng Yuen-Chi Lian wrote: Hi guys, I had a strange problem yesterday, Maven was complaining about an

Re: building and installing a source only jar

2007-08-15 Thread Maria Odea Ching
Why won't it keep sources in the name. 2 - How do I control the version number at deploy time? We'd like to do something similar to what repo1 has/does where the sources are sitting next to the actual binary versions. -Original Message- From: Maria Odea Ching [mailto:[EMAIL PROTECTED

Re: Where is the source code of maven-release

2007-08-17 Thread Maria Odea Ching
Just go up one directory from the maven-release-plugin svn URL you specified :) -Deng Michael Meyer wrote: Hi I've checked out the latest sources of the maven-release-plugin from http://svn.apache.org/repos/asf/maven/release/trunk/maven-release-plugin I tried loading the sources into

Re: How to avoid hardcoding parent pom version in child poms?

2007-08-20 Thread Maria Odea Ching
Hi Farrukh, The version for the parent pom is required, so you can't remove that from the child poms. Usually, you only change the version of your project when you release it. The maven release plugin already updates all the versions of the parent and child poms (in trunk) when it tags the

Re: Junit testing of webapps in maven

2007-08-22 Thread Maria Odea Ching
Hi, I haven't tried running unit tests on webapps before, but I would suggest you take a look at selenium-maven-plugin: http://mojo.codehaus.org/selenium-maven-plugin/index.html It's for integration testing and that might be more appropriate for testing webapps :) You may want to look at

Re: How to create a project having more than one module

2007-08-26 Thread Maria Odea Ching
Hi, Rashid Jilani wrote: Hi: Can some one tell from where to start in order to build a project with more than one module; I am sorry but Maven documentation is quite confusing at least for beginners. 1. Do I need to start with archetype; if this is true how to pass parameters to

Re: wagon

2007-08-29 Thread Maria Odea Ching
Hi, The best documentation I could suggest is probably the sources itself :) You could checkout the codes here: http://svn.apache.org/repos/asf/maven/wagon/trunk Try looking at the test cases to see how it works.. HTH, Deng John Coleman wrote: Hi, Has anyone found some decent user

Re: deploy with uniqueVersion = false not working

2007-08-31 Thread Maria Odea Ching
Hi Farrukh, The uniqueVersion is not a parameter of the deploy:deploy goal (which is what's being executed when you do 'mvn deploy'). This parameter is for the deploy:deploy-file goal. And since you did 'mvn deploy', the uniqueVersion parameter is ignored.. There's an open issue for this

Re: deploy with uniqueVersion = false not working

2007-08-31 Thread Maria Odea Ching
Np :-) I don't think it's already fixed yet.. the issue is still open. -Deng Farrukh Najmi wrote: Maria Odea Ching wrote: Hi Farrukh, The uniqueVersion is not a parameter of the deploy:deploy goal (which is what's being executed when you do 'mvn deploy'). This parameter

Re: selenium testing with maven hangs b/c of http 500 error

2007-08-31 Thread Maria Odea Ching
Hi Dan, This is just from my experience with selenium.. The browser is never closed whenever there is a problem (like the HTTP 500), and there have been times when I've been left with 20+ Firefox windows open :-( What I usually do is just figure out what the cause of the problem and fix it

Re: selenium testing with maven hangs b/c of http 500 error

2007-09-01 Thread Maria Odea Ching
server. any solution to this? -D On 8/31/07, Dan Tran [EMAIL PROTECTED] wrote: a, i am stucked then. and your selenium hangs as well? Thanks -D On 8/31/07, Maria Odea Ching [EMAIL PROTECTED] wrote: Hi Dan, This is just from my experience with selenium.. The browser is never

Re: Is there websphere plugin available for maven2?

2007-09-08 Thread Maria Odea Ching
Hi, Checkout this thread: http://www.nabble.com/maven2-websphere-plugin-tf3233913s177.html#a9046442 HTH, Deng I am Who i am wrote: Is there any websphere plugin available for maven2? I couldn't find any one so far -

Re: Parent POM clean issue

2007-09-22 Thread Maria Odea Ching
Hi Kyle, Try putting your plugin config in the pluginManagement of your child POM. Don't forget to specify the maven-clean-plugin in the pluginManagement of you parent POM as well. Please see http://maven.apache.org/pom.html#Build (Plugins and Plugin Management sections) for the explanation

Re: Turn off selenium-maven-plugin's logger

2007-09-22 Thread Maria Odea Ching
Have you tried setting the logOutput to false? :) -Deng Dan Tran wrote: is there a way to configure the plugin to turn off the logger? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[ANNOUNCE] Archiva 1.0 Beta 2 Released

2007-09-22 Thread Maria Odea Ching
Hi Everyone, The Maven Archiva team is pleased to announce the release of Archiva 1.0 Beta 2. Archiva is a build artifact repository manager for use with build tools such as Maven, Continuum and Ant. It has features like repository search and browse, securing repositories, identifying unknown

Re: Turn off selenium-maven-plugin's logger

2007-09-22 Thread Maria Odea Ching
Np Dan ;-) Dan Tran wrote: oh mine, how could I miss this? shame on me Thanks Maria On 9/22/07, Maria Odea Ching [EMAIL PROTECTED] wrote: Have you tried setting the logOutput to false? :) -Deng Dan Tran wrote: is there a way to configure the plugin to turn off the logger

Re: Are group/artifact IDs case sensitive to maven?

2007-10-07 Thread Maria Odea Ching
Hi Yan, Do you mean the paths (groupId/artifactId/version) and the filename of the artifact? In that context, I believe it depends on your OS.. in Linux it is case-sensitive while in Windows it isn't. HTH, Deng Yan Huang wrote: Hello, Are group/artifact IDs case sensitive to maven? I did

Re: release/buildnumber plugin

2007-10-07 Thread Maria Odea Ching
I used the release plugin a few weeks back and it worked fine for me. Have you tried release:clean, then release:perform again? -Deng John Coleman wrote: Hi, I just did a release:perform today and it failed. We have done a few before fine. The buildnumber plugin throws an error due to

Re: Repository Central is blacklisted?

2007-10-08 Thread Maria Odea Ching
It was because of the error in retrieving the repo metadata that's why 'central' was blacklisted. This problem with the archetype plugin has been occurring before, you can try cleaning it up from your repository then run 'mvn archetype:create..' again :) Thanks, Deng siegfried wrote: I'm

Re: Repository Central is blacklisted?

2007-10-08 Thread Maria Odea Ching
repository and I don't see any files that have Cocoon in them. Thanks Siegfried -Original Message- From: Maria Odea Ching [mailto:[EMAIL PROTECTED] Sent: Monday, October 08, 2007 12:16 AM To: Maven Users List Subject: Re: Repository Central is blacklisted? It was because of the error

Re: ignore vs disable

2007-10-30 Thread Maria Odea Ching
Hi Arnaud, Joakim created this document a couple of weeks ago :) http://docs.codehaus.org/display/MAVENUSER/Archiva+Proxy+Policies -Deng Arnaud HERITIER wrote: Hi all, When we create a proxy connector, for releases and snapshot we can select ignore or disable. What is the difference

[ANNOUNCE] Archiva 1.0 Beta 3 Released

2007-11-02 Thread Maria Odea Ching
Hi Everyone, The Maven Archiva team is pleased to announce the release of Archiva 1.0Beta 3. Archiva is a build artifact repository manager for use with build tools such as Maven, Continuum and Ant. It has features like repository search and browse, securing repositories, identifying unknown

Re: Deploy to production from a production Maven repository

2007-11-05 Thread Maria Odea Ching
No, Maven is not the tool to consume a deployed artifact in a repository to the production server. You may want to take a look of this thread from a couple of days ago: http://www.nabble.com/Newbie-question-on-deployment-strategy-t4685770s177.html HTH, Deng On 11/6/07, Simon Taylor [EMAIL

Re: how to setup archiva security policy ?

2007-11-09 Thread Maria Odea Ching
nicolas de loof wrote: Hello, this morning, archiva forced me to change my admin login, with some rules about using some numeric character and not reuse a previous password. Was this from trunk? Where can I setup/change this policy ? My archiva instance is in a protected corporate

Re: available plugins

2006-05-18 Thread Maria Odea Ching
Hi Alexis, You can also checkout the maven plugins from svn and build it yourself to get the latest versions as well as the updated documentation for the plugin. Here's the URL: http://svn.apache.org/repos/asf/maven/plugins/trunk Thanks, Odea alexis parratte wrote: hi, someone know where i

Re: maven-jar-plugin:2.1-SNAPSHOT

2006-05-22 Thread Maria Odea Ching
Hi Ben, You can checkout the jar plugin from svn and install it locally. Here's the url: http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-jar-plugin Thanks, Odea ben short wrote: I get the following error while trying to build the maven repository manager. Any ideas where i can get

Re: [M2] How to fail build by PMD certain level priority

2006-05-31 Thread Maria Odea Ching
Hi Szczepan, There's no feature for this in the maven PMD plugin. You can file a jira for this at http://jira.codehaus.org/browse/MPMD The current setting is that the build fails only if the failOnValidation parameter is set to true and the overall number of violations is greater than 1.

Re: newbie error with archetype:create

2006-06-07 Thread Maria Odea Ching
Hi Joe, Try removing the maven-profile jar files (including its corresponding pom metadata files) from your local repo and then execute mvn archetype... again. It seemed that the pom was corrupted when it was downloaded from the central repo. Thanks, Odea Joe Hudson wrote: Hello, I tried

Re: Multiproject: Merge Javadoc's into parents site?

2006-06-12 Thread Maria Odea Ching
Hi Jochen, You can integrate javadoc into the site by putting this in your parent pom: project ... reporting plugins plugin artifactIdmaven-javadoc-plugin/artifactId aggregatetrue/aggregate /plugin /plugins /reporting /project The aggregate parameter specifies

Re: Question on maven-plugin-testing-harness

2006-06-16 Thread Maria Odea Ching
Hi Jochen, I don't think you need to include the goalPrefix (xml) when you lookup the mojo in your test case when you use the testing harness. It should be: ValidatorMojo vm = (ValidatorMojo) lookupMojo( validate, testPom ); Thanks, Odea Jochen Wiedmann wrote: Hi, I am attempting to

Re: plugin-testing-harness (3)

2006-06-20 Thread Maria Odea Ching
Hi Jochen, Did you check that you have the correct goal name when you looked up the mojo? :) There seems to be nothing wrong with your configuration.. Thanks, Odea Jochen Wiedmann wrote: Hi, I am about to write a test case for MJAR-20. Below you find my unit test and my pom.

Re: plugin-testing-harness (3)

2006-06-20 Thread Maria Odea Ching
Jochen Wiedmann wrote: On 6/21/06, Maria Odea Ching [EMAIL PROTECTED] wrote: Did you check that you have the correct goal name when you looked up the mojo? :) There seems to be nothing wrong with your configuration.. That's been the problem when you wrote me the last time, wasn't

Re: [m2] [javadoc] javadoc for tests classes

2006-07-06 Thread Maria Odea Ching
Hi Raphael, The only way I could think of how you can include the test sources in a site is by including the test sources directory in the sourcePath, as shown below: project ... reporting plugins plugin groupIdorg.apache.maven.plugins/groupId

Re: [m2] How do I run reports in a sub-project

2006-07-06 Thread Maria Odea Ching
Hi Eric, The Mojo automatically gets the sources of the project where you are executing the plugin. I don't think it provides the capability of customizing the sources you want to get. So if you're executing on head/docs, the output would specifically be xrefs for the head/docs sources. Hope

Re: Generating site for multiple projects

2006-07-11 Thread Maria Odea Ching
Hi Dorian, You can use the site plugin for this. You need to execute mvn site:site on the parent directory of your multi-module project. For example, you have the following directory structure: Project |-- pom.xml |-- Module1 | |-- src/main/java/../*.java | `-- pom.xml |-- Module2 | |--

Re: [M2] Executing a single lifecycle phase

2006-08-03 Thread Maria Odea Ching
Hi Mark, I don't think there's a workaround for this. The previous life cycle phases are always executed :) Thanks, Odea Mark Hansen wrote: When I do mvn integration-test - all the previous lifecycles phases (e.g., validate, compile, test, etc.) are executed first. Is there a workaround

Re: mvn:deploy to remote repository

2006-08-10 Thread Maria Odea Ching
Could there be some invalid values set in the plugin configuration in your pom? :) Satish wrote: getting following error in exectuing the deploy plugin, any clues... Cause: Class 'org.apache.maven.artifact.repository.ArtifactRepository' cannot be instantiated [INFO]

Re: POM not downloaded from remote repository for patched plugin

2006-08-25 Thread Maria Odea Ching
Hi Gergely, Have you tried executing mvn install with -U to update the plugins for the project? e.g. mvn install -U Hope this helps :-) Thanks, Odea Gergely Szakály wrote: Hi all, I made a modification to the surefire plugin for use in our project (to modify the classloading order). I

Re: newbie question

2006-08-28 Thread Maria Odea Ching
Hi Charles, I've checked some of the jars that weren't being downloaded and I found out that they are not available in the central repo that's why you're getting these errors. Some of the jars only have the poms and checksum files deployed in the repository but not the jar file itself. In

Re: newbie question

2006-08-28 Thread Maria Odea Ching
Hi Charles, I've checked some of the jars that weren't being downloaded and I found out that they are not available in the central repo that's why you're getting these errors. Some of the jars only have the poms and checksum files deployed in the repository but not the jar file itself. In

Re: Is maven good to small projects

2006-09-05 Thread Maria Odea Ching
I agree with Alexander, its not really up to the number of people involved with the project but its on the project itself :-) Alexander Sack wrote: What do you mean? Can you explain why you think it wouldn't be? My biggest draw to Maven right now is the dependency management and

Re: Surefire report not running on test failures

2006-09-06 Thread Maria Odea Ching
Hi Martin, I've tried using 2.0 and 2.1-SNAPSHOT versions of the plugin and I was able to generate a html surefire report. Was there a build failure when you executed the surefire goal? Thanks, Odea Martin Gilday wrote: I am trying to generate the HTML report immediately after running

Re: Checksum failed

2006-09-06 Thread Maria Odea Ching
Hi Paul, Try deleting the maven-archetype-plugin files (jar, pom, checksums, metadata, etc.) in your local repository, then run your maven goal again. Sometimes you just need to clean your repository to resolve the checksum failed issue. Hope this helps :) Thanks, Odea Paul Jungwirth

Re: Fwd: Repository not found

2006-09-14 Thread Maria Odea Ching
Hi Riaz, The repository will be created when you perform bootstrap (if you've checked out maven source from svn), or when you start building a project (if you've just installed maven). That's when your local repo will be created. Hope this helps :) Thanks, Odea Riaz uddin wrote:

Re: Newbie Question about repository access protocols

2006-10-23 Thread Maria Odea Ching
Hi Aaron, You can use the maven-deploy-plugin to write to your repository using SSH for Maven 2. You can refer to these docs for more info: http://maven.apache.org/guides/mini/guide-deploy-ssh-external.html I'm not sure if the site is updated though. If you want to get the latest docs, you

Re: Newbie Question about repository access protocols

2006-10-23 Thread Maria Odea Ching
Hi Aaron, You can use the maven-deploy-plugin to write to your repository using SSH for Maven 2. You can refer to these docs for more info: http://maven.apache.org/guides/mini/guide-deploy-ssh-external.html I'm not sure if the site is updated though. If you want to get the latest docs, you

Re: Creating MavenProject within plugin

2006-11-09 Thread Maria Odea Ching
Hi Jonas, There's a MavenProjectStub class available in the maven-plugin-testing-harness if you're interested. But its basically used for plugin testing. I'm not sure if it would be useful for you, but you can take a look at it here:

Re: mvn2: Failed to validate POM error

2006-11-13 Thread Maria Odea Ching
Hi Attila, Have you tried deleting the .pom file ((com.mycompany-myapp-1.5-5007.0-QA0-SNAPSHOT.pom) from the repo before you re-installed the artifact or did you delete only the .jar (com.mycompany-myapp-1.5-5007.0-QA0-SNAPSHOT.jar) file? Thanks, Deng Attila Mezei-Horvati wrote: Eric,

Re: Apacheds and Maven

2007-01-16 Thread Maria Odea Ching
Hi Joseph, It means that your project dependency (maven-directory-plugin) does not exist in your local repo and when maven tried to download it from the central repo, it couldn't also find it there. You could try to build the dependency from source and install it in you local repo using

Re: Skip downloading javadoc and java sources

2007-01-16 Thread Maria Odea Ching
Hi Rajiv, Maybe the 'downloadSources' parameter in the eclipse plugin configuration in your pom is set to true. If not, try using this command instead 'mvn eclipse:eclipse -DdownloadSources=false'. Anyway, the default is that the sources shouldn't be downloaded when you do not set the

Re: maven-javadoc-plugin, generate javadoc using different jvm from w hat is set in java.home

2007-01-30 Thread Maria Odea Ching
Hi Pratik, I don't think the javadoc plugin supports this yet. Currently, the plugin uses the javadoc.exe version based on the java version you specified in your JAVA_HOME environment variable. Btw, there's already an open issue for this feature: http://jira.codehaus.org/browse/MJAVADOC-98

Re: plugin/dependencies question

2007-01-30 Thread Maria Odea Ching
Hi Rebecca, Please refer to http://maven.apache.org/pom.html for details about this. I think there's a brief explanation there (Build Settings -- The BaseBuild Element Set -- Plugins) about the difference of those two dependencies elements :-) Hope this helps! Thanks, Deng Rebecca Searls

Re: undefined Dependecy automatically downloaded

2007-01-30 Thread Maria Odea Ching
Hi Yuubouna, These undefined jars that you were saying were probably the transitive dependencies (dependencies of your dependencies). For more details about exclusions, please refer to http://maven.apache.org/pom.html (Pom Relationships -- Dependencies -- Exclusions) Hope this helps! :-)

Re: [m2] using 3rdParty PlugIn

2007-01-31 Thread Maria Odea Ching
Hi Fredy, You can use the install:install-file goal of the maven-install-plugin to do this. For more details, please refer to http://maven.apache.org/plugins/maven-install-plugin/index.html (see Generic Pom Example) http://maven.apache.org/plugins/maven-install-plugin/ Hope this helps! :-)

Re: [m2] using 3rdParty PlugIn

2007-01-31 Thread Maria Odea Ching
-DpomFile=hibernate-3.2.2.ga.pom It's installing the jar file in my local repository but it's not installing the custom pom file, hibernate-3.2.2.ga.pom. The pom file is there in the directory and is formatted correctly. Any ideas why this isn't working? Thanks, Christian On 1/31/07, Maria Odea

Re: [m2] using 3rdParty PlugIn

2007-02-01 Thread Maria Odea Ching
/version optionaltrue/optional /dependency /dependencies /project On 1/31/07, Maria Odea Ching [EMAIL PROTECTED] wrote: Hi Christian, I tried doing what you did (I also used the same hibernate jar), and when I checked my local repo, the custom pom was installed along

Re: [m2] using 3rdParty PlugIn

2007-02-01 Thread Maria Odea Ching
Yep, I used exactly the same command that you've posted in your first email. I just copied it in the command line. Christian Cabanero wrote: Did you use the same command I did? Could you email what you ran? On 2/1/07, Maria Odea Ching [EMAIL PROTECTED] wrote: I also have no idea when

Re: [m2] using 3rdParty PlugIn

2007-02-01 Thread Maria Odea Ching
Yep, I used exactly the same command that you've posted in your first email. I just copied it in the command line. Christian Cabanero wrote: Did you use the same command I did? Could you email what you ran? On 2/1/07, Maria Odea Ching [EMAIL PROTECTED] wrote: I also have no idea when

Re: Input from console

2007-02-07 Thread Maria Odea Ching
Hi Leandro, Are you talking about passing input parameters from the command line when you eexcute your plugin? If this is the case, you can put the @parameter tag in your mojo: /** * @parameter expression=${parameterName} default-value=false */ private boolean parameterName; To

Re: How to deploy the jar of third party into the repository on our company's server?

2007-02-07 Thread Maria Odea Ching
Hi Sam, You can use the maven-install-plugin (install:install-file goal) to install a 3rd party jar into your local repository. To deploy it in a remote repo, you can use the maven-deploy-plugin (deply:deploy-file goal). See the following urls for more details:

Re: install-file createChecksum does not work

2007-02-08 Thread Maria Odea Ching
Hi Naresh, What version of the install plugin are you using? I've tried to build the plugin from source and installed it locally then I did mvn install:install-file with createChecksum=true and it worked out fine. The checksums were created in my local repo. Maybe you just need to update your

Re: [M2] Deploying javadoc as a part of site

2007-02-12 Thread Maria Odea Ching
Hi /U, Please refer to this site for details about the javadoc plugin: http://people.apache.org/~oching/maven-javadoc-plugin/usage.html http://people.apache.org/%7Eoching/maven-javadoc-plugin/usage.html Hope this helps! :-) Thanks, Deng [EMAIL PROTECTED] wrote: I am sorry for the fairly

Re: [M2] cutting reporting inheritance.

2007-03-13 Thread Maria Odea Ching
Hi Rafael, Try setting the reportSet to blank in your submodules. Example, in your organisation-pom, you have the javadoc plugin in the reporting section, like this: reporting plugins plugin artifactIdmaven-javadoc-plugin/artifactId /plugin /plugins /reporting Try,

Re: [M2] cutting reporting inheritance.

2007-03-13 Thread Maria Odea Ching
defines a lot of unusefull reports :-( Raphaël 2007/3/13, Maria Odea Ching [EMAIL PROTECTED]: Hi Rafael, Try setting the reportSet to blank in your submodules. Example, in your organisation-pom, you have the javadoc plugin in the reporting section, like this: reporting plugins

[ANNOUNCE] Archiva 1.0-beta-4 Released

2007-11-14 Thread Maria Odea Ching
Hi Everyone, The Maven Archiva team is pleased to announce the release of Archiva 1.0Beta 4. Archiva is a build artifact repository manager for use with build tools such as Maven, Continuum and Ant. It has features like repository search and browse, securing repositories, identifying unknown

[ANNOUNCE] Archiva 1.0 Released

2007-11-27 Thread Maria Odea Ching
Hi Everyone, The Maven Archiva team is pleased to announce the release of Archiva 1.0final. Archiva is a build artifact repository manager for use with build tools such as Maven, Continuum and Ant. It has features like repository search and browse, securing repositories, identifying unknown

Re: repository and database

2007-11-27 Thread Maria Odea Ching
Julien CARSIQUE wrote: More information : deleting the local repository (only the groupId) fix the problem, artifact is then correctly downloaded. Is it due to corruption during download or what else ? This wasn't often happening until upgrade to beta-4 and then 1.0; now this error seems to

Re: Archiva logging level

2008-01-08 Thread Maria Odea Ching
Hi Bashar, An issue has already been filed for this problem, please see: http://jira.codehaus.org/browse/MRM-633 You can reduce the logging by changing the log level (in log4j.xml) for the repo scanner from 'debug' to 'info' as shown below. logger

Re: mvn release problem when use properties as version

2008-01-25 Thread Maria Odea Ching
Yes, that has been a problem with the release plugin. Please see: http://jira.codehaus.org/browse/MRELEASE-297 Thanks, Deng On Jan 25, 2008 6:45 PM, Rex Huang [EMAIL PROTECTED] wrote: I set artifact version using properties in pom file: properties

[ANNOUNCE] Archiva 1.0.1 Released

2008-02-03 Thread Maria Odea Ching
Hi Everyone, The Maven Archiva team is pleased to announce the release of Archiva 1.0.1 Archiva is a build artifact repository manager for use with build tools such as Maven, Continuum and Ant. It has features like repository search and browse, securing repositories, identifying unknown

Re: Basic Repository Proxying settings

2008-02-05 Thread Maria Odea Ching
Hi Doug, To force Maven to use only your Archiva managed repository (if you don't want to use the pre-configured 'internal' repository), you need to do the ff: 1. Create a managed repository in Archiva 2. By default, the central and java.net repos are already pre-configured. You can add another

Re: Setup Help - you have entered an incorrect username and/or password

2008-02-12 Thread Maria Odea Ching
Hi M, This is a known Redback issue which affects Archiva 1.0 and 1.0.1: http://jira.codehaus.org/browse/REDBACK-117 As a workaround, resend the validation email to the users and let the users validate it. Thanks, Deng On Feb 12, 2008 4:02 PM, Mester Of Jester [EMAIL PROTECTED] wrote: Hi

Re: POM Dependency question

2008-02-28 Thread Maria Odea Ching
On Fri, Feb 29, 2008 at 2:46 PM, Muzammil [EMAIL PROTECTED] wrote: Hi All, I am required to use Maven for my project. My question is regarding the Jars I require for my project. Is it necessary to add information of all the Jars required by ur project in the POM file as dependency. The

Re: Monitor bad artifact hashes

2008-03-13 Thread Maria Odea Ching
Hi, On Thu, Mar 13, 2008 at 5:48 PM, MATHUS Baptiste [EMAIL PROTECTED] wrote: Hi all, After having some problems with corrupted jars, we recently decided to purge all our proxied repository. Before doing that, I switched from fix to fail. The thing is: as an archiva admin I'd be interested

Re: Two Dependency Plugins: Wrong chosen by Maven

2007-03-28 Thread Maria Odea Ching
Hi Stefan, Maybe your dependency plugin metadata file (in local repo) isn't updated? You could try installing the 2.0-alpha-4 version again with -DupdateReleaseInfo=true.. Hope this helps! :) Thanks, Deng Stefan Hübner wrote: Hi, I've run into a weird issue, while trying to make use of

Re: Repository 'central' will be blacklisted

2007-03-28 Thread Maria Odea Ching
Hi Graham, Usually the cause for this error is connection timeout. I see that you've already filed a jira for this, thanks :) -Deng Graham Leggett wrote: Hi all, While trying to run mvn -e install, I am getting the following warning: [WARNING] repository metadata for: 'snapshot

Re: PMD Plugins

2007-03-29 Thread Maria Odea Ching
The first one's for maven 2 (http://maven.apache.org/plugins/maven-pmd-plugin/) and the latter's for maven 1 (http://maven.apache.org/maven-1.x/plugins/pmd/) :-) Thanks, Deng Nick Stolwijk wrote: What is the difference between org.apache.maven.plugins:maven-pmd-plugin and

Re: Unable to run it

2007-04-02 Thread Maria Odea Ching
Hi Sagar, Maybe the maven you've installed in that system is corrupted. You just might need to re-install it :-) Thanks, Deng Sagar Yerunkar wrote: Hello, I have installed apache maven on my system. I have added all the directories to the path and have set the required variables. However,

Re: Unable to run it

2007-04-02 Thread Maria Odea Ching
variables. I even tried reinstalling it on another drive. It still does not work. :( Regards, Sagar M. Yerunkar Maria Odea Ching [EMAIL PROTECTED] 04/02/2007 01:32 PM Please respond to Maven Users List users@maven.apache.org To Maven Users List users@maven.apache.org cc Subject Re

Re: ver number conflict in transitive dependency

2007-04-04 Thread Maria Odea Ching
Hi, You can use the dependency exclusions tag in your pom to explicitly exclude the specific jar you don't want to be downloaded. See http://maven.apache.org/ref/current/maven-model/maven.html#class_dependency for more info about it. This might also be useful

Re: Met error when compiling java source.

2007-04-04 Thread Maria Odea Ching
Hi, Could you provide more info about your problem? :-) Thanks, Deng [EMAIL PROTECTED] wrote: Dear all, Could you help on the following error? Thanks D:\mavenbook\podium-3pl\horizonEJBmvn compile -e + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO]

Re: ver number conflict in transitive dependency

2007-04-04 Thread Maria Odea Ching
I agree with the provided scope. I think its in the dependency-mechanism link I sent earlier. - Deng Jerome Lacoste wrote: On 4/4/07, Thinkboy [EMAIL PROTECTED] wrote: hi, my servlet-api version is conflict due to transitive dep e.g. i) commons-logging-1.0.3.jar - servlet-api-2.2.jar ii)

Re: Error generating site

2007-04-16 Thread Maria Odea Ching
Hi, I think surefire-report-maven-plugin is already under Apache (so groupId should be: org.apache.maven.plugins), that might be the cause of your error :-) Thanks, Deng vgpande wrote: Hi all, With maven I have successfully executed the test and got the cobertura coverage report.But the

Re: How set property from parent pom.xml in child pom.xml

2007-04-16 Thread Maria Odea Ching
Hi, I don't think you can do that in maven. AFAIK, properties are not inherited from the parent pom and you cannot also do the other way around (child to parent). Thanks, Deng Depthblue wrote: Hi, I have one parent.pom with list of properties ?xml version=1.0 encoding=UTF-8?

Re: Core Module - Customer spcific Module. How to set up in Maven2?

2007-04-16 Thread Maria Odea Ching
Hi Santonian, I don't think using project inheritance for the core module and the customer specific modules is the right way. What I suggest is you can have the core module as a separate project and have each of the customer-specific modules as separate projects as well. Then just set the

Re: Error generating site

2007-04-17 Thread Maria Odea Ching
. Thanks, Deng Maria Odea Ching-2 wrote: Hi, I think surefire-report-maven-plugin is already under Apache (so groupId should be: org.apache.maven.plugins), that might be the cause of your error :-) Thanks, Deng vgpande wrote: Hi all, With maven I have successfully executed the test

  1   2   3   >