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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>>
>
>

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


Reply via email to