Suedha,
Thanks for your response. I have updated my pom using
<plugin>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-mar-maven-plugin</artifactId>
<version>1.2-SNAPSHOT</version>
<configuration>
<includeDependencies>false</includeDependencies>
<moduleXmlFile>module.xml</moduleXmlFile>
</configuration>
</plugin>
and am now getting the following exception
[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------------------------
[INFO] Building logging
[INFO] task-segment: [clean, package]
[INFO]
----------------------------------------------------------------------------
[INFO] snapshot org.apache.axis2:axis2-mar-maven-plugin:1.2-SNAPSHOT:
checking for updates from apache.snapshots
Downloading:
http://cvs.apache.org/maven-snapshot-repository/org/apache/axis2/axis2-mar-maven-plugin/1.2-SNAPSHOT/axis2-mar-maven-pl
ugin-1.2-20070508.150100-53.pom
3K downloaded
[INFO] snapshot org.apache.axis2:axis2-parent:1.2-SNAPSHOT: checking for
updates from apache.snapshots
Downloading:
http://cvs.apache.org/maven-snapshot-repository/org/apache/axis2/axis2-parent/1.2-SNAPSHOT/axis2-parent-1.2-20070508.15
0100-52.pom
26K downloaded
Downloading:
http://cvs.apache.org/maven-snapshot-repository/org/apache/axis2/axis2-mar-maven-plugin/1.2-SNAPSHOT/axis2-mar-maven-pl
ugin-1.2-20070508.150100-53.jar
12K downloaded
[INFO] [clean:clean]
[INFO] Deleting directory C:\projects\axis2-projects\logging-module\target
[INFO] Deleting directory
C:\projects\axis2-projects\logging-module\target\classes
[INFO] Deleting directory
C:\projects\axis2-projects\logging-module\target\test-classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Cannot find lifecycle mapping for packaging: 'mar'.
Component descriptor cannot be found in the component repository:
org.apache.maven.lifecycle.mapping.LifecycleMappingmar.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 12 seconds
[INFO] Finished at: Fri May 18 22:40:06 EST 2007
[INFO] Final Memory: 2M/5M
[INFO]
------------------------------------------------------------------------
I am using the following pluginRepository
http://cvs.apache.org/maven-snapshot-repository
cheers
</jima>
Yes. There is...
What you need to have in pom.xml is something similar to following...
<plugin>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-mar-maven-plugin</artifactId>
<version>SNAPSHOT</version>
<extensions>true</extensions>
<configuration>
<includeDependencies>false</includeDependencies>
<moduleXmlFile>module.xml</moduleXmlFile>
</configuration>
</plugin>
/sumedha
Jim Alateras wrote:
Is there a maven plugin for generated 'mar' archives? Can I just use
the aar-plugin to do the job or maybe the assembly-plugin.
cheers
</jima>
---------------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]