You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by lilyevsky <le...@yahoo.com> on 2014/03/20 14:30:37 UTC

The par packaging not working

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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: The par packaging not working

Posted by Baptiste Mathus <bm...@batmat.net>.
Hi,

Out of curiosity, what's a par packaging? The only links I found on the Web
talks about perl, are they perl archive or so?

Just had a quick at https://maven.apache.org/plugins/ and didn't find
anything related to par. I've personnally never heard of it. Can you
provide us with more details?

Cheers


2014-03-20 14:30 GMT+01:00 lilyevsky <le...@yahoo.com>:

>
> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !

Re: The par packaging not working

Posted by Hervé BOUTEMY <he...@free.fr>.
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 <le...@yahoo.com> 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: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org


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


Re: The par packaging not working

Posted by Wayne Fay <wa...@gmail.com>.
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 <le...@yahoo.com> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

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