You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Orford, Ian" <Ia...@dkib.com> on 2007/04/12 11:00:03 UTC

Problem with snapshot libraries

Hi,

I've just noticed a change that must have been introduced in a recent
maven update (in the last 2 days).

When I assemble my deliverable project, rather than include the snapshot
jars named "-SNAPSHOT", it is instead including the dated versions.

The reason this is causing me a problem is that we have a velocity based
script that builds a classpath from the list of dependencies. That
script still sees things as -SNAPSHOT and merrily adds them to the
classpath, but at runtime the SNAPSHOT jars aren't in the assembly. The
script uses $project.CompileArtifacts.

Anyone able to suggest a work around? Or is there a flag to change this
new behaviour with SNAPSHOT builds?

Thanks, Ian


--
This e-mail is confidential and the information contained in it may be privileged.  It should not be read, copied or used by anyone other than the intended recipient.  If you have received it in error, please contact the sender immediately by telephoning +44 (0)20 7623 8000 or by return email, and delete the e-mail and do not disclose its contents to any person.  We believe, but do not warrant, that this e-mail and any attachments are virus free, but you must take full responsibility for virus checking.  Please refer to http://www.dresdnerkleinwort.com/disc/email/ and read our e-mail disclaimer statement and monitoring policy.

Dresdner Kleinwort is the trading name of the investment banking division of Dresdner Bank AG, and operates through Dresdner Bank AG, Dresdner Kleinwort Limited, Dresdner Kleinwort Securities Limited and their affiliated or associated companies.  Dresdner Bank AG is a company incorporated in Germany with limited liability and registered in England (registered no. FC007638, place of business 30 Gresham Street, London EC2V 7PG), and is authorised by the German Federal Financial Supervisory Authority and by the Financial Services Authority ('FSA') and regulated by the FSA for the conduct of designated business in the UK.  Dresdner Kleinwort Limited is a company incorporated in England (registered no. 551334, registered office 30 Gresham Street, London EC2V 7PG), and is authorised and regulated by the FSA.  Dresdner Kleinwort Securities Limited is a company incorporated in England (registered no. 1767419, registered office 30 Gresham Street, London EC2V 7PG), and is authorised and regulated by the FSA.


Re: Problem with snapshot libraries

Posted by franz see <fr...@gmail.com>.
Good day,

Is this a regression? If so, you may want to bring this up in the maven dev
list :)

Cheers,
Franz


Orford, Ian-3 wrote:
> 
> Hi,
> 
> I've just noticed a change that must have been introduced in a recent
> maven update (in the last 2 days).
> 
> When I assemble my deliverable project, rather than include the snapshot
> jars named "-SNAPSHOT", it is instead including the dated versions.
> 
> The reason this is causing me a problem is that we have a velocity based
> script that builds a classpath from the list of dependencies. That
> script still sees things as -SNAPSHOT and merrily adds them to the
> classpath, but at runtime the SNAPSHOT jars aren't in the assembly. The
> script uses $project.CompileArtifacts.
> 
> Anyone able to suggest a work around? Or is there a flag to change this
> new behaviour with SNAPSHOT builds?
> 
> Thanks, Ian
> 
> 
> --
> This e-mail is confidential and the information contained in it may be
> privileged.  It should not be read, copied or used by anyone other than
> the intended recipient.  If you have received it in error, please contact
> the sender immediately by telephoning +44 (0)20 7623 8000 or by return
> email, and delete the e-mail and do not disclose its contents to any
> person.  We believe, but do not warrant, that this e-mail and any
> attachments are virus free, but you must take full responsibility for
> virus checking.  Please refer to
> http://www.dresdnerkleinwort.com/disc/email/ and read our e-mail
> disclaimer statement and monitoring policy.
> 
> Dresdner Kleinwort is the trading name of the investment banking division
> of Dresdner Bank AG, and operates through Dresdner Bank AG, Dresdner
> Kleinwort Limited, Dresdner Kleinwort Securities Limited and their
> affiliated or associated companies.  Dresdner Bank AG is a company
> incorporated in Germany with limited liability and registered in England
> (registered no. FC007638, place of business 30 Gresham Street, London EC2V
> 7PG), and is authorised by the German Federal Financial Supervisory
> Authority and by the Financial Services Authority ('FSA') and regulated by
> the FSA for the conduct of designated business in the UK.  Dresdner
> Kleinwort Limited is a company incorporated in England (registered no.
> 551334, registered office 30 Gresham Street, London EC2V 7PG), and is
> authorised and regulated by the FSA.  Dresdner Kleinwort Securities
> Limited is a company incorporated in England (registered no. 1767419,
> registered office 30 Gresham Street, London EC2V 7PG), and is authorised
> and regulated by the FSA.
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Problem-with-snapshot-libraries-tf3564272s177.html#a9963611
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