What you're seeing there is which plugin with which goal to run. As far as I know there is no plugin which creates such ".spring" files. Are they any special files?
One solution I see is to specify the assembly plugin there and provide a default configuration in your company's parent pom. (Sort like Maven does, the default configuration in the super pom) If it involves something more then just assembling some files I think you need to create your own plugin. Could you please inform us a little more about those ".spring" files? What are they? How should they be created? What do they contain? With regards, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl -----Original Message----- From: Andrew Madu [mailto:[EMAIL PROTECTED] Sent: Fri 6/6/2008 14:59 To: Maven Users List Subject: Re: HowTo: Create new Dependency Type? Hi, I'm currently editing the PLEXUS\components file: [code] <component> <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role> <role-hint>spring</role-hint> <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation> <configuration> <lifecycles> <lifecycle> <id>default</id> <phases> <process-resources>org.apache.maven.plugins:maven-resources-plugin:resources</process-resources> <compile>org.apache.maven.plugins:maven-compiler-plugin:compile</compile> <process-test-resources>org.apache.maven.plugins:maven-resources-plugin:testResources</process-test-resources> <test-compile>org.apache.maven.plugins:maven-compiler-plugin:testCompile</test-compile> <test>org.apache.maven.plugins:maven-surefire-plugin:test</test> *<package>org.apache.maven.plugins:maven-jar-plugin:jar</package>* <install>org.apache.maven.plugins:maven-install-plugin:install</install> <deploy>org.apache.maven.plugins:maven-deploy-plugin:deploy</deploy> </phases> </lifecycle> </lifecycles> </configuration> </component> [/code] and in regards to the <package/> section what I wish to do is to specify a package returned with a file extension of .spring. I have tried to specify org.apache.maven.plugins:maven-jar-plugin:spring but of course an 'plugin does not exist' error is then generated. How do I specify this in the document? Many thanks in advance. -- Regards Andrew > Hi, > > Back in the days there used to be a piece of information on specifying a new > package on the maven web site. I found a backup at [1]. Also at [2] there is > issue with patch which adds a new packaging. So maybe you have to patch a > custom maven installation to provide your package type. > > Hth, > > [1] > http://www.propellors.net/maven/site/guides/introduction/introduction-to-the-lifecycle.html > [2] > https://jira.codehaus.org/browse/MNG-3343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > > Nick Stolwijk > ~Java Developer~ > > Iprofs BV. > Claus Sluterweg 125 > 2012 WS Haarlem > www.iprofs.nl > > > > -----Original Message----- > From: Andrew Madu [mailto:[EMAIL PROTECTED] > Sent: Fri 6/6/2008 10:43 > To: users@maven.apache.org > Subject: HowTo: Create new Dependency Type? > > Hi, > I am in the process of re-architecting a project using the Spring > framework on a Jboss5 AS and need to create a new dependency of type > 'spring', <packaging>spring</packaging>. > > How do I go about doing this? > > My platform details are as follows: > Maven version: 2.0.9 > JDK: 1.6.0_06 > OS: Win XP SP1 > > Many thanks in advance > >