I also get the plugin build problem, so i expect it will be that the
build is using different versions of maven plugins as we don't have
explicit versions used everywhere. The enforcer plugin could be used
to stop that like we have now in 2.x by adding the following to the
top level pom.xml (though someone would then need to go through fixing
all the unspecified versions):
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.0-beta-1</version>
<executions>
<execution>
<id>enforce-plugin-versions</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requirePluginVersions>
<message>Best Practice is to always define released
plugin versions!</message>
<banLatest>true</banLatest>
<banRelease>true</banRelease>
<banSnapshots>true</banSnapshots>
<phases>clean,deploy,site</phases>
<additionalPlugins>
</additionalPlugins>
</requirePluginVersions>
</rules>
</configuration>
</execution>
</executions>
</plugin>
...ant
On Thu, Jan 21, 2010 at 10:37 PM, Raymond Feng <[email protected]> wrote:
> Hi,
>
> I don't see the following error when I build the tools/maven directory from
> 1.6 branch [1].
>
>> INFO]
>> ------------------------------------------------------------------------
>> INFO] Error for project: Apache Tuscany SCA Incremental Build Generator
>> Maven P
>> ugin (during install)
>> INFO]
>> ------------------------------------------------------------------------
>> INFO] Error extracting plugin descriptor: 'No mojo definitions were found
>> for p
>> ugin: org.apache.tuscany.sca:tuscany-maven-incremental-build.'
>
> [1]
> http://svn.apache.org/repos/asf/tuscany/sca-java-1.x/branches/sca-java-1.6/
>
> Thanks,
> Raymond
> --------------------------------------------------
> From: "Simon Laws" <[email protected]>
> Sent: Thursday, January 21, 2010 1:22 PM
> To: <[email protected]>; <[email protected]>
> Subject: Re: [1.6] Please review Java SCA 1.6 RC0
>
>> Without clearing the repo I get the following. I'll look at them when
>> I get 5 mins.
>>
>> INFO]
>> ------------------------------------------------------------------------
>> INFO] Error for project: Apache Tuscany SCA Incremental Build Generator
>> Maven P
>> ugin (during install)
>> INFO]
>> ------------------------------------------------------------------------
>> INFO] Error extracting plugin descriptor: 'No mojo definitions were found
>> for p
>> ugin: org.apache.tuscany.sca:tuscany-maven-incremental-build.'
>>
>> INFO]
>> ------------------------------------------------------------------------
>> INFO] Error for project: Apache Tuscany SCA vTest Java APIs and
>> Annotations Ver
>> fication Tests - Annotations - @OneWay (during install)
>> INFO]
>> ------------------------------------------------------------------------
>> INFO] There are test failures.
>>
>> lease refer to
>> D:\sca-release\sca-r1.6-RC0\tuscany-sca-1.6-SNAPSHOT-src\vtest\j
>> va-api\annotations\oneway\target\surefire-reports for the individual test
>> resul
>> s.
>> INFO]
>> ------------------------------------------------------------------------
>> INFO] For more information, run Maven with the -e switch
>> INFO]
>> ------------------------------------------------------------------------
>> INFO] BUILD ERRORS
>> INFO]
>> ------------------------------------------------------------------------
>> INFO] Total time: 57 minutes 21 seconds
>> INFO] Finished at: Thu Jan 21 16:44:44 GMT 2010
>> INFO] Final Memory: 496M/1016M
>> INFO]
>> ------------------------------------------------------------------------
>>
>> Simon
>
>