Hi,

Yes that I changed the name, but I still get the extention change.

[INFO] Installing
/home/muthulee/Downloads/rampartComp/rampart/trunk/java/modules/rampart-core/target/rampart-core-SNAPSHOT.mar
to 
/home/muthulee/.m2/repository/org/apache/rampart/rampart-core/SNAPSHOT/rampart-core-SNAPSHOT.jar

I cannot specify

<packaging>mar</packaging>

Maven doesn't recognize that.

Thanks,
Dimuthu.
--------------------
www.wso2.com

On 1/26/07, sumedha rubasinghe <[EMAIL PROTECTED]> wrote:
Hi Dimuthu,
It looks like not only your extension gets changed, but also the
artifact name.

[INFO] Installing
..../target/rampart-SNAPSHOT.mar
to../SNAPSHOT/rampart-core-SNAPSHOT.jar

Add -X option (for debug information) to your maven command & check if
it leads you any where.


Also check values for following elements in your pom.xml.
  <artifactId>XXXXX</artifactId>
  <packaging>XXX</packaging>
  <version>XXXX</version>

/sumedha






Dimuthu Leelaratne wrote:
> Hi devs,
>
> I am working on Rampart build. I am using axis2-mar-maven-plugin to
> create the required ".mar files". The rampart-SNAPSHOT.mar gets
> created properly, but in the install phase it changes the name from
> "rampart-SNAPSHOT.mar" to "rampart-SNAPSHOT.jar" while copying to the
> maven local repository. Here is the log output.
>
> [INFO] [axis2-mar:mar {execution: default}]
> [INFO] Generating mar
> 
/home/muthulee/Downloads/rampartComp/rampart/trunk/java/modules/rampart-core/target/rampart-SNAPSHOT.mar
>
> [INFO] Building jar:
> 
/home/muthulee/Downloads/rampartComp/rampart/trunk/java/modules/rampart-core/target/rampart-SNAPSHOT.mar
>
> [INFO] [install:install]
> [INFO] Installing
> 
/home/muthulee/Downloads/rampartComp/rampart/trunk/java/modules/rampart-core/target/rampart-SNAPSHOT.mar
>
> to
> 
/home/muthulee/.m2/repository/org/apache/rampart/rampart-core/SNAPSHOT/rampart-core-SNAPSHOT.jar
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO]
> ------------------------------------------------------------------------
>
> I think I am missing something here. Do I have to write a custom
> artifact handler in this situation?
>
> Thanks,
> Dimuthu.
> -----------------------
> www.wso2.com
>
> ---------------------------------------------------------------------
> 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]

Reply via email to