You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ian Neruda <ia...@yahoo.com> on 2004/06/02 14:37:38 UTC

Jars without version

Hi.

Can I install jar to repository without version part
in it. When I leave version empty I get something like
JarName-.jar

Thanks, Ian


	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

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


Re: Jars without version

Posted by Dion Gillard <di...@gmail.com>.
I usually update the app.xml inside wsad.

On Wed, 2 Jun 2004 23:23:34 -0700 (PDT), Ian Neruda <ia...@yahoo.com> wrote:
> 
> I have application.xml file exported from WSAD. Inside
> I have a reference to war file without version. Also I
> have some data about roles and security and I want to
> use that application.xml and not the one generated by
> maven. So, I have to either change the content of
> application.xml or use war without version.
> 
> Anyway I copied and renamed war as Rafal suggested.
> 
> Ian
> 
> 
> 
> 
> --- Brill Pappin <br...@stabilia.com> wrote:
> > Likely I'm missing something, but *why* would you
> > want to leave out the
> > version info?
> >
> > - Brill Pappin
> >
> > Ian Neruda wrote:
> >
> > >Hi.
> > >
> > >Can I install jar to repository without version
> > part
> > >in it. When I leave version empty I get something
> > like
> > >JarName-.jar
> > >
> > >Thanks, Ian
> > >
> > >
> > >
> > >
> > >__________________________________
> > >Do you Yahoo!?
> > >Friends.  Fun.  Try the all-new Yahoo! Messenger.
> > >http://messenger.yahoo.com/
> > >
> >
> >---------------------------------------------------------------------
> > >To unsubscribe, e-mail:
> > users-unsubscribe@maven.apache.org
> > >For additional commands, e-mail:
> > users-help@maven.apache.org
> > >
> > >
> > >
> >
> >
> > --
> > "I love deadlines. I like the whooshing sound they
> > make as they fly by"
> >
> >    - Douglas Adams
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > users-unsubscribe@maven.apache.org
> > For additional commands, e-mail:
> > users-help@maven.apache.org
> >
> 
> __________________________________
> Do you Yahoo!?
> Friends.  Fun.  Try the all-new Yahoo! Messenger.
> http://messenger.yahoo.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


Re: Jars without version

Posted by Brill Pappin <br...@stabilia.com>.
Yah thats what I do as well, I figure that if I don't *know* the version 
of a jar, I can version it myself, for my own reference.
It's unfortunate with have to deal with sloppy developers putting out 
code at all, but the fact is we do.

- Brill Pappin

Ian Neruda wrote:

>I have application.xml file exported from WSAD. Inside
>I have a reference to war file without version. Also I
>have some data about roles and security and I want to
>use that application.xml and not the one generated by
>maven. So, I have to either change the content of
>application.xml or use war without version. 
>
>Anyway I copied and renamed war as Rafal suggested.
>
>Ian
>
>  
>


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


Re: Jars without version

Posted by Ian Neruda <ia...@yahoo.com>.
I have application.xml file exported from WSAD. Inside
I have a reference to war file without version. Also I
have some data about roles and security and I want to
use that application.xml and not the one generated by
maven. So, I have to either change the content of
application.xml or use war without version. 

Anyway I copied and renamed war as Rafal suggested.

Ian


--- Brill Pappin <br...@stabilia.com> wrote:
> Likely I'm missing something, but *why* would you
> want to leave out the 
> version info?
> 
> - Brill Pappin
> 
> Ian Neruda wrote:
> 
> >Hi.
> >
> >Can I install jar to repository without version
> part
> >in it. When I leave version empty I get something
> like
> >JarName-.jar
> >
> >Thanks, Ian
> >
> >
> >	
> >		
> >__________________________________
> >Do you Yahoo!?
> >Friends.  Fun.  Try the all-new Yahoo! Messenger.
> >http://messenger.yahoo.com/ 
> >
>
>---------------------------------------------------------------------
> >To unsubscribe, e-mail:
> users-unsubscribe@maven.apache.org
> >For additional commands, e-mail:
> users-help@maven.apache.org
> >
> >  
> >
> 
> 
> -- 
> "I love deadlines. I like the whooshing sound they
> make as they fly by"
>                                                     
>    - Douglas Adams
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@maven.apache.org
> For additional commands, e-mail:
> users-help@maven.apache.org
> 



	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

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


Re: Jars without version

Posted by Brill Pappin <br...@stabilia.com>.
Likely I'm missing something, but *why* would you want to leave out the 
version info?

- Brill Pappin

Ian Neruda wrote:

>Hi.
>
>Can I install jar to repository without version part
>in it. When I leave version empty I get something like
>JarName-.jar
>
>Thanks, Ian
>
>
>	
>		
>__________________________________
>Do you Yahoo!?
>Friends.  Fun.  Try the all-new Yahoo! Messenger.
>http://messenger.yahoo.com/ 
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>
>  
>


-- 
"I love deadlines. I like the whooshing sound they make as they fly by"
                                                        - Douglas Adams


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


why jar:deploy uses diffrent deploy plugin

Posted by Marcin Gurbisz <Ma...@pentacomp.com.pl>.
Why jar:deploy uses diffrent plugin to deploy aritfact then for example 
ejb plugin?
It interfere me with consistent project artifact deploying.

Thanks,
Marcin



Re: Jars without version

Posted by Dion Gillard <di...@gmail.com>.
Just use the <jar> element of the dependency to specify the versionless name.

See http://maven.apache.org/reference/project-descriptor.html#dependency_jar

On Wed, 02 Jun 2004 14:52:36 +0200, Rafal Krzewski
<ra...@caltha.pl> wrote:
> 
> Ian Neruda wrote:
> > Hi.
> >
> > Can I install jar to repository without version part
> > in it. When I leave version empty I get something like
> > JarName-.jar
> 
> Artifacts in the respository should *always* have version numbers in
> them. This mandated by Maven internal contracts. If you need your jar
> with version number removed, you can copy + rename it from the
> repository to the place where you need it. It's very easy to do in your
> maven.xml
> 
> Rafal
> 
> 
> 
> ---------------------------------------------------------------------
> 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: Jars without version

Posted by Rafal Krzewski <Ra...@caltha.pl>.
Ian Neruda wrote:
> Hi.
> 
> Can I install jar to repository without version part
> in it. When I leave version empty I get something like
> JarName-.jar

Artifacts in the respository should *always* have version numbers in 
them. This mandated by Maven internal contracts. If you need your jar 
with version number removed, you can copy + rename it from the 
repository to the place where you need it. It's very easy to do in your 
maven.xml

Rafal

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