maybe it was just a typo and he ment
> mvn help:effective-pom -PmyProfile
?
LieGrü,
strub
--- Martin Höller <[EMAIL PROTECTED]> schrieb:
> On Friday 25 April 2008 Brian E. Fox wrote:
> > A few tips. Try mvn help:effective-profiles -PmyProfile
>
> According to my knowledge and the documentation
On Thu, Apr 24, 2008 at 10:32 PM, Mark Struberg <[EMAIL PROTECTED]> wrote:
> Hi Dan!
>
> I think i generally understand your problem, since i have a similar
> scenario: 120MB of testdata +
> many ~30MB ears packaged for and needed by my Operations&Infrastructure guys
> in the US.
>
> But, woul
Is that really the only way to deal with that?
1. has the disadvantage that some other project indeed may need the
server dependencies (e.g. the artifact to package an ear). With this
solution one would have to repeat the dependency in that other project,
what is definitely not wanted.
2. would req
2008/4/25 Dan Tran <[EMAIL PROTECTED]>:
> On Thu, Apr 24, 2008 at 10:32 PM, Mark Struberg <[EMAIL PROTECTED]> wrote:
> > Hi Dan!
> >
> > I think i generally understand your problem, since i have a similar
> scenario: 120MB of testdata +
> > many ~30MB ears packaged for and needed by my Operation
Hi Thomas!
On Friday 25 April 2008 Arand, Thomas (NSN - DE/Muenich) wrote:
> Is that really the only way to deal with that?
> 1. has the disadvantage that some other project indeed may need the
> server dependencies (e.g. the artifact to package an ear). With this
> solution one would have to repe
Hi,
This start to happen at least we use Maven 2.0.8 version and still
exists in 2.0.9. Tested with war plugin versions 2.0.2 and 2.1-alpha-1
Here is snipped from
[DEBUG] Adding managed dependencies for
[DEBUG]net.sourceforge.jivalo.fw:jivalo-fw-common:jar:1.5-beta-3-SNAPSHOT
[DEBUG] jivalo-f
a-local.xml:
com.gide.common
gide-common
3.3.0-SNAPSHOT
20080425070414
And my war and zip file now are containing a timestamped jar like:
"gide-common-20080425.hhmmss-nr.jar"
Any hints to this behaviour?
How can I prevent the "maven-metadata-local.xml"
Hi,
This start to happen at least we use Maven 2.0.8 version and still
exists in 2.0.9. Tested with war plugin versions 2.0.2 and 2.1-alpha-1
Here is snipped from
[DEBUG] Adding managed dependencies for
[DEBUG]net.sourceforge.jivalo.fw:jivalo-fw-common:jar:1.5-beta-3-SNAPSHOT
[DEBUG] jivalo-f
Hello,
I don't know if this is the right place to talk about this but I think
that this pom is wrong ;
http://maven.reucon.com/public/pdfbox/pdfbox/0.7.3/pdfbox-0.7.3.pom
You have :
4.0.0
pdfbox
pdfbox
PDFBox - Java PDF Library
0.7.3
And in fact be
2008/4/23, Brian E. Fox <[EMAIL PROTECTED]>:
>
> >Hi Peter, we have a nexus-users list that you might be interested in.
Where?
>>a) How can I deploy a third party artifact using the web interface?
>
> >This is coming, but not in yet.
When?
Security on the repo is coming in beta-3.
And when
Hi,
While debugging 2.1-alpha-1 war plugin in method
ArtifactsPackagingTask.performPackaging( WarPackagingContext context )
DefaultArtifact class instance has right version number and also method
getArtifactFinalName( context, artifact ); returns right name -SNAPSHOT
also.
But when removing
On Fri, Apr 25, 2008 at 2:25 PM, Martin Höller <[EMAIL PROTECTED]> wrote:
> Could you please provide some more information, Wendy.
>From memory, we had a project at work that had an ejb dependency, and
without the 'type' element, the release process which runs through the
integration-test phase
Hi,
Marc Schneider schrieb:
Hello,
I don't know if this is the right place to talk about this
Not really. You should contact the reucon guys directly, as it is their
repository.
but I think that this pom is wrong ;
[...]
And this is one of the reasons one should think very carefully abo
Hello,
I having a little problem using the maven-assembly-plugin and
maven-jar-plugin together. I have the situation that I have two artifact
with the same artifact ids, like:
1) groupId : com.aCompany
artifactId : core
version : 1.0.0
2) groupId : com.anotherCompany
artifactId : co
Hi all,
I think it'd be useful to have perforce changelist numbered snapshots.
Has anyone done this? I think the steps needed to do this are:
1) Make a perforce numbered jar for artefactA (maybe using ant)
2) Attach the artefact as the main jar for artefactA
3) Tell the rep
On Friday 25 April 2008 Wendy Smoak wrote:
> From memory, we had a project at work that had an ejb dependency, and
> without the 'type' element, the release process which runs through the
> integration-test phase would fail, while 'mvn install' would work.
> Apparently inside the reactor it was loo
Hi,
Can you expand a little?
What do you mean by a perforce numbered artefact?
Would you not have the potential for several P4 CLs that affect any one
artefact?
What we do is embed a unique id as a java class which can then be
queried via a UI. We also embed this unique id as part of the manifest
Dear all,
We have a project which needs to use jars in a ivy repository, but our
project is managed by Maven.
Can Maven access ivy repo. and fetch the dependencies (jars)?
I was told that ivy can acess Maven repo.
Thanks.
Wei
Sorry for not being clear.
Every time our artefact (jar) is built it gets integration tested
against another system. That test cycle pulls in the latest built
snapshot and runs tests with it.
When something goes wrong with that snapshot it would be nice to
instantly know what code was in it.
Pe
L.S.,
I'm developing a new archetype for Apache ServiceMix and have two questions
We already have a fair amount of Maven archetypes and it would be nice if I
could reuse those within my new archetype. Is there a way to run another
archetype as part of the archetype generation process somehow?
hi, anybody happens to know whether there is any progress in work to
support WAS 6 ?
There might be a new version of the WAS5 plugin, or a new
plugin-project.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
You are correct. We use both Ivy and Maven to access our Archiva proxy
repository as well as several external Maven repositories. The
configuration is very straightforward and you can turn on and off the
transitive dependency feature of Maven within Ivy if you like.
Scott D. Ryan
President and
Brian,
I did as you suggested and changed configLocation to:
${basedir}/config/checkstyle-rules.xml
I'm getting the same message:
C:\workspace\shares>mvn checkstyle:check -e
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix:
Hi Gert
2008/4/25 Gert Vanthienen <[EMAIL PROTECTED]>:
>
> L.S.,
>
> I'm developing a new archetype for Apache ServiceMix and have two questions
>
> We already have a fair amount of Maven archetypes and it would be nice if I
> could reuse those within my new archetype. Is there a way to run a
The copy goal can take them directly in the plugin config (not requiring
a dependency declaration). It should be completely possible to modify
the plugin to take a string from the cli.
-Original Message-
From: Dan Tran [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 24, 2008 11:39 PM
To:
I see, you don't want it in the local repo. You'll probably have to look
at the resolver code and replicate a large part of it.
-Original Message-
From: Dan Tran [mailto:[EMAIL PROTECTED]
Sent: Friday, April 25, 2008 12:16 AM
To: Maven Users List
Subject: Re: API to figure out the exact U
Yeah I meant active-profiles, but since the other goals are effective-*, I
always mix them up.
-Original Message-
From: Mark Struberg [mailto:[EMAIL PROTECTED]
Sent: Friday, April 25, 2008 3:02 AM
To: Maven Users List
Subject: Re: profile legacy problem
maybe it was just a typo and he m
Hi,
with Maven 2.0.9 and maven-dependency-plugin:2.0 I tried to
mvn dependency:analyze-only or
mvn dependency:analyze
one of my modules - it fails with this message (created using the -e
switch):
[INFO] Cannot analyze dependencies
invalid entry size (expected 6511 but got 6544 bytes)
[INF
Are you saying the artifacts are _wrong_ or you just don't like the timestamp'd
file name? Usually the timestamp'd name indicates the file came from a remote
repo, which could happen depending on various settings and if it's newer on the
remote.
-Original Message-
From: Markku Saarela [
Sounds like everything you have is in a maven repository. I haven't
heard of anyone connecting Maven to an Ivy repository...and I honestly
have no idea what that layout might look like.
-Original Message-
From: Scott Ryan [mailto:[EMAIL PROTECTED] On Behalf Of Scott Ryan
Sent: Friday, Apri
Never seen this one before, but it seems to indicate that the jar is corrupt.
Unfortunately not which one. Try using dependency:copy-dependencies and then
see if you can unzip all the jars in the target/dependency folder.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTE
I commented out my dependencies one by one, and found
xalan
xalan
2.6.0
responsible for that.
The xalan-2.6.0.pom has an optional dependency - maybe that causes the
problem ?
xerces
xercesImpl
2.6.0
Thanks, but this is not a solution. I want to filter some files in
src/main/config and put them in target/config (and NOT in
target/classes/config). All I want to achive is to prepare files for
different enviroments with filtering.
This doesn't work:
src/main
Hello,
May this answer your question ? : http://mojo.codehaus.org/was6-maven-plugin
all the best.
Kuno
-Ursprüngliche Nachricht-
Von: Lustig, Marc (Allianz Deutschland AG) [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 25. April 2008 14:44
An: users@maven.apache.org
Betreff: status WAS 6
Use a Maven property which is set to the CL number and feed it into the
build. This way you can use the property to change the name of your jar
as indicated below
Also if you are using a tool such as Hudson for the continuous
integration aspect then this produces a report of which CLs triggered a
To make it more clear, I only have Maven but I want to access and fetch the
jars in a remote
ivy repository.
Can I make it?
Thanks.
On 4/25/08, Brian E. Fox <[EMAIL PROTECTED]> wrote:
>
> Sounds like everything you have is in a maven repository. I haven't
> heard of anyone connecting Maven to a
> than solutions, I have to say that if a project needs some server
> dependencies, it has to declare it anyway and should not rely on transitiv
> dependencies.
Transitive deps are great, but if your current project requires some
artifacts itself, then it should/must declare them itself.
Otherwis
Hi Brian,
So it seems I need to make a large replication of maven resolver
source, it is now make sense to
fall back to using maven-dependency-plugin to do the work.
does it make sense to add a dependency:remove mojo to the maven-dependency-mojo?
-D
On Fri, Apr 25, 2008 at 6:34 AM, Brian E. Fo
There was no sample code with the slides, so I was a little lost. Most of
the stuff has in the slide seems ok, but I could not make heads or tails
without the src code.
On Thu, Apr 24, 2008 at 6:04 AM, Vincent Siveton <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> Have a look on Carlos's blog
> http://www.
I'm using Maven 2.0.8 and can't seem to deploy a project site over SCP. The UID
that the site is to be deployed under is "integration", and I have a
passwordless SSH key that I verified works. My settings.xml snippet:
whatson.website
integration
${user.home}/.ssh/id_dsa_integrationt
Why would you complicate your life and put them in an Ivy repository?
If it's laid out like a maven repository then sure, otherwise no.
On 25-Apr-08, at 7:13 AM, Wei Tan wrote:
To make it more clear, I only have Maven but I want to access and
fetch the
jars in a remote
ivy repository.
Can I
Hi guys, thanks for the replies. I read up on parent/child POMs and now
understand what I was doing (or wasn't in this case). So maybe I'll modify
my intitial question, is there anyway to configure my environment (Mac OS X)
to tell Maven I always want JDK 1.5? It'd be nice if it inferred this from
There is already a purge goal that should do what you wanted.
-Original Message-
From: Dan Tran [mailto:[EMAIL PROTECTED]
Sent: Friday, April 25, 2008 10:22 AM
To: Maven Users List
Subject: Re: API to figure out the exact URL of a deployed artifact?
Hi Brian,
So it seems I need to make
No, the analyzer isn't concerned at that point with the optional or not...it's
(actually ASM) trying to open the zip and analyze the classes. Can you unzip
that jar?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, April 25, 2008 9:57 AM
To: users@maven
> >Hi Peter, we have a nexus-users list that you might be interested in.
>Where?
http://nexus.sonatype.org/mailing-lists.html
>>a) How can I deploy a third party artifact using the web interface?
>
> >This is coming, but not in yet.
>When?
Originally beta-4, but we pulled it up to beta-3
>>S
Unless I'm missing something, you could just use an ArtifactResolver.
See section "Creating and resolving an artifact" in the mojo developer cookbook.
http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook
Tom
On Fri, Apr 25, 2008 at 5:20 AM, Dan Tran <[EMAIL PROTECTED]> wrote:
> Hel
Problem is that (as far as i know) the ArtifactResolver asks the 'local
Repository' to give you
the artifact. And wagon and other mechanisms in the background perform all the
necessary work to
get the file to your local repo first.
But this is exactly what Dan tries to avoid!
The file must not b
No, ArtifactResolver.resolve() will actually download the artifact using Wagon.
On Fri, Apr 25, 2008 at 7:52 PM, Mark Struberg <[EMAIL PROTECTED]> wrote:
> Problem is that (as far as i know) the ArtifactResolver asks the 'local
> Repository' to give you
> the artifact. And wagon and other mecha
can I get ArtifactResolver.resolve() to download the artfiact to some
other location then local repo?
-D
On Fri, Apr 25, 2008 at 11:36 AM, Tom Huybrechts
<[EMAIL PROTECTED]> wrote:
> No, ArtifactResolver.resolve() will actually download the artifact using
> Wagon.
>
>
>
> On Fri, Apr 25, 2008 a
One of the arguments to resolve() is an ArtifactRepository object for
your local repository.
So you can decide on the base dir of the local repository, but below
that the default layout would still be used.
If you want to go even further, you can write your own
ArtifactRepositoryLayout and use that
Is it possible to configure the maven-jar-plugin to use a prefix for classes?
I want to put them in a directory other than the root.
Thanks,
Matt
--
View this message in context:
http://www.nabble.com/Is-it-possible-to-configure-the-maven-jar-plugin-to-use-a-prefix-for-classes--tp16904340s177
I don't think so. But you can control the classesDirectory. So you
could configure project.build.outputDirectory to be
target/classes/prefix and override this in the jar plugin back to
target/classes...
On Fri, Apr 25, 2008 at 9:42 PM, mraible <[EMAIL PROTECTED]> wrote:
>
> Is it possible to conf
If you wanted to create a new repository layout implementation, you could
probably create a new ArtifactRepository instance with this layout and hand it
to the resolver.
-Original Message-
From: Mark Struberg [mailto:[EMAIL PROTECTED]
Sent: Friday, April 25, 2008 1:53 PM
To: Maven Users
big thanks
-D
On Fri, Apr 25, 2008 at 12:25 PM, Tom Huybrechts
<[EMAIL PROTECTED]> wrote:
> One of the arguments to resolve() is an ArtifactRepository object for
> your local repository.
> So you can decide on the base dir of the local repository, but below
> that the default layout would still b
Folks,
I just found that Maven 2.0.9 does not work with the existing Clover 2
maven 2 plug-in (group ID: com.atlassian.maven.plugins) if you are
using some of maven 2 properties specifying project directories such
as ${project.build.directory} etc.
You can use maven's antrun plug-in to echo out t
Hi all,
I am trying to use statcvs plugin for maven 2
http://statcvs-xml.berlios.de/maven2-plugin/index.html but it does not seem
to working. Actually maven could not even resolve the plugin.
Could somebody help me here ro tell me if I could use another plugin for
this task.
thanks,
-arash
--
Th
maven-site-plugin documentation says that I can specify the location of my
site.xml using siteDirectory parameter but it is not working. I found this
bug http://jira.codehaus.org/browse/MSITE-91 which marked fixed, but I just
wanted to check if it is really fixed. My maven version is 2.0.5
thanks,
Try http://stat-scm.sourceforge.net/ on for size.
-- Lee
On Fri, Apr 25, 2008 at 4:20 PM, Arash Bizhan zadeh <[EMAIL PROTECTED]>
wrote:
> Hi all,
> I am trying to use statcvs plugin for maven 2
> http://statcvs-xml.berlios.de/maven2-plugin/index.html but it does not
> seem
> to working. Actually
It says it was fixed in the site plugin version 2.0-beta-6.
If you do mvn -X ... you can look at the trace to see what version of the
site plugin you are using.
You can change it like this:
org.apache.maven.plugins
maven-site-plu
I do not mean to do that.
The situation is, my (big) project is managed by Maven, and now I plan to
develop a module in it. But this module happens to use the jars that have
already existed in a ivy
repository. If I cannot directly hook Maven to it I will have to manually
extract these jars out of
On Tue, Apr 22, 2008 at 2:44 AM, <[EMAIL PROTECTED]> wrote:
> I have been looking for a while for this solution.
>
> Has anyone been able to run this tutorial to complete?
>
> http://mojo.codehaus.org/pde-maven-plugin/examples/simple_product.html
>
> I have looked through many emails just to ge
There is currently not an Ivy repository implementation in Maven, so it
looks like you've have to extract them for now.
-Original Message-
From: Wei Tan [mailto:[EMAIL PROTECTED]
Sent: Friday, April 25, 2008 9:13 PM
To: Maven Users List
Subject: Re: Hook ivy repository to Maven
I do not
My use case is the following
1. include all the dependent jars into a shaded jar/jar with
dependencies/uberjar with some environment specific properties file
filtered/excluded.
2. include the resulting uberjar into an assembly with a bunch of other
files in a zip file.
Shade incompatibility
Th
Or perhaps you could patch a repository manager to proxy maven
requests to the ivy repository?
James
On 26/04/2008, at 11:51 AM, Brian E. Fox wrote:
There is currently not an Ivy repository implementation in Maven, so
it
looks like you've have to extract them for now.
-Original Messag
Hi there,
If I have the following, all's fine... i.e., the resources are
filtered and found in the build output.
Resources
true
../src/main/resources
However the following produces no results...
Resources
true
${project.parent.basedir}/src/ma
This is an anti-pattern in Maven usage.
Modules should be self-contained. If you must include content from
another module, then you should depend on the Jar just like any other
artifact and use various plugins to unpack the files you need into a
specific area in your project etc. You should not us
Hi,
would you mind showing an example of how to achieve this? All that's
in the ../src/main/resources dir is a single file that's being
filtered with properties relevant for each module (rather than having
a copy of the same file in each module).
On 26/04/2008, at 3:22 PM, Wayne Fay wrote
Thank you all.
For now I plan to manually extract all the dependencies to build my own
Maven repo. In the long term a proxy that automatically extract files from
ivy repo. to a maven repo. may be desired.
BTW: some online articles says that ivy can access Maven repo, is it ture?
Best regards,
We
FYI, WAS6 support apparently be going into Cargo shortly.
James
On 26/04/2008, at 12:07 AM, Baeriswyl Kuno - Extern (IT-BA-MV) wrote:
Hello,
May this answer your question ? : http://mojo.codehaus.org/was6-maven-plugin
all the best.
Kuno
-Ursprüngliche Nachricht-
Von: Lustig, Marc
I can't solve your specific problem for you, but I would generally
expect that dependency:unpack would be involved in most solutions:
http://maven.apache.org/plugins/maven-dependency-plugin/unpack-mojo.html
http://maven.apache.org/plugins/maven-dependency-plugin/usage.html
You are welcome to conti
70 matches
Mail list logo