Hi,
What exactly is your problem? Is it that you can't find the artifacts
(that you depend on) on any repo?
/Anders
On Tue, May 5, 2009 at 23:36, bpmfouka bpmfo...@yahoo.fr wrote:
Hi,
I am working on EJB3 with JBoss and also to spread that JBoss-Seam, I am
searching
solution to solve this
John Casey wrote at Dienstag, 5. Mai 2009 02:02:
Hi again,
After finding and cleaning up some code that seems to be tainted during
some of our efforts at generifying the codebase, we've respun a new
release candidate.
If you have time, please give it a whirl:
Looks good with projects that had issues with profiles under 2.1.0 (sub
projects not resolving profiles problem when built from the master).
Mark
--
Discouragement is a dissatisfaction with the past, a distaste for the
present, and a distrust of the future - Maree De Jong, Life NZ.
Hi,
we have set up an internal maven repository with Artifactory and disable
anonymous access so clients should authenticate themselves not only for
publishing to the repository but also for downloading. The set up works
for publishing, that is, maven client responds to server authentication
Possibly you should define credentials for the repo id artifactory
in your settings.xml? As that's the id of the mirror being used.
/Anders
On Wed, May 6, 2009 at 10:03, Ramon Turnes Perez
ramon.turnes-pe...@hermes-softlab.com wrote:
Hi,
we have set up an internal maven repository with
Thanks for your answer. I have tried it but it does not work.
Regards.
Ramon.
-Original Message-
From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On Behalf Of
Anders Hammar
Sent: 6. maj 2009 10:30
To: Maven Users List
Subject: Re: Downloading from a secure repository
Hi again,
Anders, you were right, putting repo id artifactory solves the problem. It
did not work because I entered the wrong credentials.
Regards.
Ramon.
-Original Message-
From: Ramon Turnes Perez [mailto:ramon.turnes-pe...@hermes-softlab.com]
Sent: 6. maj 2009 10:33
To: Maven
On Wed, May 6, 2009 at 12:29 AM, Davis Ford
davisf...@zenoconsulting.biz wrote:
I am at a loss. We have no exclusions in the pom. Where should I look
next?
Hello Davis,
I remember, that this has popped up on the mailing list before. If I
am not mistaken the suggested fix was to set the
When I run your example with mvn dependency:tree this is what I get:
[INFO] [dependency:tree]
[INFO] foo.bar:foo-bar-parent:pom:0.0.1-SNAPSHOT
[INFO] \- org.apache.velocity:velocity:jar:1.6.2:test
[INFO]+- commons-collections:commons-collections:jar:3.2.1:test
[INFO]+-
When I run mvn dependency:resolve the output explains something more.
(Ran it with debug on)
[INFO]
[INFO] Building Unnamed - foo.bar:b:war:0.0.1-SNAPSHOT
[INFO]task-segment: [dependency:resolve]
[INFO]
Thanks Nick for quick reply!
Shouldn't broader scope win over narrower one, at least in this specific
scenario?
Regards,
Stevo.
On Wed, May 6, 2009 at 11:40 AM, Nick Stolwijk nick.stolw...@gmail.comwrote:
When I run mvn dependency:resolve the output explains something more.
(Ran it with
Warning (dependency:resolve printed) that broader scope has been overridden
doesn't even print when one packages project...
Regards,
Stevo.
2009/5/6 Stevo Slavić ssla...@gmail.com
Thanks Nick for quick reply!
Shouldn't broader scope win over narrower one, at least in this specific
scenario?
Ok, great. I was kind of hoping it was a mistake on your side, as I
would be clueless otherwise. :-)
/Anders
On Wed, May 6, 2009 at 11:04, Ramon Turnes Perez
ramon.turnes-pe...@hermes-softlab.com wrote:
Hi again,
Anders, you were right, putting repo id artifactory solves the problem. It
did
I guess I'll have to write my own plugin..
Nick Stolwijk-4 wrote:
To put the files in src/main/scripts is the convention. It is then up
to the plugins to do something with them. Which plugin did you expect
to take your files?
Hth,
Nick Stolwijk
~Java Developer~
Iprofs BV.
Claus
Hi,
I have an application composed of 10 Eclipse projects, which depend on each
other. One of them is a webapp and it depends on several Eclipse projects,
and some of these Eclipse projects depend on others, so the dependency tree
is quite complex.
In good-old Eclipse build, I don't have to
Greater problem here is that tests would run fine (except functional tests,
if there are any, that would actually deploy/run war), and one could
discover dependency is missing only at runtime...
Regards,
Stevo.
2009/5/6 Stevo Slavić ssla...@gmail.com
Warning (dependency:resolve printed) that
After inheritance, the war dependency tree looks like this:
foo.bar:b:war:0.0.1-SNAPSHOT
+- org.apache.velocity:velocity:jar:1.6.2:test
\- foo.bar:a:jar:0.0.1-SNAPSHOT:compile
+- org.apache.velocity:velocity:jar:1.6.2:test
\- org.apache.velocity:velocity:jar:1.6.2:compile
So the resolved
It all depends what you want to do with them.
Deliver them with your application? Use the assembly plugin to create a bundle.
Add them to the jar file? Configure the resource plugin to include the
src/main/scripts directory.
If it is any specific functionality, then you could write your own
You can create a pom in a higher directory to include them as modules,
or use a combination of a ci server and an artifact repository to make
sure they are already build and waiting in the artifact repository.
Hth,
Nick Stolwijk
~Java Developer~
Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
On 5 May 2009, at 01:02, John Casey wrote:
After finding and cleaning up some code that seems to be tainted
during some of our efforts at generifying the codebase, we've respun
a new release candidate.
If you have time, please give it a whirl:
Hi Michael,
I switched to use scp and all is good :-)
Sorry I can not help you with the webdav thing,
- Ross
Michael K. wrote:
Hello Ross,
I have the same problem as you had. Did you get resolve the problem?
I would appreciate your help.
Kind regards,
Michael
rossputin
Hi Blackbird,
I am also interested how to make Maven automatically build dependencies.
In our company, we created a proxy-scm provider for that purpose.
I created Jira ticket http://jira.codehaus.org/browse/SCM-367, but it
seems that community is not interested.
Andrei Solntsev,
Software
I already use Maven 2.1.0.
The error.log contains:
Digest: client used wrong authentication scheme `Basic':
Cannot create collection; intermediate collection does not exist. [409, #0]
How do I get maven to use wagon-webdav-jackrabbit 1.0-
beta-5 ?
Thanks for help,
Michael
brettporter
My project uses spring , hibernate,dbunit for orm dao unit testing. I am
using maven to build my project.
The dbunit testing I use hsqldb with hibernate configration prop
key=hibernate.hbm2ddl.autocreate-drop/prop, this creates tables in
hsqldb and excutes all test, I am wondering If I can save
Hi,
I am trying to set up a maven configuration for the very first
exercise in the O'reilly's EJB3 book. They use ANT to build the
classpath, execute, etc.
1) I was able to find a generic persistence-api-1.0.jar in the repo1,
but can't find a generic EJB3 api... does that exist? I had to specify
I need to reference WSBindingProvider, a class in the standard rt.jar:
package edu.upenn.library.itadd.dla.fedora;
...
import com.sun.xml.internal.ws.developer.WSBindingProvider;
...
WSBindingProvider bp = (WSBindingProvider)port;
...
This builds fine in Eclipse (without maven),
Hi, I'm new to maven plugin development. I'm writing an ant based maven
plugin. The ant script contains a java task which requires the classpath of
the plugin, i.e. the dependencies in the plugin pom. How can I construct
the-plugin-classpath?
myplugin.build.xml:
java …
classpath
Hi,
Just to build on this a bit, the maven plugin definitely supports the
filtering of resources (outside of WEB-INF/classes). Here is a full build
config which filters web.xml (*.xml, actually) and places it in the WEB-INF
directory:
build
plugins
!-- the below
When 'mvn package' is run, is there a way to also automatically run 'site' too?
Is this something which can be configured??
-
This e-mail message may contain privileged and/or confidential
On Wed, May 6, 2009 at 10:28 AM, REMIJAN, MICHAEL J [AG/1000]
michael.j.remi...@monsanto.com wrote:
When 'mvn package' is run, is there a way to also automatically run 'site'
too? Is this something which can be configured??
To get the same effect, you could look at the goals that are bound
I guess the Maven dependency plugin goals do that. Do not remember which
ones.
Jim Sellers wrote:
Hi all.
For the company that I work at we've got a bill of materials (bom) pom
that contains dependencies that we know will work together. Projects will
use the import scope to pull this
I am working on creation of a Bill of Materails (BOM) POM which would have
some of the common components used by other applications. Some of the
components in the BOM pom are interdependent. We are looking at a way to
find out that the versions in the component poms matches with the versions
in
Check what command the release plugin is invoking during the perform goal.
It's checking out the code to target/checkout and then forks another maven
execution in that folder. This is the one that's failing for you.
On Wed, May 6, 2009 at 3:18 AM, Mark Derricutt m...@talios.com wrote:
Looks
No goals in the dependency do this as far as I know. Just for fun I tried
to run all the goals to see if one of them would do it, but they don't.
There is a ticket open for having a tree for the dep management section,
and I believe that would work for me.
I have a multi-module project. One of my submodules creates an assembly (zip)
of a set of files that I need to distribute. At the root of my project, I
want to create a 'distribution' that includes this assembly as well as
several of the artifacts from other submodules (e.g. WAR's RAR's).
For
I have some of the jar files modified and kept them under folder ext-lib,
there jars files are needed by my application, can I tell maven to include
jars from this folder into the war file ?
my pom right now uses scope system and systempath , I donot want to install
them becasue we don't have
I got 'maven 2.3.0 Cannot find lifecycle mapping for packaging: 'zip'.'
message running
mvn install
I am a bit confuse because I haven't changed anything since las time I use
it. This is my setup and I tested it with maven 2.0.9. Is It a matter of
versions?
Apache Maven 2.1.0 (r755702;
On Wed, May 6, 2009 at 1:00 PM, tubin gen fachh...@gmail.com wrote:
I have some of the jar files modified and kept them under folder ext-lib,
there jars files are needed by my application, can I tell maven to include
jars from this folder into the war file ?
my pom right now uses scope
On Wed, May 6, 2009 at 1:15 PM, Fernando Wermus
fernando.wer...@gmail.com wrote:
I got 'maven 2.3.0 Cannot find lifecycle mapping for packaging: 'zip'.'
message running
mvn install
I am a bit confuse because I haven't changed anything since las time I use
it. This is my setup and I tested it
I have a quick question about dependencyManagement - if moduleA has a
dependencyManagement tag that pulls in a pom that has a bunch of
dependencies.
ModuleB depends on moduleA. During a build of ModuleB, I can see it
trying to get at the pom specified in the dependencyManagement section
of
EJ Ciramella wrote:
I have a quick question about dependencyManagement - if moduleA has a
dependencyManagement tag that pulls in a pom that has a bunch of
dependencies.
ModuleB depends on moduleA. During a build of ModuleB, I can see it
trying to get at the pom specified in the
Nice - thanks for the quick reply.
Can I have that hour of my life back now :-)
We are using 2.0.9 and it's not a trivial thing to get people and our
environments updated.
Is this truly fixed in 2.0.something beyond what I'm using? Or 2.2.0?
-Original Message-
From: news
Long shot - I know that newest in /usr/lib/jvm/newest/jdk/jre/lib/rt.jar
suggests it is a JDK6 JDK, but might be worth double-checking on the build
machine, in case a JDK5 slipped in unnoticed (which won't have this class).
I see you've extracted the classes from the JAR, but maybe you did this
when we run a java problem, we can do
java Program arg1 arg2
when i do
mvn exec:exec
can i specify argument ??
i saw there was a
article(http://mojo.codehaus.org/exec-maven-plugin/usage.html
) from maven, it said we can do this
mvn exec:java -Dexec.mainClass=com.example.Main
Before i run my program like this
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdexec-maven-plugin/artifactId
executions
execution
goals
goalexec/goal
45 matches
Mail list logo