Re: Problem in delpoying an external jar to the local repo

2011-05-25 Thread uday shankar
I have the pom too. Are you tryin to say that maven is not able to pick up the pom, if yes, what is the way i can resolve this? I have the pom , infact yesterday I could run mvn package successfully but today it shows this error, so I thought it is not able to connect to the local repo. Please sug

Re: Problem in delpoying an external jar to the local repo

2011-05-24 Thread uday shankar
Hi Wayne, Yeah I checked that(repository.jboss.com) out. It says access denied to the particular jar. So I found the jar in the onlilne maven repository and found the project coordinates of that jar from that repo and then I tried to run mvn package, so that it will pick the jar from that online r

Local repo or central repo

2011-05-24 Thread uday shankar
Hi, Where does maven pick the jars from (first) local repo or central repo? Regards, Uday -- View this message in context: http://maven.40175.n5.nabble.com/Local-repo-or-central-repo-tp4422295p4422295.html Sent from the Maven - Users mailing list archive at Nabble.com.

Maven is not able to pick up the jars from the local repo

2011-05-24 Thread uday shankar
Hi, In my system, when I run the mvn package command, maven is not able to pick up the jars from the local repo i.e C:\Documents and Settings\udayshankar.k\.m2\repository. Though the jar is present in the local repo, it gives error : [ERROR] Failed to execute goal on project GDS-Switch: Could not

Re: Problem in delpoying an external jar to the local repo

2011-05-24 Thread uday shankar
After running the mvn install: install command I could successfully deploy my jars onto the local repo. And infact I added around 100 jars to my local repo yesterday and when running mvn package command, the compiler could pick up the jars which I deployed. But today morning when I came and tried

Re: Problem in delpoying an external jar to the local repo

2011-05-24 Thread uday shankar
Full Stack trace for the above error : Caused by: org.apache.maven.project.DependencyResolutionException: Could not re olve dependencies for project org.mule.examples:GDS-Switch:war:1.0-SNAPSHOT: Fa led to collect dependencies for [org.mule:mule-core:jar:2.2.1 (compile), org.mu e.modules:mule-m

Re: Problem in delpoying an external jar to the local repo

2011-05-20 Thread uday shankar
Hi Wendy, Generally how does one decide the groupid? Can it be any value? Here I gave the group id asorg.mule.modules I just decided on this group Id randomly I just wanted to put the jar in some folder so I chose this, are there any guidelines which are to be followed while selecting a groupI

Re: Problem in delpoying an external jar to the local repo

2011-05-19 Thread uday shankar
Hi Rafael, This is the command i used : mvn install:install-file -Dfile=D:\Ota_Sonata.jar -DgroupId=org.mule.modules -DartifactId=Ota_Sonata -Dversion=1.0 -Dpackaging=jar -DgeneratePom=true after deploying with this command I had the problem which I mentioned.Please suggest a way forward -- View

RE: Maven folder structure

2011-05-19 Thread uday shankar
Hi todd, what about the scenario 1?? -- View this message in context: http://maven.40175.n5.nabble.com/Maven-folder-structure-tp4409276p4410203.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscrib

Problem in delpoying an external jar to the local repo

2011-05-19 Thread uday shankar
Hi, I deployed an external jar(not Maven jar, but a jar created in our project) to the local repository. but after deploying when I tried running the command mvn package, the jar was not being picked up from the local repo. Error : unable to resolve dependency. Steps which I used to deploy the jar

Is there any command similar to mvn eclipse:eclipse for net beans

2011-05-19 Thread uday shankar
Hi , After creating a web application using the maven archetype plugin i convert the project into eclipse format by using mvn eclipse:eclipse command and then import into the eclipse IDE What is the process to do the same for net beans IdE. Regards, Uday -- View this message in context: http://m

RE: Maven folder structure

2011-05-19 Thread uday shankar
After we override the default folder structure by making the changes in the build tag of the pom.xml file. when we run any command say mvn package doesn't it consider the folder structure mentioned in the tag. If this is the case we should not have anyproblem even if we are changing the folder str

Re: Maven folder structure

2011-05-19 Thread uday shankar
Hi Karl, I understand that you are asking me to stick to the default folder structure created by maven. This(sticking to the default folder structure) works fine when we are using maven right from the beginning of the project.But what if say, Scenario 1: we have started the project in eclipse, and

Re: Surefire pluginmissing

2011-05-19 Thread uday shankar
I am using maven 3.0.3 -- View this message in context: http://maven.40175.n5.nabble.com/Surefire-pluginmissing-tp4409287p4409776.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: use

Re: Surefire pluginmissing

2011-05-19 Thread uday shankar
I am not using ibiblio . This is my pom.xml : http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> 4.0.0 org.mule.application secondmu

Maven folder structure

2011-05-19 Thread uday shankar
Hi, Using maven if we want to create a sample project, we do so by running a command like this : mvn archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId=maven-archetype-webapp -DarchetypeVersion=1.0 -DgroupId=org.demo -DartifactId=DemoApp

Surefire pluginmissing

2011-05-19 Thread uday shankar
Hi, I am getting this error when I tried to run a simple application using mvn package command ERROR] Plugin org.apache.maven.plugins:maven-surefire-plugin:2.7.2 or one of it dependencies could not be resolved: Failed to read artifact descriptor for org apache.maven.plugins:maven-surefire-plugin:

Re: Surefire pluginmissing

2011-05-19 Thread uday shankar
muleforge-repo MuleForge Repository http://repository.muleforge.org default codehaus-repo Codehaus Repository http://dist.codehaus.org/mule/dependencies/maven2 default

Re: Maven folder structure

2011-05-19 Thread uday shankar
Hi, I understand that conventional method is better but here the requirement is that we have to create a webapp or any sample app with our own structure(defined by us). Can you please tell me a way to do this?? -- View this message in context: http://maven.40175.n5.nabble.com/Maven-folder-structu

Re: DependencyResolutionException

2011-05-15 Thread uday shankar
Hi Wayne, Does Mule provide any online repositories to which can connect? If yes, please explain how I can set up a connection with the online repository provided by Mule. On Sun, May 15, 2011 at 12:16 AM, Wayne Fay [via Maven] < ml-node+4396321-370053039-208...@n5.nabble.com> wrote: > > I do not

Re: DependencyResolutionException

2011-05-15 Thread uday shankar
Does Mule provide any online repositories to which can connect? If yes, please explain how I can set up a connection with the online repository provided by Mule. If I can set up a connection to the Mule online repository my job will be done. I think we have to do somethin in the tag. -- View this

Re: DependencyResolutionException

2011-05-14 Thread uday shankar
I do not have a Maven Repo set up but I want to set up a maven repo(Nexus or any other). I actually started workin on repo since the last two days..so if anyone of you can take me through the set up of a online repository(any online repo). it will be of great help Here, the actual requirement is to

Re: DependencyResolutionException

2011-05-14 Thread uday shankar
Wheeler [via Maven] < ml-node+4394269-315154965-208...@n5.nabble.com> wrote: > Tons of people build with Spring. > What is the error? > Do you have a Maven Repo (Nexus or other) set up and working? > What have you tested? > > Ron > > > On 13/05/2011 12:26 PM, uday

Re: DependencyResolutionException

2011-05-13 Thread uday shankar
PRoblem : I have to create a project (SpringMVC project). For this I have to connect to the online repository which provides the jars required for running the Spring MVC project. And when we build the project using the maven commands, the jars are copied into our local repository . So, for this I n

DependencyResolutionException

2011-05-13 Thread uday shankar
Hi, In my project I added all the jars required for Spring MVC in the local repository(C:\Documents and Settings\username\.m2\repository created by maven. And in the pom.xml of my project I added the dependencies information.I created a web application and wanted to check if the jars added by me t

How to set up Ivy Repository as a Local Repository . Please help . Urgent

2011-05-13 Thread uday shankar
I have to set up Ivy Repo as the local repository. Once it is set up as a local repository I have to add couple of jar files to the repo and using Maven I have to fetch those jar files from the repo. Please help me go forward. -- View this message in context: http://maven.40175.n5.nabble.com/Ho