Sonatype RSO and Sonatype OSS

2012-01-20 Thread amaresh mourya
Hi All, What's difference between https://repository.sonatype.org - Sonatype RSO And https://oss.sonatype.org/ - Sonatype OSS Thanks, Amaresh

Re: Sonatype RSO and Sonatype OSS

2012-01-20 Thread amaresh mourya
. Thanks, ~t~ On Fri, Jan 20, 2012 at 2:00 PM, Olivier Lamy ol...@apache.org wrote: Hello, Ask Sonatype. 2012/1/20 amaresh mourya amaresh.mou...@gmail.com: Hi All, What's difference between https://repository.sonatype.org - Sonatype RSO And https://oss.sonatype.org

Re: How to use default layout repository with maven 1

2011-08-16 Thread amaresh mourya
Thanks All. On Tue, Aug 16, 2011 at 1:58 PM, Lukas Theussl ltheu...@apache.org wrote: Manfred Moser wrote: On Mon, August 15, 2011 12:13 pm, amaresh mourya wrote: Hi All, Can I use default layout repository with Maven 1? By specifying following in my POM? repository idmaven2

How to use default layout repository with maven 1

2011-08-15 Thread amaresh mourya
Hi All, Can I use default layout repository with Maven 1? By specifying following in my POM? repository idmaven2-repository/id nameRepository for Maven/name urlhttp://abc.net/maven/2//url layoutdefault/layout /repository Thanks, Amaresh

How to add proxy information in maven3

2011-05-11 Thread amaresh mourya
Hi, As the maven 3 has deprecated wagon manager component where one can add proxy information and that was accessed everywhere. I want to know what's the alternate of this deprecation, how can I add proxy information to a central place which will accessed by all maven apis. There is provision to

PluginRepositories Vs Repositories

2011-04-28 Thread amaresh mourya
Hi All, Why maven POM has a different section of repositories for plugin ? I am talking about pluginRepositories. I means repositories section itself tell maven to look for the plugins in its repositories. Is it to minimize the search scope for maven while looking for plugins? or it adds some

how to read plugin.xml using Maven API

2011-04-19 Thread amaresh mourya
Hi All, Is there any maven API that can provide me the list of goals from a plugin or no of parameters of a goal and other information. I can see these information written in META_INF/maven/plugin.xml of plugin's JAR. Is there some API to read it and return me the required information. Thanks

overriding goal's configuration from command line?

2011-04-14 Thread amaresh mourya
Hi All, I have a POM which has a plugin. I have configured it to use some specific settings at the time of command line invocation of the goal. I set these configurations in execution ID as default-cli. This MyPlugins:hiPlugin:1.0:hi goals just prints the output in format of : ${person} says

Re: overriding goal's configuration from command line?

2011-04-14 Thread amaresh mourya
=${myplugin.greeting}/code style default properties you specified in your mojo, but usually you would keep them the same... unless you are relying on those properties for the lifecycle-invoked goals -Stephen On 14 April 2011 10:28, amaresh mourya amaresh.mou...@gmail.com wrote: Hi All

Re: overriding goal's configuration from command line?

2011-04-14 Thread amaresh mourya
-plugin/compile-mojo.html Am 14.04.2011 12:16, schrieb amaresh mourya: Hi, How do I override compiler source to be used If I run mvn compiler:compile from the command line. Compiler:compile goal has parameter called source. Doesn't that mean If I run [ mvn compiler:compile

pluginManagement is confusing me..

2011-04-11 Thread amaresh mourya
Hi I have a parent pom and a child POM. *Parent POM is like : * ?xml version=1.0 encoding=UTF-8 ? project xmlns=http://maven.apache.org/POM/4.0.0; modelVersion4.0.0/modelVersion groupIdApplication6/groupId artifactIdApplication6/artifactId version1.0-SNAPSHOT/version modules

Re: pluginManagement is confusing me..

2011-04-11 Thread amaresh mourya
--Amaresh On Mon, Apr 11, 2011 at 11:43 AM, Charles Williams ch...@itadmins.netwrote: amaresh, you include the plugin in the Parent therefore it is automatically available in the child. chuck On 04/11/2011 08:08 AM, amaresh mourya wrote: Hi I have a parent pom and a child POM. *Parent

Re: pluginManagement is confusing me..

2011-04-11 Thread amaresh mourya
hi All, Plugins defined in pluginManagement sections are applicable to that POM or not? --Amaresh On Mon, Apr 11, 2011 at 11:48 AM, amaresh mourya amaresh.mou...@gmail.comwrote: But its in pluginManagement section. maven documentation says it won't be available to child POM unless I specify

Default phase of a plugin

2011-04-11 Thread amaresh mourya
Hi All, I created my own plugin and bind a goal to 'install' phase via '@phase install' in the goal's MOJO. My question is if I run this goal via myPlugin:Mygoal in command line, will it execute all the previous phases? I am expecting all phases above install to be exceuted, that are

use of plugin and pluginmanagement

2011-01-14 Thread amaresh mourya
Hi All, What extra things pluginManagement provides than using only plugins. CASE 1: if I have a parent POM having few plugins in pluginManagement section --- so the children POMs will be using same version of plugin as specified in pluginManagement and I do not even need to specify anything in

Re: use of plugin and pluginmanagement

2011-01-14 Thread amaresh mourya
is that difference in behavior?. Thanks, Amaresh On Fri, Jan 14, 2011 at 4:51 PM, amaresh mourya amaresh.mou...@gmail.comwrote: Hi All, What extra things pluginManagement provides than using only plugins. CASE 1: if I have a parent POM having few plugins in pluginManagement section --- so the children

Re: use of plugin and pluginmanagement

2011-01-14 Thread amaresh mourya
thanks,

Re: Artifact not getting downloaded from my-won-remote-repository

2011-01-13 Thread amaresh mourya
at 07:10, amaresh mourya amaresh.mou...@gmail.com wrote: Hi All, * Case* : I installed apache server and created a repository there in dir : C:\Program Files\Apache Group\Apache2\htdocs\repository\ I put some artifacts in there, I installed artifacts via (mvn install

Artifact not getting downloaded from my-won-remote-repository

2011-01-12 Thread amaresh mourya
Hi All, * Case* : I installed apache server and created a repository there in dir : C:\Program Files\Apache Group\Apache2\htdocs\repository\ I put some artifacts in there, I installed artifacts via (mvn install -DcreateChecksum=true) in this repository. These artifacts are basically some plugins

How to download transitive dependencies

2010-12-03 Thread amaresh mourya
Hi All, I have a project(A) containing pom.xml and that have a dependency of dependency groupIdca.grimoire.maven/groupId artifactIdmaven-utils-parent/artifactId version1.0/version typepom/type /dependency And this maven-utils-parent-1.0.pom (in my local

Re: How to download transitive dependencies

2010-12-03 Thread amaresh mourya
] - Thanks, Amaresh On Fri, Dec 3, 2010 at 5:22 PM, Niels B Nielsen niels.b.niel...@jpmorgan.com wrote: would dependency:go-offline work? Regards -Original Message- From: amaresh mourya [mailto:amaresh.mou...@gmail.com] Sent: 03 December 2010 11:21 To: Maven Users

Re: How to download transitive dependencies

2010-12-03 Thread amaresh mourya
them too, when I am running this goal on projectA's pom.xml (that have dependency over maven-utils-parent-1.0 ) thanks, Amaresh On Fri, Dec 3, 2010 at 5:47 PM, Stefan Seidel ssei...@vub.de wrote: On Fri, 3 Dec 2010 17:39:23 +0530 amaresh mourya amaresh.mou...@gmail.com wrote: No, running

Which versions of nexus-indexer and lucene-core are compatible with each other

2010-10-08 Thread amaresh mourya
Hi All, I am in need of upgrading my nexus indexer to nexus-indexer-3.0.1, I want to know which version of lucene-core would be compatible with. Is there any link/location where I can get the table of compatibility. Thanks, Amaresh

How to download Javadoc and Sources in local repository for a particular artifact in remote

2010-09-29 Thread amaresh mourya
Hi, I am given groupId:ArtifatcId:Version of a artifact, how can I download Javadoc and sources for this artifact.. I do not want to modify my POM to include plug-in in any phase...Is there any way to direct download. Thanks, Amaresh

Re: How to download Javadoc and Sources in local repository for a particular artifact in remote

2010-09-29 Thread amaresh mourya
Actually I am integrating Maven in IDE. Is there any maven goal which can do this for me..or any API/method where I can specify artifactInfo and get it downloaded... Thanks, Amaresh On Wed, Sep 29, 2010 at 10:36 PM, Wendy Smoak wsm...@gmail.com wrote: On Wed, Sep 29, 2010 at 12:21 PM, amaresh

How to get list of repositories referred by a pom.xml, including repos from its ancestors

2010-08-04 Thread amaresh mourya
Hi All, How to get list of repositories referred by a pom.xml, I want all repositories explicitly written in this pom and all of its ancestors. I have just been able to find MavenProject.getRepositories() method for my requirement, but if there are some change in parents repositories set between

How to clear cache used in DefaultMavenProjectBuilder

2010-08-03 Thread amaresh mourya
Hi All, In DefaultMavenProjectBuilder.java, there is one private hash map called rawProjectCache, which stores the last discovered projects. But i want each time it to read the pom file and return me the current model of pom.xml My Use case is: I have a pom.xml (say Child), this has parent

MavenProject.getRepositories() method doesn't return exact repos second time onwards

2010-08-02 Thread amaresh mourya
Hi All, I want to extract list of repositories that any pom.xml (say A) can access. I mean repositories explicitly written in pom and all repositories accessed by its parent's POM (say B). MavenProject.getRepositories() is doing the job only for the first time, but if I add any repository in B

How to know , where any artifact can be found?

2010-06-17 Thread amaresh mourya
Hi All, I have maven-utils-parent-1.0.pom and this have dependencyManagement as shown below. Not by reading this pom I am in need to download all its dependencies (jar files). One way is that I try downloading(using ArtifactResolver's resolve method) from central, but it is possible that these

Re: How to know , where any artifact can be found?

2010-06-17 Thread amaresh mourya
ones) go away. Out of the box, it will find all of the common dependencies and you can add more 3rd party repos if you need some odd stuff. You will save yourself a lot of grief and false starts with maven if you get Nexus going early in the project. Ron On 17/06/2010 3:04 AM, amaresh

How to resolve/download artifacts grammatically

2010-06-07 Thread amaresh mourya
Hi All, Which maven API will help me resolving artifacts from Local repository, if found otherwise download it from central? Thanks Amaresh

Re: How to resolve/download artifacts grammatically

2010-06-07 Thread amaresh mourya
I mean programmaticly not grammatically. On Tue, Jun 8, 2010 at 12:39 AM, amaresh mourya amaresh.mou...@gmail.comwrote: Hi All, Which maven API will help me resolving artifacts from Local repository, if found otherwise download it from central? Thanks Amaresh

What MavenProject.getCollectedProjects() return

2010-04-15 Thread amaresh mourya
Hi All, Can somebody point me the location/link where I can have doc for this method : MavenProject.getCollectedProjects() Thanks, Amaresh

Can Maven POM be named as POM.XML

2010-04-13 Thread amaresh mourya
Hi All, I am in need of having check on a set of xml documents in search of potential POMs. So is it necessary that name of the xml file should be pom.xml and it cannot be POM.XML? Thanks, Amaresh

Re: Can Maven POM be named as POM.XML

2010-04-13 Thread amaresh mourya
Thanks On Tue, Apr 13, 2010 at 5:59 PM, Garin Yan yangu...@gmail.com wrote: Hi Amaresh, The name of the POM is case-insensitive. So you can name the POM file as pom.xml, POM.XML or pOm.xMl. On Tue, Apr 13, 2010 at 8:09 PM, amaresh mourya amaresh.mou...@gmail.com wrote: Hi All, I am

Re: Can Maven POM be named as POM.XML

2010-04-13 Thread amaresh mourya
This is working fine on windows..means POM.XML seems to be valid name. I had one pom.xml , renamed it to POM.XML and mvn install worked successfully. On Tue, Apr 13, 2010 at 6:03 PM, Eric Chatellier chatell...@codelutin.comwrote: Le 13/04/2010 14:29, Garin Yan a écrit : Hi Amaresh, The

Is It necessary that a POM with modules should have packaging as pom

2010-03-17 Thread amaresh mourya
Hi All, Question is asked in subject. Thanks, Amaresh

Re: Is It necessary that a POM with modules should have packaging as pom

2010-03-17 Thread amaresh mourya
Thanks All for response On Wed, Mar 17, 2010 at 6:35 PM, Mert Çalışkan mcalis...@gmail.com wrote: yes, see http://maven.apache.org/guides/introduction/introduction-to-the-pom.html#Project_Aggregation On Wed, Mar 17, 2010 at 3:02 PM, amaresh mourya amaresh.mou...@gmail.com wrote: Hi

How to differentiate between pom.xml and ant's build file

2010-03-08 Thread amaresh mourya
Hi All, I want to write a recognizer class which takes input any xml file and returns true or false based on , whether or not the xml is POM. Problem : Since Ant's build file and POM both have project root element with/without Namespace. I don't want POM Name to be restricted to just pom.xml,

Re: Re : How to differentiate between pom.xml and ant's build file

2010-03-08 Thread amaresh mourya
De : amaresh mourya amaresh.mou...@gmail.com À : Maven Users List users@maven.apache.org Envoyé le : Lun 8 Mars 2010, 11 h 40 min 05 s Objet : How to differentiate between pom.xml and ant's build file Hi All, I want to write a recognizer class which takes input any xml file

How to check badly formed pom.xml

2010-02-28 Thread amaresh mourya
Hi All, How should i check whether or not a particular POM (pom.xml) is syntactically correct. Is there any apache API for that? for example, if one of the tag is missing or say is wrong. Then which method I should use so that I got exception thrown, so that I can handle it. parent

Re: How to check badly formed pom.xml

2010-02-28 Thread amaresh mourya
://maven.apache.org/maven-v4_0_0.xsd /Anders On Mon, Mar 1, 2010 at 07:01, amaresh mourya amaresh.mou...@gmail.com wrote: Hi All, How should i check whether or not a particular POM (pom.xml) is syntactically correct. Is there any apache API for that? for example, if one of the tag

what it does? Maven Project's getCollectedProjects() method

2010-01-13 Thread amaresh mourya
Hi All, In org.apache.maven.project.MavenProject class, what does it mean by method public List getCollectedProjects() { return collectedProjects; } I suppose this is related to modules of any Maven Project. I have a pom.xml with modules and after the creation of maven

How to add proxy information to Wagon Manager that comes from the plexus container?

2010-01-11 Thread amaresh mourya
Hi All, (Sorry for unrelated post on this list, but I tried on plexus and wagon user list and got no response so this is just hit and try for me, thanks if someone can help..) I am creating an application using plexus container and in need of adding proxy information to wagon manager,Right now

What should be the correct check for any XML to be POM?

2010-01-08 Thread amaresh mourya
Hi all, I am need of writing a check method to filter POMs from a list of xml files. What should be the exact check? Only the project tag along with Namespace is sufficient or I need to check for all three xmlns, xmlns :xsi and xsi:schemaLocation? project xmlns=http://maven.apache.org/POM/4.0.0;

Re: Unable to download artifact from repository

2009-12-27 Thread amaresh mourya
:12 AM, amaresh mourya amaresh.mou...@gmail.comwrote: Thanks Wandy, yeah I removed proxy information from setting.xml and blown up the org (org.apache.maven.maven-parent) directory from the local repo...but with no luck. On Tue, Dec 22, 2009 at 2:25 AM, Wendy Smoak wsm

Re: Unable to download artifact from repository

2009-12-22 Thread amaresh mourya
, amaresh mourya amaresh.mou...@gmail.com wrote: I ran the org.apache.maven.project.MavenProject build() method from DeafultMavenProjectBuilder for maven-artifact's pom.xml (see A) to build Maven Project for maven-artifact, but since it is derived from org.apache.maven:maven:2.2.0 's pom.xml

Unable to download artifact from repository

2009-12-21 Thread amaresh mourya
Hi All, I have the situation where when : I ran the org.apache.maven.project.MavenProject build() method from DeafultMavenProjectBuilder for maven-artifact's pom.xml (see A) to build Maven Project for maven-artifact, but since it is derived from org.apache.maven:maven:2.2.0 's pom.xml which has

Unable to download artifact from repository

2009-12-21 Thread amaresh mourya
Hi All, I have the situation where when : I ran the org.apache.maven.project.MavenProject build() method from DeafultMavenProjectBuilder for maven-artifact's pom.xml (see A) to build Maven Project for maven-artifact, but since it is derived from org.apache.maven:maven:2.2.0 's pom.xml which has

Unable to download artifact from repository

2009-12-21 Thread amaresh mourya
Hi All, I have the situation where when : I ran the org.apache.maven.project. MavenProject build() method from DeafultMavenProjectBuilder for maven-artifact's pom.xml (see A) to build Maven Project for maven-artifact, but since it is derived from org.apache.maven:maven:2.2.0 's pom.xml which

Unable to download artifact from repository

2009-12-21 Thread amaresh mourya
Hi All, I have the situation where when : I ran the org.apache.maven.project.MavenProject build() method from DeafultMavenProjectBuilder for maven-artifact's pom.xml (see A) to build Maven Project for maven-artifact, but since it is derived from org.apache.maven:maven:2.2.0 's pom.xml which has