no, I'm suggesting that you use the dependency plugin to unpack your jar for
you.
That way you will not care if it has not beein installed into the repository
*yet*
2009/5/4 huser mpinj...@atxg.com
I am fairly new to maven. So I guess I need a plugin to copy the
abc-interface-api.jar to my
Hey,
I posted this one to dev@ by mistake, here it is again to us...@.
I'm facing weird problems with the maven-release-plugin and friends.
I use maven-release-plugin-2.0-beta-9 and get the same results with either
maven 2.1.0 or 2.2.0-RC1.
I tried with two subversion clients with the same
Well, not many answers. I guess I'll file an improvement request. I think
I'm going to put it into the maven-scm-plugin tracker (
http://jira.codehaus.org/browse/SCM).
What do you think?
Cheers.
2009/5/4 Baptiste MATHUS m...@batmat.net
Hi all,
I'm looking for a simple a quick way to update
Filed: http://jira.codehaus.org/browse/SCM-468
Tchüss.
2009/5/5 Baptiste MATHUS m...@batmat.net
Well, not many answers. I guess I'll file an improvement request. I think
I'm going to put it into the maven-scm-plugin tracker (
http://jira.codehaus.org/browse/SCM).
What do you think?
Hi Baptiste!
It isn't clear to me what you mean with 'update tag'.
Do you like to re-tag in the SCM?
LieGrue,
strub
- Ursprüngliche Mail
Von: Baptiste MATHUS m...@batmat.net
An: Maven Users List users@maven.apache.org
Gesendet: Dienstag, den 5. Mai 2009, 09:34:51 Uhr
Betreff:
I think he wants to update the scm section in the pom to match what is
displayed from svn info
2009/5/5 Mark Struberg strub...@yahoo.de
Hi Baptiste!
It isn't clear to me what you mean with 'update tag'.
Do you like to re-tag in the SCM?
LieGrue,
strub
- Ursprüngliche Mail
Exactly. I don't want this new goal to try and commit anything. Just
retrieve the svn info output from the working copy and update scm
connection and developerConnection accordingly.
I guess there could an option to update connection, developerConnection
or both with the retrieved value. For
You'd probably also want to update the url providing that it follows an
identified rule, since moste viewsvn equivalents follow a path rule in their
uri, this should not be a big issue
2009/5/5 Baptiste MATHUS m...@batmat.net
Exactly. I don't want this new goal to try and commit anything. Just
I just discovered that subtag of scm :). Well, then yes. Although you'd have
to provide some viewscm root url to start from.
2009/5/5 Stephen Connolly stephen.alan.conno...@gmail.com
You'd probably also want to update the url providing that it follows an
identified rule, since moste viewsvn
I don't think is a problem in either maven or surefire plugin.
Else the surefire is behaving differently.
It looks like now, when surefire forks the jvm, will not take all the system
properties from the parent jvm.
That's why you should pass whatever system properties you want for the
tests,
I'm assuming that there is a valid url already present and that the url
matches the same code as linked by the connection and developerConnection...
so all you need to do is get the common trailing part and update it to match
the changes to the connection and developerConnection urls
2009/5/5
I already had this kind of problem. From what I remember, I just removed all
the localization files from the subversion installation directory. Actually,
I think that the maven-scm-api reads the output of the CLI, and it doesn't
understand when it doesn't display the output in english...
Cheers.
Thanks for reply,
I omitted that if maven run as a super-user task all works correctly, and so
was with
normal-user runs until a few days ago, when suddenly (and without any
evident cause) maven was no more able to perform builds as a normal-user...
The problem isn't vital, because I can do
Le mardi 05 mai 2009 11:09:37, Baptiste MATHUS a écrit :
I already had this kind of problem. From what I remember, I just removed
all the localization files from the subversion installation directory.
Actually, I think that the maven-scm-api reads the output of the CLI, and
it doesn't
False alarm, the second build was made without 'sudo'.
Under root all works correctly. Sorry.
Update: now root-builds do not work anymore.
first it succesfully created a camel-service-unit
then the Error transferring file: repo1.maven.org problem
raised again, but this time under root.
I continue to not understand why:
Here is the mvn commands output:
Thanks again,
Andrea
/* service-unit
I am not sure, but when you run as root, doesn't maven take the
settings.xml from /root/.m2/settings.xml and when not as root from
~/.m2/settings.xml. Maybe there is a difference between those files?
Hth,
Nick Stolwijk
~Java Developer~
Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
Thanks Brian.
/James
Thanks for finding that. It's been fixed now.
The old repo had some junk versions that were being proxied.
It's been cleaned out.
We schedule daily cleanups of the snapshots, leaving behind 3
copies for a minimum of 10 days, the snapshots are removed
when a
Maven Users
Is there a way to specify what goes on the Classpath that is created by
the Archive tag when using the jar-with-dependencies descriptor?
I want to add some *.xml configuration files to the classpath so I can
find them when the application starts.
Mike Karrys
Hello,
Is there a way to provide a jar file that is not available in a Maven
repository as part of a multi-module project?
For example, if in a multi-module project
(groupId=example,artifactId=exampleroot), a sub-module
(groupId=example,artifactId=mainapp) depends on a jar that's not
Hi,
I was reading about the recent enhancements to the management of server
passwords in settings.xml at
http://maven.apache.org/guides/mini/guide-encryption.html
A few questions arose around the actual security provided by these
enhancements in the context of a build/CI server.
Agreed, this is
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 wrote:
Hi,
I am using maven 2.0.9, and everything is working great except for site
deployment with webdav. I have not tried any other kind
Hello,
I am using the Maven Project jar 2.1.0.
I get the following exception when I use it:
Exception in thread main java.lang.NullPointerException
at
org
.apache
.maven.project.ProjectUtils.buildArtifactRepository(ProjectUtils.java:
115)
at
org
.apache
.maven
Ross-
which container are you attempting to upload to ?
Martin
__
Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note de
déni et de confidentialité
This message is confidential. If you should not be the intended receiver,
You are correct. If someone is able to read the maven code and find the
default password, decrypt the master password, then they could decrypt
the user password. It's also decrypted on the wire if you aren't using
https with your repos. The trick with a build server is to make a
special
Hello Martin,
I try to upload to the apache-webserver 2.2. I've configured webdav as
described in the httpd.conf and the httpd-dav.conf. I tested it via windows
web folder and it works fine.
Michael
mgainty wrote:
Ross-
which container are you attempting to upload to ?
Martin
Hi,
I'm trying to move from maven 1 to maven 2, but I've noticed that I no longer
get the javadoc warnings report generated. Is there any way to get this report
from maven 2 (additional plugin perhaps?).
Cheers,
Joe
-
To
Hi all,
I'm trying to do the following:
We're using subversion and we need to extract the revision number of the
working copy and put that in a properties file. Is there an existing plugin
available to do this? I looked at the documentation for the SCM plugin and
it doesn't seem to quite fit the
Hi,
Have a look here : http://mojo.codehaus.org/buildnumber-maven-plugin/
HTH,
--
Olivier
2009/5/5 Allan Ditzel allan.dit...@gmail.com:
Hi all,
I'm trying to do the following:
We're using subversion and we need to extract the revision number of the
working copy and put that in a properties
On Thursday 30 April 2009 Martin Höller wrote:
The question I now have is, why is source:jar mojo executed at all?
According to the lifecycle reference [1] this mojo shouldn't be executed
(for packaging EAR). How can I deactivate this mojo?
The release-profile seems to introduce the m-source-p
Thanks Olivier!
That _almost_ does it. If I don't specify format and items then I see
the correct revision printed on screen when the module builds. But I can't
seem to find the right format and items to read the buildNumber in the file.
Here is what I have in my configuration block for the
I'm trying to use the assembly plugin with the project descriptorId and when
I run this the zip file it creates contains the absolute directory on my file
system to the project - in the zip file is c:\an\absolute\path\to\my\project
How do I configure the plugin to only have the project
I've put a file in this directory, ran mvn clean install, but the script
file isn't copied anywhere in target. What am I supposed to do after
adding a file to src/main/scripts?
Nick Stolwijk-4 wrote:
If you take a look at the superpom [1] you'll see there is a default
script directory:
Hey,
I had no issue building my projects.
release:prepare is working but release:perform is not (see the trace below).
I switched to 2.1.0 right after that and the release:perform went well.
I'm using the javasvn scm provider here but I get the same error using the
native one.
/Paul
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 Sluterweg 125
2012 WS Haarlem
www.iprofs.nl
On Tue, May 5, 2009 at 5:34 PM,
+1. Just noticed the same problem while mvn releasing a multimodule project.
The rest is fine (mvn clean deploy is ok).
Cheers.
2009/5/5 Paul MERLIN p...@nosphere.org
Hey,
I had no issue building my projects.
release:prepare is working but release:perform is not (see the trace
below).
I
Anders Hammar wrote:
In any case, the two important things I think are to keep the original
groupId and artifactId
I run into the sticky situation that not all of those are known. The person
that wrote the previous versions of the poms (that I'm currently renovating)
stored everything
Is anyone doing anything with Maven and Blaze Advisor? (The company
used to be Fair Isaac, now it's FICO.)
http://www.fico.com/en/Products/DMTools/Pages/FICO-Blaze-Advisor-System.aspx
I'm not that familiar with it, but apparently there is some build time
processing to be done, and I just
If you still have the original jar, you can do an md5sum search on
Sonatype Repository [1] or else a classname search on the same
repository with one of the original classes.
[1] http://repository.sonatype.org/index.html
Hth,
Nick Stolwijk
~Java Developer~
Iprofs BV.
Claus Sluterweg 125
2012
There are two other configuration files that you'll want to investigate besides
your pom for assemblies. I usually have a /main/assembly directory with a
component.xml and then an assembly descriptor file. If you can't get what you
need from this URL
We start getting this error today. Anyone know what causes this error?
[INFO]
[ERROR] BUILD ERROR
[INFO]
[INFO] SiteToolException: Error parsing site
Fantastic! Thank you :-)
Strange, I'm using the GNU coreutils md5sum program, but I'm not getting any
search results for the checksum...
$ md5sum apache/commons-dbcp.jar
590f45b612433a50665bc4f369fc77d0 apache/commons-dbcp.jar
I've tried it with others too... Does the filename affect the
Filename should not affect the checksum. You could take a look at the
META-INF directory inside the jar file. Sometimes there is also a
version number there.
With regards,
Nick Stolwijk
~Java Developer~
Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl
On Tue, May 5, 2009 at 9:13
Take a look at your site descriptor. (src/site/site.xml) It should
follow the decorations schema [1] It looks like yours start with
html instead of project.
[1]
http://maven.apache.org/doxia/doxia-sitetools-1.0.x/doxia-decoration-model/decoration.html
Hth,
Nick Stolwijk
~Java Developer~
I've been using this:
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdbuildnumber-maven-plugin/artifactId
version1.0-beta-1/version
executions
execution
phasevalidate/phase
goals
Hi,
I am working on EJB3 with JBoss and also to spread that JBoss-Seam, I am
searching
solution to solve this situation which create dependencies on JBoss server
and JBoss-Seam
in order to deploy and run my application with last server. What are there
possibility?
I hope to obtain help at this
This is a basic question about how to run Java unit tests that require
file names.
I use maven to develop a program that reads an input file names from
the command line. It's working fine, but now I want to share the code
with someone else. The test programs live in ../src/test/java, and
Allan,
In our company we also need to know exact revision number of each file
in project. The proposed buildnumber doesn't suit well, we need
exactly revision numbers!
We have created a custom version of maven-scm-plugin which supports this
feature. I am going to commit patch to maven-scm
You should store your files under src/test/resources and load your files
using getResourceAsStream
Regards
Jeff MAURY
On Tue, May 5, 2009 at 11:37 PM, Pete Siemsen siem...@ucar.edu wrote:
This is a basic question about how to run Java unit tests that require file
names.
I use maven to
Hi, I've been using mvn for a lot of years now, but I've just
encountered a bizarre issue that I have no explanation for.
I am having trouble with the following dependencies
dependency
groupIdaspectj/groupId
artifactIdaspectjrt/artifactId
Thanks, everyone!
We were finally able to get the resources filtered in our war pom, and the
version is now being inserted into a properties file.
Thanks again!
Allan
On Tue, May 5, 2009 at 5:46 PM, Andrei Solntsev asolnt...@hireright.eewrote:
Allan,
In our company we also need to know
Anything else?
Should we start the release process again then?
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org
Hi all,
I want to build a surefire report test unit and performance, so I config
surefire plugin like this :
[...]
reporting
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-surefire-report-plugin/artifactId
reportSets
reportSet
500 errors will show up in the Apache error log which might help you
nail down the problem.
You might also try Maven 2.1.0 and the wagon-webdav-jackrabbit 1.0-
beta-5 wagon as an alternative if you are still having problems.
Cheers,
Brett
On 06/05/2009, at 12:00 AM, Michael K. wrote:
Hi,
When maven builds a project, it figures out all the dependent jar
files, adds them to the classpath, produces the project's jar file
under target/.
My question is -- is there a way to ask maven also puts all (or some)
those dependent jar files under target/ too.
The origin of the issue is
Hi Steve,
There is a simple answer: mvn dependency:copy-dependencies
Please refer to http://maven.apache.org/plugins/maven-dependency-plugin/
Andrei Solntsev,
Software Developer
HireRight Estonia AS
-Original Message-
From: Steve Lihn [mailto:stevel...@gmail.com]
Sent: Wednesday,
While performing a deployment from the release plugin, I see
[INFO] [INFO] [install:install]
[INFO] [INFO] Installing C:\eclipse-workspaces\...\x.war to
C:\...\.m2\repository\com\...\x.war
[INFO] [INFO] Installing C:\eclipse-workspaces\...\x-sources.jar to
Even removing permissions may not help since anyone that can write a
unit test to read that file. If you give Maven access to deploy, you
give anyone with access to write code for that project to know the
credentials to deploy with. As Brian said the best thing to do here is
to use a CI
58 matches
Mail list logo