Hi Aaron,
You can use the maven-deploy-plugin to write to your repository using
SSH for Maven 2.
You can refer to these docs for more info:
http://maven.apache.org/guides/mini/guide-deploy-ssh-external.html
I'm not sure if the site is updated though. If you want to get the
latest docs, you
Try removing the space after -P
-Padmintool
L. J. on 17/10/06 01:11, wrote:
I have multiple profiles in my settings.xml as below. While I run clean
install -P admintool -Dmaven.test.skip in the Continuum, it does not pick
up cvstagADMINTOOL_200609040300/cvstag but it picks up
I have an application that use BIRT to run reports. Ant the Birt Viewer,
that process the reports, is another webapp, that need to be runnint at same
time... I'm trying to run both, birt viewer and my webapp at same time with
the jetty maven plugin
Is it possible? or I need to run Birt viewer
I'm running Archiva webapp under tomcat 5.5
I'd like to undeploy without restarting Tomcat (as I don't have admin
acces to the server). When I undelploy archiva webapp using tomcat
manager, the webapp/archiva directory is not removed and WEB-INF/lib
still contains:
jpox-1.1.1.jar
I have followed the instructions in this thread so far; here is a snippet of
my pom.xml:
project ...
pluginRepositories
pluginRepository
idapache.snapshots/id
nameApache Snapshot Repository/name
urlhttp://people.apache.org/repo/m2-snapshot-repository/url
(Sorry my first post was mis placed)
Hi all,
It seems that the maven eclipse plugin add ear jar dependencies in the
WEB-INF/lib directory.
I've used the following command : mvn eclipse:clean
eclipse:eclipse -Dwtpversion=1.0 (I've also tried 1.5 with the snapshot
version)
And when deploy the
I am trying to set up a fairly complex set of repositories and am
running into some challenges. I think most of it is my understanding of
the details of how Archiva is structured. Once I get a better
understanding I hope to help provide feedback in the user guide to help
other users.
So I have
Does anyone have any examples of scm for CVS? I can't find anything
online that would allow me to embed scm cvs properties in pom.xml. I
would appreciate it if someone showed me how to do a diff and checkout a
module from cvs using the pom and not on command line.
When using the webstart-maven-plugin:1.0-alpha-1-SNAPSHOT I get the error
that it needs maven-jar-plugin:jar:2.1-SNAPSHOT.
Only the 2.1 version is available on
http://www.ibiblio.org/maven2/org/apache/maven/plugins/maven-jar-plugin/.
What is the best way to deal with this please ?
Thanks!
Can you turn on the keyword expansion in svn and use the ID in a pom
property?
-Original Message-
From: Alex Hollerith [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 21, 2006 3:08 AM
To: users@maven.apache.org
Subject: [maven2] subversion revision in MANIFEST file
hi,
we are using
Hi folks,
I think I discovered a glitch in generating FAQs using
fml. I tried nabble and could not find anything that
points to the glitch I found. I also tried to find the
sources of the plugin that transforms .fml files into
proper html, but unfortunately I could not find them.
All I found
Thanks! I will try that today.
alex
On Sat, 21 Oct 2006 13:11:13 +0200, Bernd Bohmann wrote
Hello Alex,
you can get the svn revision with
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-scm-plugin/artifactId
executions
Just noticed a weird little issue whilst doing a release with the latest
1.1-RC1 snapshot.
If I do maven scm:perform-release, and have maven.scm.url set to
scm:cvs:pserver:anon:@cvshost:/home/source:MyModule then it works
absolutely fine, but the scm:parse-connection goal produces some very
Hi,
I want to use the ant scp task with maven but I don't know how to
proceed. I tried the following command but no files were copied.
ant:scp file=path_to_file todir=[EMAIL PROTECTED]:/path
passphrase= keyfile=path_to_key trust=true/
with ant, this command line works correctly, it
Hi Marek,
I don't think there's a work around for this as of the moment. Every
artifact installed in the repository should follow the naming convention
artifact-version.
Dawn
Marek Chowaniok wrote:
Hi,
I want to change name of created war file.
Usually it is created in the form of
Hi all,
I have a SurefireExecutionException (see the trace below).
I don't understand because my pom.xml doesn't contain
anymore stuff from emma (see listing of pom.xml below)
but it had contained stuff of Emma.
I also removed manually emma directory from my local
maven repository.
What can be
I have recently tried to switch from using wagon-ftp when deploying (and
publishing site) to using wagon-ftp because ftp does not support
directory copying, but wagon-ftp seems to fail if the target directory
already exists. I get the following error when deploying with
wagon-ftp.
Caused by:
Hi,
I want to change name of created war file.
Usually it is created in the form of artifact-version.
There is attribute called warName which results in generating war file
with this name but when I do mvn install it doesn't install the war with new
generated name but with name
solo,
When you say backup, do you mean commit changes to an SCM system? Or
are you referring to actually backing up a working copy of a module that
was checked out from the SCM server (e.g. with a nightly desktop backup
system)?
On team projects, SCM commits aren't really backups, since it
In Selenium RC, you don't have to put Selenium into your WAR. You just
run JUnit tests. Take a look here:
http://www.openqa.org/selenium-rc/
-Dan
-Original Message-
From: Mick Knutson [mailto:[EMAIL PROTECTED]
Sent: Friday, October 20, 2006 3:20 PM
To: Maven Users List
Subject: Re:
Hi Aaron,
You can use the maven-deploy-plugin to write to your repository using SSH
for Maven 2.
You can refer to these docs for more info:
http://maven.apache.org/guides/mini/guide-deploy-ssh-external.html
http://maven.apache.org/guides/mini/guide-deploy-ssh-external.html
I'm not sure if the
Hello Paul
Thank you for your help. I changed the argument to:
configuration
executablejava/executable
arguments
argument-classpath/argument
classpath
dependencyorg.eclipse:startup/dependency
/classpath
argumentorg.eclipse.core.launcher.Main/argument
Hi folks,
I don't understand what is going on while generating a project
documentation using the maven 2 plugin site.
What I coded in the Xdoc is:
...
td class="status" style="background: url('images/stat090.png')
repeat-y;
90%
/td
...
This is the css-file:
.status {
text-align:
Yes it works for me, no problem. I'm not at work at the moment so I can't
compare but I know it wasn't easy and I had to compare the perforce clientspec
that I created for continuum with the one I used in eclipse to make sure it worked.
Syvalta on 20/10/06 09:02, wrote:
Hi,
I'll have been
I have something that may work but can't build archiva for now due to
network errors accessing
http://people.apache.org/repo/m2-snapshot-repository
My patch will require to add a boolean attribute to
ProxiedRepositoryConfiguration, that is generated by modelo. Is there
some design /
I'm using the assembly plugin to generate a jar with dependencies, so
the MANIFEST.MF is static (not generated dinamically); how can I add
the scm.revision to such a jar?
Thanks in advance,
Daniel Serodio
Bernd Bohmann wrote:
Hello Alex,
you can get the svn revision with
plugin
Hi James
Thanks for your help!
Theoretically, recreating the .project would be a possibility, but of course I
don't know what other external tools and builders and whatnot will be in the
project files.
So overwriting them with a hardcoded setting isn't really an option IMHO.
I guess I'll have
Hi
I want to add some additional links to my company's internal web links on
the Continuum main page. I try to change the .vm files in the
continuum-plexus-application-1.0.3.jar, but after bouncing the server, I do
not see anything changed. Is there something else I miss?
Thanks.
LJ
Can somebody show me an example of scm with CVS??? Maven has very
limited examples, and I'm confused as to what the differences are btw
connection and developerConnection and what the url is used for? If I
just provide the proper connection, mvn complains about the invalid
url...
scm
I'll take a look
MRM-212 created for this.
Nico.
Brett Porter a écrit :
We could add it to the proxy configuration page. Did you want to take
a look at providing a patch? Should be quite straightforward.
On 20/10/2006, at 10:13 PM, Nicolas DE LOOF wrote:
I have errors using archiva as a
Hi Daniel,
That URL points to the maven 1 console plugin.
There is currently no console plugin for maven 2 (AFAIK) like the old maven
1 console.
But there is a Console plugin for maven 2 at mojo.codehaus.org in the
sandbox.
Hope this helps.
Raphaël
2006/10/20, Siegmann Daniel, NY [EMAIL
Hi,
I have a single pom project which is a war-project. It uses the
commons-logging 1.1 package. This package has a dependency on
javax.servlet:servlet-api 2.3. I don't want this package to be a part of
the distributed war-file. Therefore I have excluded it. But still I need
it at compile
Hi Aaron,
You can use the maven-deploy-plugin to write to your repository using
SSH for Maven 2.
You can refer to these docs for more info:
http://maven.apache.org/guides/mini/guide-deploy-ssh-external.html
I'm not sure if the site is updated though. If you want to get the
latest docs, you
Generally multiple WARs are packaged together as an EAR.
Perhaps you need to create a single EAR and deploy it?
Wayne
On 10/22/06, Dudu [EMAIL PROTECTED] wrote:
I have an application that use BIRT to run reports. Ant the Birt Viewer,
that process the reports, is another webapp, that need to
Hi Adam,
mvn help:effective-settings
will help you determine the problem. Your dev profile would have to be
activated by something
Nothing in my settings is configure to activate the dev profile.
- try renaming it.
I already try it :
--- profiles.xml
profilesXml
profiles
Hi all,
I'm trying to use Emma. I've seen a relatively old post:
http://www.mail-archive.com/users@maven.apache.org/msg42682.html
I also have instrumented classes. Well at least, I see there is
a file target\emma\metadata.emma.
How could I have an HTML report built in the site?
Greetings,
Hi,
While running my maven build I saw this in the output:
snapshot
org.apache.maven.plugins:maven-site-plugin:2.0-SNAPSHOT:
checking for updates from...
and
snapshot org.apache.maven:maven-parent:4-SNAPSHOT:
checking for updates from snapshots
I am confused. I have nowhere included
Thanks, yes, I have tried that before sending this email, did not work
either. I guess Continuum loads all profiles at once and if duplicate
variables found, it will just pick up the one from the last profile in the
settings.xml.
Thanks.
LJ
On 10/22/06, Adam Hardy [EMAIL PROTECTED] wrote:
Well, this isn't a NoClassDefFoundError, so perhaps we're making progress.
Now java is returning a 1. It would help if you could see stdout, but I'm
not sure how to do that. Perhaps Eclipse is running but complaining about
your arguments. That would make sense, because it looks like you have an
oching wrote:
Hi Aaron,
You can use the maven-deploy-plugin to write to your repository using SSH
for Maven 2.
You can refer to these docs for more info:
http://maven.apache.org/guides/mini/guide-deploy-ssh-external.html
http://maven.apache.org/guides/mini/guide-deploy-ssh-external.html
I
if you only want to change the name of the generated
war file, then you may simply use
finalnameyourwarname/finalname
After
$ mvn package
you will end up having a file
./target/yourwarname.war
which may e.g. be locally deployed and started with
cargo
$ mvn cargo:start
ending up with the
We in Geronimo 1.2 also use Selenium in our testsuite. We have created
a selenium-maven-plugin to start selenium.
http://geronimo.apache.org/maven/server/maven-plugins/selenium-maven-plugin/index.html
We use TestNG to run the tests. Check out the following links for a
basic example.
Write the code yourself and contribute it back... I'm sure they'd
accept it and add it to the Eclipse plugin if its useful functionality
that others might desire as well. Sounds like fairly simple code --
removing functionality rather than adding it.
Wayne
On 10/23/06, Lewis, Eric [EMAIL
Hi all,
I am using Subversion 1.3.2 through Apache 2.0.55.
Sometimes my Continuum builds fail with the following error message:
Provider message: The svn command failed.
Command output:
---
svn: Caught signal
connection is read-only code access while developerConnection has
write privileges to the code repository.
Search this mailing list for CVS examples.
Wayne
On 10/23/06, Chen, Anning [EMAIL PROTECTED] wrote:
Can somebody show me an example of scm with CVS??? Maven has very
limited examples,
Daniel Serodio-2 wrote:
I'm using the assembly plugin to generate a jar with dependencies, so
the MANIFEST.MF is static (not generated dinamically); how can I add
the scm.revision to such a jar?
When you say static, do you mean that you have a MANIFEST.MF sitting on
your filesystem, and
Hello,
Compile scope doesn't mean compile-time only. In fact, it is the broadest of
maven's scopes. Here is what the scopes mean (as far as I can tell):
compile available when compiling, testing, and running
runtime available when testing and running
provided available when compiling and
Hi,
for Proximity support please use the Support Forum here:
http://forum.abstracthorizon.org/index.php?c=9
Please, do not pollute the Maven Users list with something that does
not belong there!
Thanx in advance!
~t~
On 10/19/06, Dave Hoffer [EMAIL PROTECTED] wrote:
I understand that wagon's
You want to use scope provided on servlet-api instead of compile. Compile
dependencies do get deployed. Provided ones are available at compile time,
but then do not get packaged into the final artifact.
I know, the terminology took me a few minutes to get used to.
Greg Vaughn
[EMAIL PROTECTED]
We started getting errors this weekend:
[WARNING] repository metadata for: 'snapshot
org.apache.maven.plugins:maven-install-plugin:2.2-SNAPSHOT' could not be re
trieved from repository: maven-snapshots due to an error: Error transferring
file
[WARNING] repository metadata for: 'snapshot
Thanks...
But in the case of birtviewer I wont to save it on subversion because the
high activity of versions released may be someone has another idea?
Thanks..
On 10/23/06, Wayne Fay [EMAIL PROTECTED] wrote:
Generally multiple WARs are packaged together as an EAR.
Perhaps you need to
Snapshots live in a separate repository. See here for information on
obtaining snapshots:
http://maven.apache.org/guides/development/guide-plugin-snapshot-repositories.html
HTH,
Paul
--
View this message in context:
On 10/23/06, Russ Tremain [EMAIL PROTECTED] wrote:
We started getting errors this weekend:
Several ASF servers were/are offline since Saturday. Obviously the
mail server is back up. :) But 'people.apache.org' isn't, and that's
where the snapshot repositories are.
I cannot connect to the
Hi there.
Where exactly do should I place the configuration,
extensions
extension
groupIdorg.apache.maven.wagon/groupId
artifactIdwagon-ftp/artifactId
version1.0-alpha-6/version
/extension
/extensions
Part of my project
I think perhaps your post had a typo, because you can't be switching from
wagon-ftp to wagon-ftp. What transport are you using now that's giving you
this error?
Paul
--
View this message in context:
Hello,
I just finished a launch4j plugin. You can find info on it here:
http://9stmaryrd.com/tools/launch4j-maven-plugin/
Paul
--
View this message in context:
http://www.nabble.com/-M2--Ant-based-plugin-and-target-classpath-tf2485665.html#a6960634
Sent from the Maven - Users mailing list
Refer to the Maven XSD to see where to place extensions:
http://maven.apache.org/maven-v4_0_0.xsd
Hint: its a child node of plugin.
Wayne
On 10/23/06, Jeff Mutonho [EMAIL PROTECTED] wrote:
Hi there.
Where exactly do should I place the configuration,
extensions
extension
It appears to me from that schema that extensions is also a valid child of
build. This is where I'm using it, and it seems to work fine. Perhaps the
problem is using extensions in a module?
Paul
--
View this message in context:
Wendy - thanks for the info... is there any mirror that is working?
-Russ
At 12:28 PM -0700 10/23/06, Wendy Smoak wrote:
On 10/23/06, Russ Tremain [EMAIL PROTECTED] wrote:
We started getting errors this weekend:
Several ASF servers were/are offline since Saturday. Obviously the
mail server is
pjungwir wrote:
Daniel Serodio-2 wrote:
I'm using the assembly plugin to generate a jar with dependencies, so
the MANIFEST.MF is static (not generated dinamically); how can I add
the scm.revision to such a jar?
When you say static, do you mean that you have a MANIFEST.MF sitting on
your
Yep, I agree. At least it's already filed! :-)
Paul
--
View this message in context:
http://www.nabble.com/-maven2--subversion-revision-in-MANIFEST-file-tf2485250.html#a6961406
Sent from the Maven - Users mailing list archive at Nabble.com.
grep for SNAPSHOT in your local repository pom.xml files to
see if you can find out who has the dependency:
cd local repos
grep SNAPSHOT `find . -name '*.pom'`
also, looks like the public snapshot repository is still down.
-Russ
Hi,
While running my maven build I saw this in
Great news!!! I was a bit disappointed to see that launch4j only
generates .exe launchers for Windows so I'm not sure it will be
suitable for my project but I'll have a look. I hope it gets to
official repositories soon.
2006/10/23, pjungwir [EMAIL PROTECTED]:
Hello,
I just finished a
On 10/23/06, Russ Tremain [EMAIL PROTECTED] wrote:
Wendy - thanks for the info... is there any mirror that is working?
Only official releases are mirrored, the snapshot repos are not.
A better solution would be to set up a proxy [1] so you're not
dependent on external repositories. You may
Hey there,
I've tried to use the maven2 plugin 0.0.9 in eclipse 3.2.1 and 3.3M2 via
the update site.
After succesful installation and restart of eclipse I go to Window
Preferences Maven2 to check if Maven is installed well and I get : An
error has occured when creating this preference page.
Nicolas:
I found this link on the MyEclipse User List ([EMAIL PROTECTED])
and it fixed that problem for me.
http://jira.codehaus.org/browse/MNGECLIPSE-124
Tom.
-Original Message-
From: Nicolas Lanquetin [mailto:[EMAIL PROTECTED]
Sent: Monday, October 23, 2006 9:26 AM
To:
Hi Everybody,
I did check the email archives on this one and I'm not sure what's what...
If I specify a manifest entry such as:
archive
manifestEntries
Class-Pathlib/some1.jar lib/some2.jar lib/some3.jar lib/some4.jar
lib/some5.jar/Class-Path
/manifestEntries
/archive --
The actual
Fair enough, I hadn't noticed that.
I've only ever used extensions inside a plugin so I figured this
was the only valid place for it. Next time I'll have to check the
entire XSD and not assume... ;-)
In that case, I really have no idea why its not recognized. Try moving
it under plugin just for
Borut Bolčina wrote:
I have, but I also had such error message. I don't know the solution from
the top of my head, but it works now, as I am doing the development with
WTP1.5, Tapestry4, libcopy and Subversion. What was it???
Outdated Subclipse plugin.
HTH,
Daniel Serodio
2006/9/5,
Hi James,
It's certainly a bug. I didn't use cvs for a long time.
Can you open an issue on the SCM plugin.
We'll take a look at it before to release the RC1
thanks
Arnaud
On 10/23/06, Shute, James [EMAIL PROTECTED] wrote:
Just noticed a weird little issue whilst doing a release with the
To use the scp task you have to :
- add a dependency to ant-jsch
- add a dependency to jsch (according to
http://ant.apache.org/manual/install.html#librarydependencies)
If you have a classnotfound, you can try to load them in the root
classloader
Arnaud
On 10/23/06, Jean-Michel PATER [EMAIL
Hello all - I'm having a bit of trouble with three layers of pom files.
If I have:
pom.xml - pom.xml - pom.xml
what _should_ the parent tags look like?
In the top most one, I have:
groupIdlty/groupId
artifactIdapp/artifactId
version1.0-SNAPSHOT/version
packagingpom/packaging
In the
Hi,
This seems to be a FAQ, and searches on this list seem not to yield
definitive answers. I have a plain old Maven2 project whose unit tests I'd
like to debug using an IDE. I've tried launching Maven2 with debug options
set, but I never hit any breakpoints that I've set after attaching the
If I have an JAR within an EAR that needs to reference libraries via the
ClassPath manifest entry, how can I use addClassPath but have Maven prefix
each entry iwth a /lib (my defaultBundleDir)?
So I have:
my.ear:
my.jar -- ClassPath entries that need to be ClassPath: lib/mylib.jar
-Original Message-
From: Tom Hurley [mailto:[EMAIL PROTECTED]
Sent: Monday, October 23, 2006 4:53 PM
To: Maven Users List
Subject: RE: Problem using Maven2 eclipse plugin
Nicolas:
I found this link on the MyEclipse User List
([EMAIL PROTECTED])
and it fixed that problem for me.
Probably what's happening is Maven is launching a second JVM to run your
tests.
If so, you can use -DargLine==-Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=4657 to pass
those arguments to the launched JVM.
Alternately, you can set surefire to
Related thread on UNC path issues:
From: [EMAIL PROTECTED]
To: users@maven.apache.org
Date: Sep 26, 2006 8:23 AM
Subject: Maven2 and Network Shares
Also http://jira.codehaus.org/browse/MNG-2580
Wayne
On 10/23/06, Kevin Menard [EMAIL PROTECTED] wrote:
-Original Message-
From: Tom
Brian E. Fox wrote:
Can you turn on the keyword expansion in svn and use the ID in a pom
property?
That won't do what you want because keyword expansion only happens when
you really edit the file.
Alex wants the revision that was used to create the
assembly/package/whatever.
-dirk
Thanks Paul,
Adding additional snapshot repo's did do the job,
Any experience with the webstart-maven-plugin ?
Chris
2006/10/23, pjungwir [EMAIL PROTECTED]:
Snapshots live in a separate repository. See here for information on
obtaining snapshots:
79 matches
Mail list logo