RE: Dependency:unpack version problem

2010-05-06 Thread Qureshi,Shahzad [Ontario]
,Shahzad [Ontario] [mailto:shahzad.qure...@ec.gc.ca] Sent: Thursday, May 06, 2010 3:44 AM To: Maven Users List Subject: Dependency:unpack version problem Hi all, I am using the dependency:unpack goal of the maven dependency plugin to unpack a library that is a dependency of the project itself

Dependency:unpack version problem

2010-05-05 Thread Qureshi,Shahzad [Ontario]
Hi all, I am using the dependency:unpack goal of the maven dependency plugin to unpack a library that is a dependency of the project itself. This dependency is an internally maintaned library and is updated frequently. So whenever the library is updated, we tell our developers to update their

Read project version from pom

2010-03-23 Thread Qureshi,Shahzad [Ontario]
Hi all, I would like the ability to read the project's version number from pom in my java code as I need to insert that version number in the text file I generate as a result of my code. I am NOT writing a maven plugin but a standalone java project that uses maven as a build/dependency system

Can't find maven-properties-plugin

2010-03-19 Thread Qureshi,Shahzad [Ontario]
Hi all, I have already looked at the usage page of properties-maven-plugin at http://mojo.codehaus.org/properties-maven-plugin/usage.html and at codehaus repository at http://repository.codehaus.org/org/codehaus/mojo/ and maven central: http://repo1.maven.org/maven2/org/codehaus/mojo/ and

RE: Upload snapshot on nexus

2010-01-29 Thread Qureshi,Shahzad [Ontario]
Users List Subject: Re: Upload snapshot on nexus Why are you using scp and not http? /Anders On Fri, Jan 29, 2010 at 03:47, Qureshi,Shahzad [Ontario] shahzad.qure...@ec.gc.ca wrote: Ahh, forgot that it should be snapshotRepository and not repository below So it should

Upload snapshot on nexus

2010-01-28 Thread Qureshi,Shahzad [Ontario]
Hi all, I am having problem uploading a snapshot of my project to our internal nexus repository. Everything else is working fine, I can download plugins/dependencies, I am able to upload releases using the browser but when I try to do mvn deploy for a snapshot of my project, I get [INFO] Error

RE: Upload snapshot on nexus

2010-01-28 Thread Qureshi,Shahzad [Ontario]
: Ron Wheeler [mailto:rwhee...@artifact-software.com] Sent: Thursday, January 28, 2010 8:50 PM To: Maven Users List Subject: Re: Upload snapshot on nexus http://www.sonatype.com/books/nexus-book/reference/ch14s04.html Qureshi,Shahzad [Ontario] wrote: Hi all, I am having problem uploading

RE: Upload snapshot on nexus

2010-01-28 Thread Qureshi,Shahzad [Ontario]
: Qureshi,Shahzad [Ontario] [mailto:shahzad.qure...@ec.gc.ca] Sent: Thursday, January 28, 2010 9:30 PM To: Maven Users List Subject: *SPAM* RE: Upload snapshot on nexus Did that, also added a distributionManagement section in the pom like the following distributionManagement repository

To use version for maven.plugins or not to use, that is the question :)

2009-12-14 Thread Qureshi,Shahzad [Ontario]
Hi all, I wanna know the standard and the reasons behind it. I want to find out if I should specify a version for a maven plugins, lets say maven-javadoc-plugin, or not to specify it and in which case the default one will be used. At this point, I don't specify versions I recently setup Nexus

Putting nexus setting.xml info in pom

2009-12-08 Thread Qureshi,Shahzad [Ontario]
Hi all, I have installed nexus on our internal server as a repo manager. The nexus documentation tells me to put the following in settings.xml in my .m2 directory so that maven knows where to look for the nexus repo I don't want to distribute this settings.xml to all of my developers so what

RE: Putting nexus setting.xml info in pom

2009-12-08 Thread Qureshi,Shahzad [Ontario]
Yup, I your right and while looking for this, I realized the benefits of this Thanks for your help Wayne Shahzad Qureshi Systems Analyst/Programmer Applications Directorate | La direction générale des applications Chief Information Environment

Attaching source to artifact

2009-12-08 Thread Qureshi,Shahzad [Ontario]
Hi all, One of our the modules that we've is a library which is used by other projects. So I've created the jar and the source jar for this module using the instructions here: http://maven.apache.org/plugin-developers/cookbook/attach-source-javadoc-artifacts.html So now that I've the source

RE: Attaching source to artifact

2009-12-08 Thread Qureshi,Shahzad [Ontario]
-Original Message- From: Qureshi,Shahzad [Ontario] [mailto:shahzad.qure...@ec.gc.ca] Sent: Tuesday, December 08, 2009 4:58 PM To: Maven Users List Subject: Attaching source to artifact Hi all, One of our the modules that we've is a library which is used by other projects. So I've

RE: Attaching source to artifact

2009-12-08 Thread Qureshi,Shahzad [Ontario]
Environment Canada 416-739-4702 shahzad.qure...@ec.gc.ca -Original Message- From: Qureshi,Shahzad [Ontario] [mailto:shahzad.qure...@ec.gc.ca] Sent: Tuesday, December 08, 2009 5:10 PM To: Maven Users List Subject: RE: Attaching source to artifact Ya but the junit folks must've put the source

Warning while generating archetype

2009-12-04 Thread Qureshi,Shahzad [Ontario]
Hi all, I used archetype:create-from-project goal to create an archetype from a project of mine, worked perfectly. Installed the archetype and used it to create a project, which all worked fine However, I get following warnings when I create a project using the above mentioned archetype and

RE: Warning while generating archetype

2009-12-04 Thread Qureshi,Shahzad [Ontario]
into same location, or maybe same resources/files are listed twice in archetype.xml file. Regards, Stevo. On Fri, Dec 4, 2009 at 6:49 PM, Qureshi,Shahzad [Ontario] shahzad.qure...@ec.gc.ca wrote: Hi all, I used archetype:create-from-project goal to create an archetype from a project of mine

RE: Problem in creating own archetype

2009-11-16 Thread Qureshi,Shahzad [Ontario]
of the maven-archetype-plugin? This should give you some good starting point, from which you could adapt the archetype to your needs. hth, - martin [0] http://maven.apache.org/plugins/maven-archetype-plugin/advanced-usage.html Am Samstag, 14. November 2009 00:49:10 schrieb Qureshi,Shahzad [Ontario]: I

Update archetype-catalog.xml automatically

2009-11-16 Thread Qureshi,Shahzad [Ontario]
Hi all, Is there a way to automatically update my archetype-catalog.xml on our remote internal repo when I create/update my archetypes and deploy them. At this point, the only way I know is to go to the remote server and update the archetype catalog manually. I ftp that file on the remote

Problem in creating own archetype

2009-11-13 Thread Qureshi,Shahzad [Ontario]
Hi all, I am trying to convince my group here to start using Maven instead of Ant. I am preparing a demonstration for them and in the process, I am trying to create my own archetype. I've done it before but this time I am stuck at something which I've no idea how to solve. I want the project

RE: Problem in creating own archetype

2009-11-13 Thread Qureshi,Shahzad [Ontario]
I should mention that compile and install of archetype works fine, I am encountering all these issues when I am trying to create the archetype -Original Message- From: Qureshi,Shahzad [Ontario] [mailto:shahzad.qure...@ec.gc.ca] Sent: Friday, November 13, 2009 6:46 PM To: users

Uploading a new version to internal remote repository

2009-07-31 Thread Qureshi,Shahzad [Ontario]
Hi all, I've an internal remote repository setup which is working fine. I just have one confusion. I uploaded a internally developed library to the internal remote repository a few months ago which worked fine. However, now there is a new version for it available and I wanted to upload the new

RE: Uploading a new version to internal remote repository

2009-07-31 Thread Qureshi,Shahzad [Ontario]
2009/7/31 Qureshi,Shahzad [Ontario] shahzad.qure...@ec.gc.ca Hi all, I've an internal remote repository setup which is working fine. I just have one confusion. I uploaded a internally developed library to the internal remote repository a few months ago which worked fine. However, now

RE: Uploading a new version to internal remote repository

2009-07-31 Thread Qureshi,Shahzad [Ontario]
. The pom dictates the version of artifact you are using. This doesn't make sense to me. Adam 2009/7/31 Qureshi,Shahzad [Ontario] shahzad.qure...@ec.gc.ca Hi all, I've an internal remote repository setup which is working fine. I just have one confusion. I uploaded a internally developed

RE: Using archetype:generate with internal repository

2009-03-19 Thread Qureshi,Shahzad [Ontario]
Help please with my unsolved issue :) Shahzad Qureshi Systems Analyst/Programmer Applications Directorate, CIOB Environment Canada shahzad.qure...@ec.gc.ca -Original Message- From: Qureshi,Shahzad [Ontario] [mailto:shahzad.qure...@ec.gc.ca] Sent: Tuesday, March 17, 2009 4:43 PM

RE: Using archetype:generate with internal repository

2009-03-17 Thread Qureshi,Shahzad [Ontario]
, 2009 at 12:07 AM, Qureshi,Shahzad [Ontario] shahzad.qure...@ec.gc.ca wrote: Hi all, I am having difficulty using archetype:generate plugin where I want it to use an archetype stored in our internal repository. I was able to do so using archetype:create plugin. I've a settings.xml in .m2

Using archetype:generate with internal repository

2009-03-16 Thread Qureshi,Shahzad [Ontario]
Hi all, I am having difficulty using archetype:generate plugin where I want it to use an archetype stored in our internal repository. I was able to do so using archetype:create plugin. I've a settings.xml in .m2 directory and that's where archetype:create reads the internal repository information

RE: [SPAM] RE: Maven deploy project on a server different from remote repo server

2009-02-03 Thread Qureshi,Shahzad [Ontario]
- From: Qureshi,Shahzad [Ontario] [mailto:shahzad.qure...@ec.gc.ca] Sent: Monday, February 02, 2009 11:26 AM To: users@maven.apache.org Subject: Maven deploy project on a server different from remote repo server Hi all, Here is the situation. Our internal remote repository is on server1 and my

Maven deploy project on a server different from remote repo server

2009-02-02 Thread Qureshi,Shahzad [Ontario]
Hi all, Here is the situation. Our internal remote repository is on server1 and my application that will require some of the jars sitting on the remote repo is on server2. Now my application is in jar format (created using maven) and is used by a web coldfusion based application. Now, do I

RE: Unsubscribe

2009-01-21 Thread Qureshi,Shahzad [Ontario]
You have to send an email to users-unsubscr...@maven.apache.org to unsubscribe Shahzad Qureshi Systems Analyst/Programmer Applications Directorate, CIOB Environment Canada shahzad.qure...@ec.gc.ca -Original Message- From: Durbha, Praveen (GE Healthcare) [mailto:praveen.dur...@ge.com]

Exclude directory from src directory while packaging

2009-01-19 Thread Qureshi,Shahzad [Ontario]
Hi there, I was wondering if its possible to exclude a directory from the src directory so that it is not packaged. Following is the directory layout Src |---main |---java |---com |---abc |---my-project |---dir_dont_wanna_include So when I do mvn

Dependency SNAPSHOT problem

2008-10-09 Thread Qureshi,Shahzad [Ontario]
Hi all, I'm working on a module that is a dependency of our main project. I created this module as a snapshot since its currently under development as well and its not a stable version yet. I upload it to our internal remote repository, however, whenever anyone updates their dependencies they

RE: Dependency SNAPSHOT problem

2008-10-09 Thread Qureshi,Shahzad [Ontario]
your repository has been configured to check for updates... and also if you repository has been configured for snapshots Have a look in your settings.xml 2008/10/9 Qureshi,Shahzad [Ontario] [EMAIL PROTECTED]: Hi all, I'm working on a module that is a dependency of our main project. I created