Do you get any errors in the Archiva logs?
I certainly get 40x errors from Maven when deploying to Archiva using
the DAV wagon - what version of the wagon are you using?
Can you try using just http:// instead of dav:http:// ?
Thanks,
Brett
On 28/03/2008, Paul G [EMAIL PROTECTED] wrote:
Great news!
I had a quick look on
https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-deploy-plugin/ and
did not see any log related to it.
So was there already a logged bug about this:
http://jira.codehaus.org/browse/MDEPLOY-74
What/where is the new code, some 3.x or something? So, is
Hello guys,
Sorry to bother you with such issues, but I've googling my brains out with
this without any relevant results.
I have a question regarding bundling a 3rd party jar in a Maven Plugin. I am
a bit new to Maven and Maven plugins.
I tried bundling it in the plugin jar and adding it to the
Thank you so much for your help. I was working until very late last night
and I was executing the command that you sent me at the wrong directory
level! - so, now I have got the maven build checking the project out.
I do have a question now, whats the correct maven model to build and ear
that
thanks mate, later is better than never :handshake:
Ernesto Salgado wrote:
This response arrives a bit late :wistle:, i know ... but here is the
solution.
The problem is that the latest release of maven-ear-plugin at the moment
is 2.3.1, and this version don't implement this feature
It seems that this goes deeper. What I actually need to do is create a Maven
plugin that performs an XSL transformation using Saxon 9. I unpacked the
Saxon 9 jar and added the classes to my plugin jar to make sure the
transformer is loaded. However, it seems that the transformer won't get
loaded,
Welcome :)
I am also don't know which build is correct. I am using build 2.0.7 to build
jar and war. I don't have idea about web service.
On Fri, Mar 28, 2008 at 12:46 PM, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Thank you so much for your help. I was working until very late last night
Hi,
actually we have a file-based Repository, so for that I have the following
mirror section in my settings.xml:
mirror
idGDCAMS-2.5-Main - mirror of central repo1.maven.org/maven2/id
nameGD proxy for central repository/name
urlfile:/V:/3L_Solutions/08.
I have one question. Does any maven command or plugin support serach and add
dependency automatically (a bit like Debian apt-get)? For instance, I use
archetype to create an ejb project. Then I want to use jboss as my ejb
container. So I need to add a lot of dependencies. Is there any command or
Brett,
I have tried adding a user with repository observer and manager roles and
have also tried giving the guest user the repository manager role as well.
But still it does not work. I have even tried putting a wrong password/wrong
user name in my settings.xml to see what sort of error I get
I you use eclipse, give a try to m2eclipse, there's an add dependency that
has a autocomplete feature.
Cheers.
-Message d'origine-
De : neo anderson [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 28 mars 2008 10:58
À : users@maven.apache.org
Objet : apt-get repository
I have one
Maybe you can use Eclipse (m2eclipse [1]) or Netbeans(mevenide [2]) with their
maven plugin. Those plugins index the central repository and allow you to
search and add dependencies.
[1] http://m2eclipse.codehaus.org
[2] http://mevenide.codehaus.org
Hth,
Nick S.
-Original Message-
Hi Torsten,
The mirrors cannot be configured with profiles. What you could do instead
is set each repository in different profiles using the repository section,
and just activate which profile you want to use for a specific build.
This might help too:
Hi,
I am trying to create a zip file containing all static web content, to be put
on a separate Apache server. The Maven Assembly plugin seems to be meant to be
used for such a task - http://maven.apache.org/plugins/maven-assembly-plugin/
According to the instructions given, I added:
plugins
What I've done on my laptop:
I created multiple settings.xml (settings.xml.home, settings.xml.work, etc) and
with a script I make a symlink to the right settings.xml.x to settings.xml.
Just run the command once and I am set for that environment.
Hth,
Nick S.
-Original Message-
From:
Inside of my fileSet element I have included a:
directory${basedir}/directory
Element...
Does this help?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 28 March 2008 11:52
To: users@maven.apache.org
Subject: Maven Assembly Plugin
Hi,
I am trying
My project (my *.jar file) used by others team-members. When i use 'mvn
package' goal, i recive 1 *.jar file in my project folder in folder target.
Then i copy my *.jar file to remote directory, which shared for all others
team member. How can i do it automatically (for example using pom.xml or
I have the same problem as explained below. Does someone know of a
solution or alternative?
Thanks,
Bruno
On 26/10/2006, Martin Gilday [EMAIL PROTECTED] wrote:
Hi,
I am trying to use the Jetty plugin for Maven but have my web.xml
filtered with properties. This is mainly as I have a
Inside of my fileSet element I have included a:
directory${basedir}/directory
Element...
Does this help?
nope, unfortunately, it didnt work.
This, as I understand it, simple says take all files from basedir.
Thanks,
Stefanie
--
Pt! Schon vom neuen GMX MultiMessenger gehört?
Der
I guess I should mention I am not using the default maven project structure -
for example, the static source code is under src/war -
maybe I will have to adjust the maven assembly default paths?
Thanks,
Stefanie
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für
Hello again :)
Now I've the configuration at hand, here it is :
plugin
groupIdorg.codehaus.mojo.jspc/groupId
artifactIdjspc-maven-plugin/artifactId
executions
execution
goals
I'd have to check on this. I know in 2.1 it's on by default and there is no way
to force it. Perhaps Jason put it in the wagon manager or something and not the
plugin.
-Original Message-
From: MATHUS Baptiste [mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2008 2:53 AM
To: Maven
You need to specify a base directory to search in the fileset element.
Take a look at the standard assembly descriptors shown on the plugin
site.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2008 7:52 AM
To: users@maven.apache.org
Subject:
Hi folks,
I'm trying to use Maven to build a project that uses it (fwiw, it's
the calendar plugin for JIRA: http://svn.atlassian.com/svn/public/contrib/jira/jira-calendar-plugin/tags/1.8/
). I just can't seem to be able to get anything to run, let me
elaborate further:
I downloaded and
Sorry if this is a repost... Not sure if the first one got out...
-- Forwarded message --
From: Urooj Khan [EMAIL PROTECTED]
Date: Thu, 27 Mar 2008 20:04:24 -0400
Subject: maven2 assembly plug-in
To: users@maven.apache.org
i'm using the assembly plug-in to create an assembly in
(Apologies if this gets received twice; I sent the first copy before I
got the registration confirmation back from the mailing list manager)
Hi folks,
I'm trying to use Maven to build a project that uses it (fwiw, it's
the calendar plugin for JIRA:
Tell us more about the remote directory. Is this a Maven repository
or is it simply a dumb file location? How do the other people get the
file, are they running Maven also or something else?
The more information you provide, the better the response will be.
Generally, I would suggest that you set
It seems that version of the jira-plugin still uses maven 1 (You've got a
project.xml file, not a pom.xml file), so maven 2 will not work on that plugin.
The trunk of the plugin is using m2 instead of m1, so you could try that one (I
don't know how stable the trunk is) or you could try using
Otherwise, you could try the distribution of the plugin ;)
http://svn.atlassian.com/svn/public/contrib/jira/jira-calendar-plugin/distributions/
Hth,
Nick S.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Fri 3/28/2008 15:23
To: Maven Users List
Subject: RE:
There is already an XML plugin in Codehaus which has XSLT
functionality. Why don't you just take a look at it before moving too
far down this path of possibly re-implementing an existing solution?
http://mojo.codehaus.org/xml-maven-plugin/
Wayne
On 3/28/08, Cosmin Marginean [EMAIL PROTECTED]
I can't exactly se how can that help me with my customization of the
plugin's code :-)
Attila.
On 2008.03.28., at 15:27, [EMAIL PROTECTED] wrote:
Otherwise, you could try the distribution of the plugin ;)
http://svn.atlassian.com/svn/public/contrib/jira/jira-calendar-plugin/distributions/
In the future, you might just go right to the source and ask the
originating team responsible for the code why it doesn't compile. So
in this case, ask Atlassian directly.
(IMO the Maven users list cannot possibly hope to support every single
developer who stumbles across an open-source project
I'd like to piggy back on to this discussion.
All our production builds are done in a controlled environment.
Different projects use make, ant, maven1, maven2, and custom scripts. We
would like, when a build is done, for the final artifacts to end up in a
dumb file location on the build box.
Ok, I am trying to run Selenium tests on my web app.
Now when I use this jetty plugin and start my webapp via jetty, I can see my
app running fine and my index.html (jsf) page displays fine:
*plugin
groupIdorg.mortbay.jetty/groupId
I'm stepping into my first foray into creating archeyptes. In general,
is there support for creating an archetype for a multi-module project?
Or is better to build a project with multiple archetypes? My first
thought would be I'd have problem injecting the parent project name into
the directory
Hello,
I have the relevant pom snippet below. The problem is really with the
eclipse plugin. The plugin reports not being able to download the 2
dependencies entity-client-1.0 and newsml-2.0.0.jar which are in my
sandbox in the following location:
/home/ferucci/europa_workspace/photos/
I have the following plugin that starts and stops for my integration tests,
but I want to manually start Tomcat, then deploy my war
* plugin
groupIdorg.codehaus.cargo/groupId
artifactIdcargo-maven2-plugin/artifactId
hi..
i get two directories called 'maven-archiver' and 'archive-tmp' in my target
directory
i dont know how and why these directories are being created.. is there a way
to stop this?
this is my pom.xml
?xml version=1.0 encoding=UTF-8?project
modelVersion4.0.0/modelVersion
Hi all,
I want to make a maven2 plugin for selenium-grid.
This selenium tools try to read a file named grid_configuration.yml at the
root of the classpath with ClassLoader.getResources().
In my plugin I create a grid_configuration.yml file but how can I had it
to the classpath ?
Thanks
Guillaume
Hi,
While tomcat is running, I would like to move some files from my source folder
to my tomcat/webapps/myproject folder - in case I altered these files - by
calling some plugin and or goal.
Using Maven 1, we had a custom goal for this:
goal name=jspdeploy
copy overwrite=false
Using archiva 1.0.1, when i try to add a remote repository, after i
click the add, the interface comme back to my form, with all i filled
in, without error message, but my list of repositories have now
disappeared. I currently have have 4 local repos, and 4 remote repos,
with links between
Hi,
I'm using maven-assembly-plugin in my POM and the assembly descriptor as
below to generate a JAR package. The resultant artifact package is in the
form of artifact-1.0-DEV.jar. But I require the package in the form of
artifact-DEV-1.0.jar. What I need here is the assemblyId should get
I use the antrun plugin for copying files around and such. You just put in
the ant equivalent to your xml, which shouldn't be much different from what
you have.
-- Lee
On Fri, Mar 28, 2008 at 10:58 AM, [EMAIL PROTECTED] wrote:
Hi,
While tomcat is running, I would like to move some files from
Hello,
i try to deploy a .war to our release repository, but mvn deploy fails
with this message:
[INFO] [install:install]
[INFO] No primary artifact to install, installing attached artifacts
instead.
[INFO] Installing
I use the antrun plugin for copying files around and such. You just put in
the ant equivalent to your xml, which shouldn't be much different from what
you have.
Could you give an example of how this is done? I don't know much about antrun
and how to use it...
Thanks in advance,
Stefanie
--
Yes, both of these IDE integrations support the Nexus indexer which
allows you access to all dependency information in the central
repository.
On 28-Mar-08, at 3:15 AM, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Maybe you can use Eclipse (m2eclipse [1]) or Netbeans(mevenide [2])
with
Hi,
I found out that the resource plugin is capable of simply copying files to a
directory. I would like to use this to update files in my tomcat webapps
project folder (when necessary). However, I am already using the plugin to copy
resources to the war file that is generated in the regular
On 2008.03.28., at 15:35, Wayne Fay wrote:
In the future, you might just go right to the source and ask the
originating team responsible for the code why it doesn't compile. So
in this case, ask Atlassian directly.
Not being able to run mvn eclipse:eclipse (and several other fairly
Hello,
using maven2, i notice that, while there are options to specify which
java version to use when compiling, there is little information on
released jars in repo about which version there are compiled for. It's a
problem in an environment where the java version has limitation. For
On 3/28/08, Attila Szegedi [EMAIL PROTECTED] wrote:
Again, the conclusion I reached based on the observed symptoms was
that this is a Maven issue. Actually, it *is* a Maven issue; why would
Maven2 be allowed to break in such an ugly manner when facing a Maven1-
compliant project? Some sort of
david delbecq wrote:
What are the best practice when deploying artifact about java version
used for compiling? I read somewhere that the purpose of maven release
process is to make the build reproductible, but if that build does not
include aimed compiler, we can't assure a rebuild will be
Hi John,
This feature is provided by the 2.0-alpha-3 version
of the Archetype plugin. This version is not yet released.
But you can try the last snapshot by adding a repository
to apache snapshot [1].
1. The goal to call from the project directory (or parent in
case of a multi module) is 'mvn
Which eclipse plugin are you using? Maven-eclipse-plugin, m2eclipse or
q4e?
-Original Message-
From: Alessandro Ferrucci [mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2008 11:29 AM
To: users@maven.apache.org
Subject: file system repo not work
Hello,
I have the relevant pom snippet
I am using m2eclipse.
thanks
alessandro ferrucci
Brian E. Fox wrote:
Which eclipse plugin are you using? Maven-eclipse-plugin, m2eclipse or
q4e?
-Original Message-
From: Alessandro Ferrucci [mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2008 11:29 AM
To: users@maven.apache.org
We are running into an issue with one of our child projects.
The compiler:testCompile builds the tests we expect, but wait! then it
does more: it starts looking in . for more tests to compile,
revisiting files it has already built via a different path.
The compile fails with both a duplicate
Hello,
Please let me know your ideas on resolving this issue.
Thanks Regards,
Logu Rajamanickam
- Forwarded by Logachandru X Rajamanickam/JPMCHASE on 03/28/2008 04:02
PM -
[EMAIL PROTECTED]
03/28/2008 11:26 AM
Please respond to
Maven Users List users@maven.apache.org
To
Maven
If you using java 5 as your JAVA_HOME I would also recommend setting the
executable compiler to use.
executablepath.to.jdk\1.4.2\bin\javac.exe/executable
Whilst source and target go some way to making sure the language is
correct, they won't pick up the fact that java 1.4 doesn't have a
Richard Chamberlain wrote:
If you using java 5 as your JAVA_HOME I would also recommend setting the
executable compiler to use.
executablepath.to.jdk\1.4.2\bin\javac.exe/executable
The side effect of this is that you produce code that now only compiles
on one person's machine, and
It works internally at our company as we all have build tools (jdk etc)
in a standard place. This makes it repeatable and
guaranteed not to blow up on a 1.4 environment.
I agree that this could certainly be a problem. Maybe there's a nicer
solution with profiles etc?
Regards,
Richard
Graham Leggett a écrit :
david delbecq wrote:
What are the best practice when deploying artifact about java version
used for compiling? I read somewhere that the purpose of maven
release process is to make the build reproductible, but if that
build does not include aimed compiler, we can't
Richard Chamberlain wrote:
It works internally at our company as we all have build tools (jdk etc)
in a standard place. This makes it repeatable and
guaranteed not to blow up on a 1.4 environment.
There is no such thing as a standard place for build tools - a new
contractor comes in, and
Richard and Graham
I've been using ANT since 02 placing all environmental (path/classpath)
information into buildName.propertiesAnyone who is hardcoding paths in Ant
is'nt using it to its full capability and is negating the original design intent
please reference Use Property Files from Steve
On 3/28/08, Graham Leggett [EMAIL PROTECTED] wrote:
Hard coding paths is one of the exact things that was rife in ant builds
and that maven moves away from, and that makes code management
significantly less painful and more robust.
I just got pulled into a project at my work place where they
And in response to Martin, in the project I'm recently involved in,
the paths are not hard-coded into the build script itself but rather
in various build.properties files. It is still a total pain and a
hack, IMO. You can't honestly tell me that you enjoy configuring
properties files for every
Ok, I figured out that the context was being set to my 'artifactId-version/'
and when I altered my URL, it worked.
So how do I set the root context via Tomcat and Cargo?
On Fri, Mar 28, 2008 at 7:53 AM, Mick Knutson [EMAIL PROTECTED] wrote:
Ok, I am trying to run Selenium tests on my web app.
I agree it's not ideal, but I'm open to suggestions as to how to
guarantee code from a particular project works in a java 1.4
environment?
-Original Message-
From: Graham Leggett [mailto:[EMAIL PROTECTED]
Sent: 29 March 2008 00:25
To: Maven Users List
Subject: Re: Best practices for java
On Fri, Mar 28, 2008 at 3:50 PM, Graham Leggett [EMAIL PROTECTED] wrote:
Richard Chamberlain wrote:
If you using java 5 as your JAVA_HOME I would also recommend setting the
executable compiler to use.
executablepath.to.jdk\1.4.2\bin\javac.exe/executable
The side effect of
On 29/03/2008, Richard Chamberlain [EMAIL PROTECTED] wrote:
If you using java 5 as your JAVA_HOME I would also recommend setting the
executable compiler to use.
executablepath.to.jdk\1.4.2\bin\javac.exe/executable
Whilst source and target go some way to making sure the language is
68 matches
Mail list logo