:[EMAIL PROTECTED]
Sent: 11 October 2005 14:57
To: Maven Users List
Subject: Re: [m2b3] Ant Dependencies Task and Scope
On 10/11/05, David Pick [EMAIL PROTECTED] wrote:
I do not need the artifacts required for compilation as they are provided
automatically by the runtime container, so I thought I
Hi,
I am trying to use the Ant dependencies Tasks to get a list of runtime
dependencies only.
I have set the useScope to runtime, however the Ant dependencies returns
both runtime and compile dependencies. Why?
Is this a bug?
Should useScope be a list of dependencies you are interested in
and it is somewhat hierachical.
It's hard to run without your compile-time dependencies, so it includes those.
test includes them all.
What is the use case for separating them out?
- Brett
On 10/11/05, David Pick [EMAIL PROTECTED] wrote:
Hi,
I am trying to use the Ant dependencies Tasks to get a list
I am using SNAPSHOT builds and the Maven dependencies Ant task to synchronise
the local and remote repositories.
The install/deploy of the snapsot builds works fine, however when I run the
Maven dependencies Ant task on the same POMs I get an error Unable to resolve
artifact.
The Ant
Hi,
I have the following section in a parent POM:
pluginManagement
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-compiler-plugin/artifactId
configuration
are accessed implicitly in m2...try:
configuration
~ debug${build.debug}/debug
~ source${build.jdk}/source
~ target${build.jdk}/target
/configuration
Cheers,
john
David Pick wrote:
| Hi,
|
| I have the following section in a parent POM:
|
| pluginManagement
| plugins
| plugin
Any idea when the ant tasks standalone jar for Maven 2.0-beta-1 will be
released?
i.e. the equivalent of maven-artifact-ant-2.0-alpha-3-dep.jar for alpha-3.
Failing that any idea which of the Maven jar files are required from the lib
directory?
Cheers
Dave
Hi,
If I build an artifact with a dependency on a snapshot (i.e. version
1.0-SNAPSHOT) I get the latest copy of the dependency in the local repository
named groupId/artifactId-1.0-MMdd.HHmm-s.jar.
Is there a (simple) way to also generate a file in the local repository named
,
install should not number the JAR, but deploy does. We have an open issue to
download the numbered versions into a single SNAPSHOT version locally, as
well as making the numbering optional. Neither are included in beta-1.
Regards,
Brett
On 9/16/05, David Pick [EMAIL PROTECTED] wrote:
Hi