Archiva works on my local computer, but fails on the target (windows)
server.
The only difference is that the target Tomcat 5.5.17 server is installed
under D:\Apache Software Foundation\Tomcat 5.5
When starting archiva, I get this exception :
2007-03-19 19:20:39,243 [Main Thread] ERROR
Hi,
I want also add that every management should be concerned with software
quality and a convenient dashboard which allow to drive software quality.
Lot of plugins go in that direction. Have a look for example to the project
we are starting at hortis with the goal to offer such software
Hi Ian,
Dees, Ian (GE Healthcare) wrote on Friday, March 16, 2007 7:14 PM:
If I have a dependency tree similar to this:
projectA depends on projectB-1-01-SNAPSHOT
projectA depends on projectC-1-00
projectC depends on projectB-1-00
How does maven handle running tests on projectA, for
I turned stacktraces on and it seems that maven looks for the wrong
plugin:
[DEBUG] Artifact not found - using stub model: Unable to determine the
latest version
org.apache.maven.plugins:maven-minijar-plugin:pom:LATEST
Instead of minijar-maven-plugin it looks for maven-minijar-plugin.
Hi,
I have posted this question earlier, but I am still struggling to find a
solution. Any one who has come across the problem or have a work around
can help me.
I have a ejb3 application and I am generating a jar file which I am
deploying it on JBoss. All the dependency injections work
Hi,
Here is the structure of my project :
parent
|
|- cdk
|
|- components
|
|- comp 1
|- comp 2
comp 1 and comp2 depend on cdk. I've released a 1.2 version of the cdk
Hi!
This morning I out of the blue the site plugin fails with this exception
[INFO]
[ERROR] BUILD ERROR
[INFO]
[INFO] Internal error in the plugin
Olivier Fabre - EBM WebSourcing wrote on Monday, March 19, 2007 10:41 AM:
Hi,
Here is the structure of my project :
parent
|
|- cdk
|
|- components
|
|- comp 1
Hi,
Is there a way by which we can stop maven from accessing the central
repository - http://repo1.maven.org/maven2/org/apache/maven/plugins/
to download plugins
I require my build to refer to another repo and not the central repo.
Please help
Regards,
Brinnel
Visit our website at
Phillip Rhodes wrote:
I am using the the m2 eclipse plugin and while it works (and I appreciate it
very much), I just can't stand the several minute long build cycles and looking
for something that will speed up my development.
Can anyone recommend something for me besides the
On 3/19/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Is there a way by which we can stop maven from accessing the central
repository -
http://repo1.maven.org/maven2/org/apache/maven/plugins/
to download plugins
Configure a mirror:
Hi Brinnel,
You could define a repository in your settings.xml with id central, I believe
this overrides the built-in definition that takes you to repo1.maven.org
Regards,
Marcel
- Original Message
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
To: users@maven.apache.org
Sent: Monday,
Hi.
I try to create an executable jar that contains all the project's
dependencies using the assembly plugin.
Some of my dependencies are custom 'system' dependencies.
Here is an example from my pom:
dependency
groupIdadm-commons/groupId
Does anyone know of a good way to have a particular assembly generated
and deployed iff I'm cutting a release? It'd be nice if I could get
it to happen automatically (without having to specify a profile or
something).
Greg Kick
[EMAIL PROTECTED]
You need to declare an execution:
http://maven.apache.org/plugins/maven-assembly-plugin/usage.html
(See Normal Assemblies).
HTH,
Stéphane
On 3/18/07, Jean-Luc Wasmer [EMAIL PROTECTED] wrote:
how can I deploy the assembly?
I'm using a multimodule project so the only thing that gets deployed is
Hi,
Given a groupId, artifactId and a version, how can I know the final name
of the file?
For example,
groupIdorg.apache.maven/groupId
artifactIdmaven-core/artifactId
version2.0.4/version
The file will be maven-core-2.0.4.jar
But the packaging can be not only jar, but war, ear...
Is there
I believe that ${finalName} will give you the exact name of the output-file...
Although you can normally combine the artifactId with version and packaging to
get the name of the output.
On Monday 19 March 2007 14:56, Rahamim, Zvi (Zvi) wrote:
Hi,
Given a groupId, artifactId and a version, how
Hy,
I'd like to ugrade my archiva server with latests snapshot build.
When installing it on my local tomcat server, I can't setup user roles. I
allways get error :
Cannot use AssignmentsAction for RBAC Edit User with an empty principal.
Is there something I've missed ?
Nico.
There isn't one exposed inside maven itself, however there is one in the
dependency plugin to do it though (you can just copy the code):
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/utils/DependencyUtil.java?view=markup
Try specifying the full name on the command line ie:
mvn -X org.codehaus.mojo:minijar-maven-plugin:ueberjar
Wayne
On 3/19/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I turned stacktraces on and it seems that maven looks for the wrong
plugin:
[DEBUG] Artifact not found - using stub
If you can run maven on an internet connected computer first to
download all the dependencies then you could just copy the ~/.m2/
repository/ directory to the computer without the internet and run
maven in offline mode (mvn -o)
Andy
On 19 Mar 2007, at 07:17, Ivan Biddles wrote:
Hi,
I am
Don't use system dependencies. Install/deploy the artifacts into your
local repo/corporate repo and change the dependency scope.
Wayne
On 3/19/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi.
I try to create an executable jar that contains all the project's
dependencies using the assembly
I don't know if you've missed something, but it works fine for me.
Emmanuel
nicolas de loof a écrit :
Hy,
I'd like to ugrade my archiva server with latests snapshot build.
When installing it on my local tomcat server, I can't setup user roles. I
allways get error :
Cannot use
If your development machine is not connected to the internet, but IS connected
to an internal network that has other systems connected to the internet, you
could use one of the maven proxies/managers such as Archiva on one of those
connected machines.
On 3/19/07, Andrew Williams [EMAIL
I really don't understand what's happening : cannot change roles form any
existing user (admin/guest). I can create a new one and set it's roles, but
can change them anymore after that...
Will try to rebuild archiva...
2007/3/19, Emmanuel Venisse [EMAIL PROTECTED]:
I don't know if you've
2007/3/19, Vidya Mahavadi [EMAIL PROTECTED]:
Hi,
I have posted this question earlier, but I am still struggling to find a
solution. Any one who has come across the problem or have a work around
can help me.
I have a ejb3 application and I am generating a jar file which I am
deploying it on
On 3/19/07, nicolas de loof [EMAIL PROTECTED] wrote:
I really don't understand what's happening : cannot change roles form any
existing user (admin/guest). I can create a new one and set it's roles, but
can change them anymore after that...
Will try to rebuild archiva...
Are you using an old
In the project set up I have those two xml files in META-INF folder(upper
case). But when maven generates the jar file it puts them in a lower case
folder. :(
Petar Tahchiev [EMAIL PROTECTED]
19/03/2007 16:43
Please respond to
Maven Users List users@maven.apache.org
To
Maven Users List
2007/3/19, Vidya Mahavadi [EMAIL PROTECTED]:
In the project set up I have those two xml files in META-INF folder(upper
case). But when maven generates the jar file it puts them in a lower case
folder. :(
Petar Tahchiev [EMAIL PROTECTED]
19/03/2007 16:43
Please respond to
Maven Users List
On 3/18/07, Olivier Dehon [EMAIL PROTECTED] wrote:
I am trying to build continuum from a checkout from the trunk on WinXP.
I am getting this error from the JPOX Enhancer tool (in the
continuum-model project):
...
Indeed, even though the tool completed with success, the exit status is 1.
I am
What's the easiest way to download the whole central repository? Is
there a maven plugin to do that? Or is there some way to get a zip of
the whole thing?
On Mon, 2007-03-19 at 14:26 +, Andrew Williams wrote:
If you can run maven on an internet connected computer first to
download all
On 3/19/07, Paul Gier [EMAIL PROTECTED] wrote:
What's the easiest way to download the whole central repository? Is
there a maven plugin to do that? Or is there some way to get a zip of
the whole thing?
See 'Creating your own mirror' at the bottom of this page:
Quite a while back (possilby 2 years ago) I did that using wget. Be advised
you're probably going to need several gig of disk space for it.
On 3/19/07, Paul Gier [EMAIL PROTECTED] wrote:
What's the easiest way to download the whole central repository? Is
there a maven plugin to do that? Or
Yep - rsync will definitely work better than wget.
On 3/19/07, Wendy Smoak [EMAIL PROTECTED] wrote:
On 3/19/07, Paul Gier [EMAIL PROTECTED] wrote:
What's the easiest way to download the whole central repository? Is
there a maven plugin to do that? Or is there some way to get a zip of
the
Yes, do not wget the repository:
http://maven.apache.org/community.html under Being a Good Maven Citizen
Eric
On 3/19/07, Thierry Lach [EMAIL PROTECTED] wrote:
Yep - rsync will definitely work better than wget.
On 3/19/07, Wendy Smoak [EMAIL PROTECTED] wrote:
On 3/19/07, Paul Gier [EMAIL
Stephane Nicoll wrote:
You need to declare an execution:
http://maven.apache.org/plugins/maven-assembly-plugin/usage.html
(See Normal Assemblies).
Thanks! (how could I have missed this one???)
Jean-Luc
HTH,
Stéphane
On 3/18/07, Jean-Luc Wasmer [EMAIL PROTECTED] wrote:
how can I deploy
Hi Maven experts,
I'm trying to create a localized version of the site according to the mini
guide http://maven.apache.org/guides/mini/guide-site.html. mvn site works as
expected with one issue I don't know how to solve:
The generated site's menu on the left containing the reports looks as
Thanks!
-Original Message-
From: Brian E. Fox [mailto:[EMAIL PROTECTED]
Sent: Monday, March 19, 2007 4:15 PM
To: Maven Users List
Subject: RE: File name according to groupId, artifactId and a version.
There isn't one exposed inside maven itself, however there is one in the
dependency
Hi
I'm using 'jdom 1.0'. But I've the problem that this pom which comes
from the remote repository contains false dependencies. Therefore I will
include the corrected jdom pom.xml into our company wide internal
repository.
- Does it suffice to insert just the pom (without any artifacts)
On 3/19/07, Cla Emanuel Monsch [EMAIL PROTECTED] wrote:
I'm using 'jdom 1.0'. But I've the problem that this pom which comes
from the remote repository contains false dependencies. Therefore I will
include the corrected jdom pom.xml into our company wide internal
repository.
- Does it suffice
Hi,
Does anyone know how I can find out which maven plugins are run during
the validate phase for jar packaged artifacts?
I created a mojo, gave it a new lifecycle, and somehow turned of pom
parameter injection, so I'm trying to find the lifecycle phase and
plugin that handles this.
Hi,
My project's version is defined as:
version${env.SVNVERSION}-SNAPSHOT/version
where the SVNVERSION environment variable is set before hand by a shell
script.
How can I embed the script inside maven's build lifecycle? (it should
run before anything else)
Right now the shell script is
PLXCOMP-65 created for this. Using the URL constructor solves this issue.
That beeing said, archiva uses lot's of SNAPSHOT dependencies. Can we expect
a stable version some day or do you consider Archiva as a
Web2.0-styleallways in beta application ? Archiva
1.0 will have to wait so much
Seems like you're pointing to the snapshot repo for some of your
artifacts. Remove that from your pom.
Also, lock down your artifact versions using pluginManagement and
dependencyManagement in parent poms with versions declared as
version[1.2.3]/version.
Wayne
On 3/19/07, [EMAIL PROTECTED]
We have the hand of all snapshot and we release them when we want. So it isn't
a problem.
Emmanuel
nicolas de loof a écrit :
PLXCOMP-65 created for this. Using the URL constructor solves this issue.
That beeing said, archiva uses lot's of SNAPSHOT dependencies. Can we
expect
a stable
-- repost since original post had incomplete subject
Hi,
My project's version is defined as:
version${env.SVNVERSION}-SNAPSHOT/version
where the SVNVERSION environment variable is set before hand by a shell
script.
How can I embed the script inside maven's build lifecycle? (it should
run
On 3/19/07, Jean-Luc Wasmer [EMAIL PROTECTED] wrote:
-- repost since original post had incomplete subject
Hi,
My project's version is defined as:
version${env.SVNVERSION}-SNAPSHOT/version
where the SVNVERSION environment variable is set before hand by a shell
script.
How can I embed the
I need to be able to build WAR that does not include a web.xml. The use
case for this is certain forms of Java EE 5 Web Services deployment.
However, Maven2 gives me this error when I try:
Error assembling WAR: Deployment descriptor:
I did some further research and found that my variable wasn't in systemScope.
Why would it be there locally on Eclipse but not the build machine. Is
there something I need to do to enable that?
I had to resort to something like this to see the variable, but that still
presents me the problem
Filed a long time ago in JIRA:
http://jira.codehaus.org/browse/MWAR-53
Wayne
On 3/19/07, Mark Hansen [EMAIL PROTECTED] wrote:
I need to be able to build WAR that does not include a web.xml. The use
case for this is certain forms of Java EE 5 Web Services deployment.
However, Maven2 gives me
Hello,
I'm trying to create an installer artifact type, and then depend on
the installer's dependencies in other projects.
The transitive dependencies aren't being exposed in the dependent project.
A concrete example of what's currently Not Working for me is this: I
want to provide a
Dear All,
I am very glad to hear that Maven has taken into account the
disconnected build use case.
Thank you all very much for your insights and all the good references
too. This has certainly set me off in the right direction.
Best wishes, Ivan
-Original Message-
From: Eric Redmond
Hello,
My dev team has been using Maven2 full-time for about 2 months now,
and we're starting to notice a problem that we hadn't really
considered until now. I don't know a safe way to deal with it, but
I'm getting very close to having to do something that might be
unsafe.
The issue is that
[EMAIL PROTECTED] wrote:
Hello...
I am revamping our build environment with Maven. And am
meeting with stiff resistance from the group, despite
its obvious advantages. In that context:
From: Dennis Lundberg [EMAIL PROTECTED]
What is painful about it?
We are dealing with the
Thorsten Heit wrote:
Hi Maven experts,
I'm trying to create a localized version of the site according to the mini guide
http://maven.apache.org/guides/mini/guide-site.html. mvn site works as
expected with one issue I don't know how to solve:
The generated site's menu on the left containing
Hello, Wayne.
I'm curious about the answer to Peter's original question, which was:
How is Maven getting out to the wider world in spite of the fact that
his network does not allow outbound http traffic and the settings.xml
file does not define any proxies?
thanks,
--Marilyn
-Original
Ladies and Gentlemen
Something is awry in my eclipse import and I am sure I have dome something dumb
since I can find no one else with the same issue. Here is the order of events I
take please let me know where I drove off the cliff
created a clean temp directory
Copied working POM into it
Impossible for me to say. Run mvn -X and ask your network guy to run
some packet capture/analysis tools to help discover what exactly is
going on in your network. ;-)
Wayne
On 3/19/07, Marilyn Sander -X (marilysa - Digital-X, Inc. at Cisco)
[EMAIL PROTECTED] wrote:
Hello, Wayne.
I'm curious
Wendy Smoak wrote:
Does it build with JDK 1.5?
I see the same issue with JDK 1.5
I also tried to build the continuum-1.0.3, which uses earlier versions
of JPOX, to no avail
(fails with the exact same error, and after all required classes have
been enhanced successfully).
I see there's
Get only timeouts. Any reason someone can share
Phill Moran
works for me. If you continue to have problems, you probably need to
contact nabble, or check with your own system administrators - the
service is completely hosted by Nabble.
On 20/03/07, Phill Moran [EMAIL PROTECTED] wrote:
Get only timeouts. Any reason someone can share
Phill Moran
--
It was dead for many days. But as usual you complain and the problem goes away.
Suddenly tonight no issues.
Thanks for the response though
-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED]
Sent: March 20, 2007 12:50 AM
To: Maven Users List
Subject: Re: what's up with
Hello!
I am unable to remove a project because of a FK constraint in the DB on
the notifiers.
However, in the UI, it is not possible to remove the notifiers (that
were from the POM).
I tried commenting them out from the pom, but the old projects remain
with their dependencies on the notifiers.
Ok, I now that this is a so much frequent question, but I can't find a neat
thread about this issue. I already have take a look at surefire plugin doc
and JIRA without success. In surefire how
tohttp://maven.apache.org/plugins/maven-surefire-plugin/howto.htmlyou
can see this statement:
Which
64 matches
Mail list logo