Thanks a lot Neeraj. 

I have resolved this issue by adding a parent pom.xml file in the directory
above the other two and it is working perfectly fine.



Neeraj Bisht wrote:
> 
> use multiproject build to do your task
> On 3/11/07, sirji <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi all,
>>
>> I have two projects, first is JAR project and second is webapp project. I
>> want to invoke the install goal for the first project from the POM file
>> of
>> second project and expect it to move into the Lib directory of the
>> webapp.
>>
>> Kindly let me if this possible.. if yes, then how can I do this.
>>
>> I was trying ant tasks mentioned at
>> http://maven.apache.org/ant-tasks.html
>> ,
>> but this isn't working for me. I get following error message:-
>>
>> Unrecognised tag: 'artifact:install'
>>
>> My intention is to call invoke of first project from another's POM file.
>>
>> Any pointer on this will be really helpful.
>> --
>> View this message in context:
>> http://www.nabble.com/two-projects..-invoke-install-for-first-project-from-another-tf3383389s177.html#a9417491
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/two-projects..-invoke-install-for-first-project-from-another-tf3383389s177.html#a9434128
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to