You need to create a new packaging type. See http://stackoverflow.com/questions/1427722/how-do-i-create-a-new-packagi ng-type-for-maven
Justin -----Original Message----- From: nsowatsk [mailto:nsowa...@cisco.com] Sent: Tuesday, October 27, 2009 8:53 AM To: Maven Users List Subject: Creating a dar archive Hi all I would like to use Maven to create a new kind of archive. I want this new archive to be called a "dar" file. I want it to work the same in all other respects as jars/wars/ears, so it is really just the name that differs. As a first stab at this I have created a DARMojo that extends AbstractFromDependenciesMojo and made changes like: protected static File getJarFile(File basedir, String finalName) { return new File(basedir, finalName + ".dar"); } And that's pretty much it. BUT, I get this problem: Installing xxx/yyy-0.0.1-SNAPSHOT.dar to xxx/0.0.1-SNAPSHOT/yyy-0.0.1-SNAPSHOT.jar Where the dar file that I have created is being installed as a jar file :-/ So, any ideas about how I can work around this please? Many thanks Nathan -- Nathan Sowatskey (nsowa...@cisco.com) - Technical Leader, NMTG XMP - +34-638-083-675 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org