Unfortunately not. :-(
If you delete the axis2-mar-maven-plugin directory from your local
repo and run in offline mode you get the following exception. This
emulates what would happen when the version number is set to
non-SNAPSHOT and the mar plugin with the relevant version is not found
anywhere.
David
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Plugin could not be found - check that the goal name is correct: System i
s offline.
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.axis2.maven2 -DartifactId=axis
2-mar-maven-plugin \
-Dversion=SNAPSHOT -Dpackaging=maven-plugin -Dfile=/path/to/file
org.apache.axis2.maven2:axis2-mar-maven-plugin:maven-plugin:SNAPSHOT
org.apache.axis2.maven2:axis2-mar-maven-plugin:maven-plugin:SNAPSHOT
On 14/02/07, Davanum Srinivas <[EMAIL PROTECTED]> wrote:
David,
See the order of the projects getting built. AAR Maven Plugin is built
first. So all's well :)
[INFO] Apache Axis 2.0 - Parent
[INFO] Apache Axis 2.0 - tool - AAR Maven Plugin
[INFO] Apache Axis 2.0 - Java2WSDL
[INFO] Apache Axis 2.0 - Kernel
[INFO] Apache Axis 2.0 - Data Binding
[INFO] Apache Axis 2.0 - Code Generation
[INFO] Apache Axis 2.0 - ADB Codegen
[INFO] Apache Axis 2.0 - tool - Ant Plugin
[INFO] Apache Axis 2.0 - tool - Intellij IDEA Plugin
[INFO] Apache Axis 2.0 - tool - Java2WSDL Maven Plugin
[INFO] Apache Axis 2.0 - tools - WSDL2Code Maven Plugin
[INFO] Apache Axis 2.0 - tool - MAR Maven Plugin
[INFO] Apache Axis 2.0 - Addressing
[INFO] Apache Axis 2.0 - JiBX Data Binding
[INFO] Apache Axis 2.0 - XMLBeans Data Binding
[INFO] Apache Axis 2.0 - JSON
[INFO] Apache Axis 2.0 - MTOM Policy
[INFO] Apache Axis 2.0 - spring
[INFO] Apache Axis 2.0 - JAXB-RI Data Binding
[INFO] Apache Axis 2.0 - SAAJ API
[INFO] Apache Axis 2.0 - JAXWS API
[INFO] Apache Axis 2.0 - Metadata
[INFO] Apache Axis 2.0 - SAAJ
[INFO] Apache Axis 2.0 - JAXWS
[INFO] Apache Axis 2.0 - Root
thanks,
dims
On 2/14/07, David Illsley <[EMAIL PROTECTED]> wrote:
> Sorry dims, I've just noticed the preceding commits, maybe you've
> found a way round the problem I was talking about... :-)
> David
>
> On 14/02/07, David Illsley <[EMAIL PROTECTED]> wrote:
> > Hi Dims,
> > I changed the parent from being a common parent to being the standard
> > maven one because it's not possible to do a full build from nothing
> > with a new version number including the mar and aar plugins. They have
> > to be separated out. If they have a common parent, dealing with
> > releasing a new version will be a lot more difficult.
> >
> > David
> >
> > On 14/02/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > > Author: dims
> > > Date: Tue Feb 13 20:59:37 2007
> > > New Revision: 507391
> > >
> > > URL: http://svn.apache.org/viewvc?view=rev&rev=507391
> > > Log:
> > > oops! forgot to set the parent correctly
> > >
> > > Modified:
> > >
webservices/axis2/trunk/java/modules/tool/axis2-aar-maven-plugin/pom.xml
> > >
webservices/axis2/trunk/java/modules/tool/axis2-wsdl2code-maven-plugin/pom.xml
> > >
> > > Modified:
webservices/axis2/trunk/java/modules/tool/axis2-aar-maven-plugin/pom.xml
> > > URL:
http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/tool/axis2-aar-maven-plugin/pom.xml?view=diff&rev=507391&r1=507390&r2=507391
> > >
==============================================================================
> > > ---
webservices/axis2/trunk/java/modules/tool/axis2-aar-maven-plugin/pom.xml (original)
> > > +++
webservices/axis2/trunk/java/modules/tool/axis2-aar-maven-plugin/pom.xml Tue Feb 13
20:59:37 2007
> > > @@ -20,9 +20,10 @@
> > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
> > > <parent>
> > > - <groupId>org.apache</groupId>
> > > - <artifactId>apache</artifactId>
> > > - <version>3</version>
> > > + <groupId>org.apache.axis2</groupId>
> > > + <artifactId>axis2-parent</artifactId>
> > > + <version>SNAPSHOT</version>
> > > + <relativePath>../../parent/pom.xml</relativePath>
> > > </parent>
> > > <modelVersion>4.0.0</modelVersion>
> > > <artifactId>axis2-aar-maven-plugin</artifactId>
> > >
> > > Modified:
webservices/axis2/trunk/java/modules/tool/axis2-wsdl2code-maven-plugin/pom.xml
> > > URL:
http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/tool/axis2-wsdl2code-maven-plugin/pom.xml?view=diff&rev=507391&r1=507390&r2=507391
> > >
==============================================================================
> > > ---
webservices/axis2/trunk/java/modules/tool/axis2-wsdl2code-maven-plugin/pom.xml (original)
> > > +++
webservices/axis2/trunk/java/modules/tool/axis2-wsdl2code-maven-plugin/pom.xml Tue Feb
13 20:59:37 2007
> > > @@ -20,9 +20,10 @@
> > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
> > > <parent>
> > > - <groupId>org.apache.axis2.maven2</groupId>
> > > - <artifactId>axis2-maven-tools</artifactId>
> > > + <groupId>org.apache.axis2</groupId>
> > > + <artifactId>axis2-parent</artifactId>
> > > <version>SNAPSHOT</version>
> > > + <relativePath>../../parent/pom.xml</relativePath>
> > > </parent>
> > > <modelVersion>4.0.0</modelVersion>
> > > <artifactId>axis2-wsdl2code-maven-plugin</artifactId>
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > David Illsley - IBM Web Services Development
> >
>
>
> --
> David Illsley - IBM Web Services Development
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Davanum Srinivas :: http://wso2.org/ :: Oxygen for Web Services Developers
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
David Illsley - IBM Web Services Development
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]