You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Dennis Sosnoski <dm...@sosnoski.com> on 2007/07/13 07:14:24 UTC

[Axis2] maven(1) build?

It looks like the maven build is broken in trunk. I now get the failure:

BUILD FAILED
File...... /home/dennis/.maven/cache/maven-jar-plugin-1.6.1/plugin.jelly
Element... ant:fail
Line...... 53
Column.... 19
You must define currentVersion in your POM.
Total time: 13 seconds
Finished at: Fri Jul 13 17:12:00 NZST 2007

when trying to build. I'm using maven 1.0.2, and I've confirmed that it 
still works properly in older versions of Axis2 (such as the 1.2 branch).

Anyone have a solution?

  - Dennis

-- 
Dennis M. Sosnoski
SOA and Web Services in Java
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Re: [Axis2] maven(1) build?

Posted by Sanka Samaranayake <ss...@gmail.com>.
The maven1 build files have been removed few days ago. I guess you need to
switch to maven2 if you are to build the axis2 artifacts.

Best,
Sanka

On 7/13/07, Dennis Sosnoski <dm...@sosnoski.com> wrote:
>
> It looks like the maven build is broken in trunk. I now get the failure:
>
> BUILD FAILED
> File...... /home/dennis/.maven/cache/maven-jar-plugin-1.6.1/plugin.jelly
> Element... ant:fail
> Line...... 53
> Column.... 19
> You must define currentVersion in your POM.
> Total time: 13 seconds
> Finished at: Fri Jul 13 17:12:00 NZST 2007
>
> when trying to build. I'm using maven 1.0.2, and I've confirmed that it
> still works properly in older versions of Axis2 (such as the 1.2 branch).
>
> Anyone have a solution?
>
>   - Dennis
>
> --
> Dennis M. Sosnoski
> SOA and Web Services in Java
> Training and Consulting
> http://www.sosnoski.com - http://www.sosnoski.co.nz
> Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>


-- 
Sanka Samaranayake
WSO2 Inc.

http://www.bloglines.com/blog/sanka
http://www.wso2.org/

Re: [Axis2] maven(1) build?

Posted by Dennis Sosnoski <dm...@sosnoski.com>.
Thanks, Sumedha - that did it.

  - Dennis

sumedha rubasinghe wrote:
> hi Denis,
> try mvn -U clean install
>
> This will download maven-site-plugin.
>
>
> For you to generate distribution artifacts (binary, source, war 
> distributions), you need to add '-Drelease' to the command line.
>
> i.e. mvn clean install -Drelease
>
> This will create distributions under modules/distribution/target.
>
>
> /sumedha
>
>
>
> On 7/13/07, *Dennis Sosnoski * <dms@sosnoski.com 
> <ma...@sosnoski.com>> wrote:
>
>     I get (for "mvn clean install"):
>
>     BUILD ERROR
>     The plugin 'org.apache.maven.plugins:maven-site-plugin' does not exist
>     or no valid version could be found.
>
>     This appears to be a frequently-encountered problem with maven.
>     According to http://jira.codehaus.org/browse/MSITE-117 "There is
>     discussion of this on the users list and there are open issues in
>     MNG.",
>     but although I found many instances of problem reports none seemed to
>     have a solution.
>
>       - Dennis
>
>
>     Deepal Jayasinghe wrote:
>     > Hi Dennins;
>     > First download maven2 (2.0.7) and then run -  mvn clean intall
>     >
>     >
>     > Thanks
>     > Deepal
>     >
>     > Dennis Sosnoski wrote:
>     >
>     >> Then can someone provide maven2 setup and build directions?
>     Everything
>     >> I can find says only maven(1) is supported:
>     >>
>     >> http://ws.apache.org/axis2/faq.html#d3
>     >> http://ws.apache.org/axis2/svn.html#maven
>     >> http://ws.apache.org/axis2/siteHowTo.html
>     <http://ws.apache.org/axis2/siteHowTo.html>
>     >>
>     >>  - Dennis
>     >>
>     >>
>     >> Deepal Jayasinghe wrote:
>     >>
>     >>> Hi Dennis,
>     >>>
>     >>> We moved to maven2 .
>     >>>
>     >>> Thanks
>     >>> Deepal
>     >>>
>     >>>
>     >>>> It looks like the maven build is broken in trunk. I now get the
>     >>>> failure:
>     >>>>
>     >>>> BUILD FAILED
>     >>>> File......
>     >>>> /home/dennis/.maven/cache/maven-jar-plugin-1.6.1/plugin.jelly
>     >>>> Element... ant:fail
>     >>>> Line...... 53
>     >>>> Column.... 19
>     >>>> You must define currentVersion in your POM.
>     >>>> Total time: 13 seconds
>     >>>> Finished at: Fri Jul 13 17:12:00 NZST 2007
>     >>>>
>     >>>> when trying to build. I'm using maven 1.0.2, and I've
>     confirmed that
>     >>>> it still works properly in older versions of Axis2 (such as
>     the 1.2
>     >>>> branch).
>     >>>>
>     >>>> Anyone have a solution?
>     >>>>
>     >>>>  - Dennis
>     >>>>
>     >>>>
>     >>>>
>     >>>
>     >>>
>     >>
>     ---------------------------------------------------------------------
>     >> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
>     <ma...@ws.apache.org>
>     >> For additional commands, e-mail: axis-dev-help@ws.apache.org
>     <ma...@ws.apache.org>
>     >>
>     >>
>     >>
>     >>
>     >
>     >
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
>     <ma...@ws.apache.org>
>     For additional commands, e-mail: axis-dev-help@ws.apache.org
>     <ma...@ws.apache.org>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Re: [Axis2] maven(1) build?

Posted by sumedha rubasinghe <su...@gmail.com>.
hi Denis,
try mvn -U clean install

This will download maven-site-plugin.


For you to generate distribution artifacts (binary, source, war
distributions), you need to add '-Drelease' to the command line.

i.e. mvn clean install -Drelease

This will create distributions under modules/distribution/target.


/sumedha



On 7/13/07, Dennis Sosnoski <dm...@sosnoski.com> wrote:
>
> I get (for "mvn clean install"):
>
> BUILD ERROR
> The plugin 'org.apache.maven.plugins:maven-site-plugin' does not exist
> or no valid version could be found.
>
> This appears to be a frequently-encountered problem with maven.
> According to http://jira.codehaus.org/browse/MSITE-117 "There is
> discussion of this on the users list and there are open issues in MNG.",
> but although I found many instances of problem reports none seemed to
> have a solution.
>
>   - Dennis
>
>
> Deepal Jayasinghe wrote:
> > Hi Dennins;
> > First download maven2 (2.0.7) and then run -  mvn clean intall
> >
> >
> > Thanks
> > Deepal
> >
> > Dennis Sosnoski wrote:
> >
> >> Then can someone provide maven2 setup and build directions? Everything
> >> I can find says only maven(1) is supported:
> >>
> >> http://ws.apache.org/axis2/faq.html#d3
> >> http://ws.apache.org/axis2/svn.html#maven
> >> http://ws.apache.org/axis2/siteHowTo.html
> >>
> >>  - Dennis
> >>
> >>
> >> Deepal Jayasinghe wrote:
> >>
> >>> Hi Dennis,
> >>>
> >>> We moved to maven2 .
> >>>
> >>> Thanks
> >>> Deepal
> >>>
> >>>
> >>>> It looks like the maven build is broken in trunk. I now get the
> >>>> failure:
> >>>>
> >>>> BUILD FAILED
> >>>> File......
> >>>> /home/dennis/.maven/cache/maven-jar-plugin-1.6.1/plugin.jelly
> >>>> Element... ant:fail
> >>>> Line...... 53
> >>>> Column.... 19
> >>>> You must define currentVersion in your POM.
> >>>> Total time: 13 seconds
> >>>> Finished at: Fri Jul 13 17:12:00 NZST 2007
> >>>>
> >>>> when trying to build. I'm using maven 1.0.2, and I've confirmed that
> >>>> it still works properly in older versions of Axis2 (such as the 1.2
> >>>> branch).
> >>>>
> >>>> Anyone have a solution?
> >>>>
> >>>>  - Dennis
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> >> For additional commands, e-mail: axis-dev-help@ws.apache.org
> >>
> >>
> >>
> >>
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>

Re: [Axis2] maven(1) build?

Posted by Dennis Sosnoski <dm...@sosnoski.com>.
I get (for "mvn clean install"):

BUILD ERROR
The plugin 'org.apache.maven.plugins:maven-site-plugin' does not exist 
or no valid version could be found.

This appears to be a frequently-encountered problem with maven. 
According to http://jira.codehaus.org/browse/MSITE-117 "There is 
discussion of this on the users list and there are open issues in MNG.", 
but although I found many instances of problem reports none seemed to 
have a solution.

  - Dennis


Deepal Jayasinghe wrote:
> Hi Dennins;
> First download maven2 (2.0.7) and then run -  mvn clean intall
>
>
> Thanks
> Deepal
>
> Dennis Sosnoski wrote:
>   
>> Then can someone provide maven2 setup and build directions? Everything
>> I can find says only maven(1) is supported:
>>
>> http://ws.apache.org/axis2/faq.html#d3
>> http://ws.apache.org/axis2/svn.html#maven
>> http://ws.apache.org/axis2/siteHowTo.html
>>
>>  - Dennis
>>
>>
>> Deepal Jayasinghe wrote:
>>     
>>> Hi Dennis,
>>>
>>> We moved to maven2 .
>>>
>>> Thanks
>>> Deepal
>>>  
>>>       
>>>> It looks like the maven build is broken in trunk. I now get the
>>>> failure:
>>>>
>>>> BUILD FAILED
>>>> File......
>>>> /home/dennis/.maven/cache/maven-jar-plugin-1.6.1/plugin.jelly
>>>> Element... ant:fail
>>>> Line...... 53
>>>> Column.... 19
>>>> You must define currentVersion in your POM.
>>>> Total time: 13 seconds
>>>> Finished at: Fri Jul 13 17:12:00 NZST 2007
>>>>
>>>> when trying to build. I'm using maven 1.0.2, and I've confirmed that
>>>> it still works properly in older versions of Axis2 (such as the 1.2
>>>> branch).
>>>>
>>>> Anyone have a solution?
>>>>
>>>>  - Dennis
>>>>
>>>>     
>>>>         
>>>   
>>>       
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-dev-help@ws.apache.org
>>
>>
>>
>>     
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Re: [Axis2] maven(1) build?

Posted by Deepal Jayasinghe <de...@opensource.lk>.
Hi Dennins;
First download maven2 (2.0.7) and then run -  mvn clean intall


Thanks
Deepal

Dennis Sosnoski wrote:
> Then can someone provide maven2 setup and build directions? Everything
> I can find says only maven(1) is supported:
>
> http://ws.apache.org/axis2/faq.html#d3
> http://ws.apache.org/axis2/svn.html#maven
> http://ws.apache.org/axis2/siteHowTo.html
>
>  - Dennis
>
>
> Deepal Jayasinghe wrote:
>> Hi Dennis,
>>
>> We moved to maven2 .
>>
>> Thanks
>> Deepal
>>  
>>> It looks like the maven build is broken in trunk. I now get the
>>> failure:
>>>
>>> BUILD FAILED
>>> File......
>>> /home/dennis/.maven/cache/maven-jar-plugin-1.6.1/plugin.jelly
>>> Element... ant:fail
>>> Line...... 53
>>> Column.... 19
>>> You must define currentVersion in your POM.
>>> Total time: 13 seconds
>>> Finished at: Fri Jul 13 17:12:00 NZST 2007
>>>
>>> when trying to build. I'm using maven 1.0.2, and I've confirmed that
>>> it still works properly in older versions of Axis2 (such as the 1.2
>>> branch).
>>>
>>> Anyone have a solution?
>>>
>>>  - Dennis
>>>
>>>     
>>
>>   
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>
>

-- 
Thanks,
Deepal
................................................................
"The highest tower is built one brick at a time"



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Re: [Axis2] maven(1) build?

Posted by Dennis Sosnoski <dm...@sosnoski.com>.
Then can someone provide maven2 setup and build directions? Everything I 
can find says only maven(1) is supported:

http://ws.apache.org/axis2/faq.html#d3
http://ws.apache.org/axis2/svn.html#maven
http://ws.apache.org/axis2/siteHowTo.html

  - Dennis


Deepal Jayasinghe wrote:
> Hi Dennis,
>
> We moved to maven2 .
>
> Thanks
> Deepal
>   
>> It looks like the maven build is broken in trunk. I now get the failure:
>>
>> BUILD FAILED
>> File...... /home/dennis/.maven/cache/maven-jar-plugin-1.6.1/plugin.jelly
>> Element... ant:fail
>> Line...... 53
>> Column.... 19
>> You must define currentVersion in your POM.
>> Total time: 13 seconds
>> Finished at: Fri Jul 13 17:12:00 NZST 2007
>>
>> when trying to build. I'm using maven 1.0.2, and I've confirmed that
>> it still works properly in older versions of Axis2 (such as the 1.2
>> branch).
>>
>> Anyone have a solution?
>>
>>  - Dennis
>>
>>     
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Re: [Axis2] maven(1) build?

Posted by Deepal Jayasinghe <de...@opensource.lk>.
Hi Dennis,

We moved to maven2 .

Thanks
Deepal
> It looks like the maven build is broken in trunk. I now get the failure:
>
> BUILD FAILED
> File...... /home/dennis/.maven/cache/maven-jar-plugin-1.6.1/plugin.jelly
> Element... ant:fail
> Line...... 53
> Column.... 19
> You must define currentVersion in your POM.
> Total time: 13 seconds
> Finished at: Fri Jul 13 17:12:00 NZST 2007
>
> when trying to build. I'm using maven 1.0.2, and I've confirmed that
> it still works properly in older versions of Axis2 (such as the 1.2
> branch).
>
> Anyone have a solution?
>
>  - Dennis
>

-- 
Thanks,
Deepal
................................................................
"The highest tower is built one brick at a time"



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org