You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Nitin Verma <ni...@gmail.com> on 2009/05/29 22:04:54 UTC

Adding a new packaging

Hi,

I looking at adding a packaging, that would have phases mapped to
appropriate goals.

Can some one guide me on how to add a new packaging?

Regards,

Nitin Verma

<project xmlns="http://maven.apache.org/POM/4.0.0"
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">
  <modelVersion>4.0.0</modelVersion>
  <groupId>edu.nitin</groupId>
  <artifactId>simple</artifactId>
  <packaging>javascript</packaging>
  <version>1.0-SNAPSHOT</version>
  <name>simple</name>
...
</project>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Adding a new packaging

Posted by Nitin Verma <ni...@gmail.com>.
+users@maven.apache.org

On Sat, May 30, 2009 at 1:34 AM, Nitin Verma <ni...@gmail.com> wrote:
> Hi,
>
> I looking at adding a packaging, that would have phases mapped to
> appropriate goals.
>
> Can some one guide me on how to add a new packaging?
>
> Regards,
>
> Nitin Verma
>
> <project xmlns="http://maven.apache.org/POM/4.0.0"
> 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">
>  <modelVersion>4.0.0</modelVersion>
>  <groupId>edu.nitin</groupId>
>  <artifactId>simple</artifactId>
>  <packaging>javascript</packaging>
>  <version>1.0-SNAPSHOT</version>
>  <name>simple</name>
> ...
> </project>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Adding a new packaging

Posted by Nitin Verma <ni...@gmail.com>.
Hi Benjamin,

Thanx, I have been able to write an initial version of the packaging plugin.

One more small question what is the best place to override the
properties like project.compileSourceRoots,
project.build.outputDirectory etc. Do we have a plugin that does that?

Regards,

Nitin Verma

On Sat, May 30, 2009 at 3:11 PM, Benjamin Bentmann
<be...@udo.edu> wrote:
> Nitin Verma wrote:
>
>> I looking at adding a packaging, that would have phases mapped to
>> appropriate goals.
>>
>> Can some one guide me on how to add a new packaging?
>
> The section "Specifying a New Packaging" in [0] provides some hints. [1]
> shows a minimal example plugin.
>
>
> Benjamin
>
>
> [0]
> http://svn.apache.org/viewvc/maven/site/trunk/src/site/apt/guides/introduction/introduction-to-the-lifecycle.apt?revision=501590
> [1]
> http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-packaging/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Adding a new packaging

Posted by Benjamin Bentmann <be...@udo.edu>.
Nitin Verma wrote:

> I looking at adding a packaging, that would have phases mapped to
> appropriate goals.
> 
> Can some one guide me on how to add a new packaging?

The section "Specifying a New Packaging" in [0] provides some hints. [1] 
shows a minimal example plugin.


Benjamin


[0] 
http://svn.apache.org/viewvc/maven/site/trunk/src/site/apt/guides/introduction/introduction-to-the-lifecycle.apt?revision=501590
[1] 
http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-packaging/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Adding a new packaging

Posted by Nitin Verma <ni...@gmail.com>.
+users@maven.apache.org

On Sat, May 30, 2009 at 1:34 AM, Nitin Verma <ni...@gmail.com> wrote:
> Hi,
>
> I looking at adding a packaging, that would have phases mapped to
> appropriate goals.
>
> Can some one guide me on how to add a new packaging?
>
> Regards,
>
> Nitin Verma
>
> <project xmlns="http://maven.apache.org/POM/4.0.0"
> 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">
>  <modelVersion>4.0.0</modelVersion>
>  <groupId>edu.nitin</groupId>
>  <artifactId>simple</artifactId>
>  <packaging>javascript</packaging>
>  <version>1.0-SNAPSHOT</version>
>  <name>simple</name>
> ...
> </project>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org