I was surprised too, but lilyevsky is right: par packaging is defined in Maven 
default lifecycles [1] and it points to a non-existent 
"org.apache.maven.plugins:maven-par-plugin" plugin

it was added in r332151 [2], for MNG-699 [3] in Maven 2.0.1, with a link to 
MOJO-98 [4] for corresponding plugin
In this Jira entry, this plugin is called "New Par plugin for packaging 
artifacts as .par files (EJB3 Persistence Archives)"
And it is effectively still available in Maven ASF sandbox [5]


Now, I have a few questions:

1. is "EJB3 Persistence Archives" what you were expecting?

2. can you try the plugin from sandbox and check that it works for what you 
expect?

This seems a work in progress that nobody ever tried to use: but perhaps it is 
only a matter of getting the plugin out from sandbox.

The other solution is that is is some EJB feature that was lost during JEE 
evolution, and we simply should remove the lifecycle from Maven core (and the 
plugin from sandbox)

Regards,

Hervé


[1] 
http://maven.apache.org/ref/3.2.1/maven-core/default-bindings.html#Plugin_bindings_for_par_packaging

[2] http://svn.apache.org/viewvc?view=revision&revision=332151

[3] http://jira.codehaus.org/browse/MNG-699

[4] http://jira.codehaus.org/browse/MOJO-98

[5] http://svn.apache.org/viewvc/maven/sandbox/trunk/plugins/maven-par-plugin/

Le jeudi 20 mars 2014 16:37:33 Wayne Fay a écrit :
> Google has more information on the par plugin if you look there. From
> what I can see, the Apache Maven dev team has nothing to do with this
> plugin.
> 
> Instead I think you should look at the Codehaus Mojo project, specifically:
> http://mojo.codehaus.org/jboss-packaging-maven-plugin/par-mojo.html
> 
> I also found some Github links. Most likely you are going to have to
> build it yourself and "mvn install" it locally to use.
> 
> Wayne
> 
> On Thu, Mar 20, 2014 at 8:30 AM, lilyevsky <[email protected]> wrote:
> > The "par" packaging is not working. It is dependent on the
> > org.apache.maven.plugins:maven-par-plugin, but this plugin does not exist.
> > Is it deprecated?
> > I am using the latest maven 3.2.1.
> > How should I make the par package these days? I know this thing is
> > relatively simple: just a collection of jars plus manifest with a few
> > special entries. But I don't want to re-invent the wheel.
> > 
> > 
> > 
> > --
> > View this message in context:
> > http://maven.40175.n5.nabble.com/The-par-packaging-not-working-tp5788937.
> > html Sent from the Maven - Users mailing list archive at Nabble.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