You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Gary Gregory <ga...@gmail.com> on 2011/11/24 13:57:45 UTC

[daemon] How to get the Windows EXEs out of Maven Central

How do I get the Windows EXEs out of Maven Central?

When I look at:

http://search.maven.org/#artifactdetails|commons-daemon|commons-daemon|1.0.7|jar

I do not see a container file for EXEs for 1.0.7, 1.0.8 is not there yet,
will it be different?

Thank you,
Gary

-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Re: [daemon] How to get the Windows EXEs out of Maven Central

Posted by Gary Gregory <ga...@gmail.com>.
On Thu, Nov 24, 2011 at 9:27 AM, sebb <se...@gmail.com> wrote:

> On 24 November 2011 12:57, Gary Gregory <ga...@gmail.com> wrote:
> > How do I get the Windows EXEs out of Maven Central?
>
> You don't; Maven Central is for Java dependencies only.
>

Well, that's not putting me in the holiday spirit.

It is a Java dependency in the sense that Java applications depend on it!

What's the argument against? MC does not know about the Java-ness of the
files it stores, does it?

I care that I write my apps in Java and use Java tools to build the thing.
Except for this one corner case? Bummer.

Gary


> > When I look at:
> >
> >
> http://search.maven.org/#artifactdetails|commons-daemon|commons-daemon|1.0.7|jar
> >
> > I do not see a container file for EXEs for 1.0.7, 1.0.8 is not there yet,
>
> Released earlier today, as shown by the Nexus mail.
>
> May take a day or so to be picked up.
>
> > will it be different?
>
> No.
>
> > Thank you,
> > Gary
> >
> > --
> > E-Mail: garydgregory@gmail.com | ggregory@apache.org
> > JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
> > Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
> > Blog: http://garygregory.wordpress.com
> > Home: http://garygregory.com/
> > Tweet! http://twitter.com/GaryGregory
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>


-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Re: [daemon] How to get the Windows EXEs out of Maven Central

Posted by Jörg Schaible <jo...@gmx.de>.
sebb wrote:

> On 24 November 2011 15:36, Jörg Schaible <jo...@scalaris.com>
> wrote:
>> sebb wrote:
>>
>>> On 24 November 2011 12:57, Gary Gregory <ga...@gmail.com> wrote:
>>>> How do I get the Windows EXEs out of Maven Central?
>>>
>>> You don't; Maven Central is for Java dependencies only.
>>
>> Who said that? The repo contains whatever has been uploaded/deployed.
> 
> That was my understanding.
> I've never seen an EXE on MC.
> 
> If it supports them, fine, we could consider deploying Daemon exes there.
> 
> But note that EXEs are highly OS-dependent, whereas jars generally aren't.
> There are 3 different versions of prunsrv for different architectures
> (32-bit, ia64, amd64) currently.

Obviously they cannot share all the same artifact coordinates. Using e.g. 
the nar-plugin to create shared libraries (dll or so) from C/C++ code, the 
plugin typically uses a classifier that is assembled by Compiler/OS/Arch.

However, the repository is defining the naming scheme. All you can do is to 
use something like the dependency-plugin to create a local copy that is 
stripped by version and classifier. So, the question is, if that's the way 
to go with daemon.

- Jörg


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


Re: [daemon] How to get the Windows EXEs out of Maven Central

Posted by Jörg Schaible <jo...@gmx.de>.
Hi Mladen,

Mladen Turk wrote:

> On 11/24/2011 06:26 PM, Gary Gregory wrote:
>> On Thu, Nov 24, 2011 at 10:45 AM, sebb<se...@gmail.com>  wrote:
>>
>>
>> I care more about the fact that the native binaries are available than
>> how they are packaged. Separately (32-bit, ia64, amd64) or all in one. I
>> prefer all in one.
>>
> 
> They are packed as all-in-one (manually)
> and the artifact is named commons-daemon-${version}-bin-windows.zip
> 
> Benefit might be so that user won't need to use different
> download system for .jar and for binaries when embedding daemon
> in his project.
> If someone thinks this artifact can be used as maven dependency
> I see no problem of adding it to the maven repo.

At least you can address it that way as dependency in case of need.

- Jörg


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


Re: [daemon] How to get the Windows EXEs out of Maven Central

Posted by Mladen Turk <mt...@apache.org>.
On 11/24/2011 06:26 PM, Gary Gregory wrote:
> On Thu, Nov 24, 2011 at 10:45 AM, sebb<se...@gmail.com>  wrote:
>
>
> I care more about the fact that the native binaries are available than how
> they are packaged. Separately (32-bit, ia64, amd64) or all in one. I prefer
> all in one.
>

They are packed as all-in-one (manually)
and the artifact is named commons-daemon-${version}-bin-windows.zip

Benefit might be so that user won't need to use different
download system for .jar and for binaries when embedding daemon
in his project.
If someone thinks this artifact can be used as maven dependency
I see no problem of adding it to the maven repo.


Regards
-- 
^TM

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


Re: [daemon] How to get the Windows EXEs out of Maven Central

Posted by Gary Gregory <ga...@gmail.com>.
On Thu, Nov 24, 2011 at 10:45 AM, sebb <se...@gmail.com> wrote:

> On 24 November 2011 15:36, Jörg Schaible <jo...@scalaris.com>
> wrote:
> > sebb wrote:
> >
> >> On 24 November 2011 12:57, Gary Gregory <ga...@gmail.com> wrote:
> >>> How do I get the Windows EXEs out of Maven Central?
> >>
> >> You don't; Maven Central is for Java dependencies only.
> >
> > Who said that? The repo contains whatever has been uploaded/deployed.
>
> That was my understanding.
> I've never seen an EXE on MC.
>
> If it supports them, fine, we could consider deploying Daemon exes there.
>
> But note that EXEs are highly OS-dependent, whereas jars generally aren't.
> There are 3 different versions of prunsrv for different architectures
> (32-bit, ia64, amd64) currently.
>

I care more about the fact that the native binaries are available than how
they are packaged. Separately (32-bit, ia64, amd64) or all in one. I prefer
all in one.

Gary

>
> > - Jörg
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> > For additional commands, e-mail: dev-help@commons.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>


-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Re: [daemon] How to get the Windows EXEs out of Maven Central

Posted by sebb <se...@gmail.com>.
On 24 November 2011 15:36, Jörg Schaible <jo...@scalaris.com> wrote:
> sebb wrote:
>
>> On 24 November 2011 12:57, Gary Gregory <ga...@gmail.com> wrote:
>>> How do I get the Windows EXEs out of Maven Central?
>>
>> You don't; Maven Central is for Java dependencies only.
>
> Who said that? The repo contains whatever has been uploaded/deployed.

That was my understanding.
I've never seen an EXE on MC.

If it supports them, fine, we could consider deploying Daemon exes there.

But note that EXEs are highly OS-dependent, whereas jars generally aren't.
There are 3 different versions of prunsrv for different architectures
(32-bit, ia64, amd64) currently.

> - Jörg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

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


Re: [daemon] How to get the Windows EXEs out of Maven Central

Posted by Jörg Schaible <jo...@scalaris.com>.
sebb wrote:

> On 24 November 2011 12:57, Gary Gregory <ga...@gmail.com> wrote:
>> How do I get the Windows EXEs out of Maven Central?
> 
> You don't; Maven Central is for Java dependencies only.

Who said that? The repo contains whatever has been uploaded/deployed.

- Jörg


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


Re: [daemon] How to get the Windows EXEs out of Maven Central

Posted by sebb <se...@gmail.com>.
On 24 November 2011 12:57, Gary Gregory <ga...@gmail.com> wrote:
> How do I get the Windows EXEs out of Maven Central?

You don't; Maven Central is for Java dependencies only.

> When I look at:
>
> http://search.maven.org/#artifactdetails|commons-daemon|commons-daemon|1.0.7|jar
>
> I do not see a container file for EXEs for 1.0.7, 1.0.8 is not there yet,

Released earlier today, as shown by the Nexus mail.

May take a day or so to be picked up.

> will it be different?

No.

> Thank you,
> Gary
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
> Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>

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