No problem Dmitry, glad to share the knowledge :).
On Wed, 2009-12-09 at 13:08 -0500, Dmitry Skavish wrote:
Thanks a lot! Works perfectly! That's exactly what I was looking for.
On Wed, Dec 9, 2009 at 12:28 PM, Adam Leggett (UPCO)
adam.legg...@upco.co.uk wrote:
Did you look at profiles
Comments inline.
Regards,
/James
2009/12/9 Nord, James jn...@nds.com:
I'm having a really strange error in Maven 2.2.1 and the enforcer plugin.
Basically it appears as though the super pom is missing version definitions
for the following even though they should be present
Hi!
I want to start a jar during the 'pre-integration-test' pretty much as
starting a Tomcat with Cargo or similar. But this is a standalone jar
that contains a server that i want to have available for
integrationstests that I want to run later.
I want the server jar to be shut down in the
The exec plugin?
Thomas Sundberg wrote:
Hi!
I want to start a jar during the 'pre-integration-test' pretty much as
starting a Tomcat with Cargo or similar. But this is a standalone jar
that contains a server that i want to have available for
integrationstests that I want to run later.
I want
2009/12/9 Thomas Sundberg thomas.sundb...@agical.com:
I want to start a jar during the 'pre-integration-test' pretty much as
starting a Tomcat with Cargo or similar.
Take a look at the SHITTY maven plugin:
http://mojo.codehaus.org/shitty-maven-plugin/
HTH
Antonio
2009/12/10 Antonio Petrelli antonio.petre...@gmail.com:
2009/12/9 Thomas Sundberg thomas.sundb...@agical.com:
I want to start a jar during the 'pre-integration-test' pretty much as
starting a Tomcat with Cargo or similar.
Take a look at the SHITTY maven plugin:
Hi Dennis
The project is deployed at sourceforge.
Sources:
https://demoiselle-samp.svn.sourceforge.net/svnroot/demoiselle-samp/trunk/auction5/
The site I reffered to can be seen at
http://demoiselle-samp.sourceforge.net/auction5/en/index.html
Thanks.
Dennis Lundberg-2 wrote:
It's
strapa72 wrote:
Hi Dennis
The project is deployed at sourceforge.
Sources:
https://demoiselle-samp.svn.sourceforge.net/svnroot/demoiselle-samp/trunk/auction5
The site I reffered to can be seen at
http://demoiselle-samp.sourceforge.net/auction5/en/index.html
Thanks.
Dennis
The book is wrong. -DpackageName=org.XXX.mavenbook should be
-Dpackage=org.XXX.mavenbook.
Please help improving the book by creating a jira for this!
https://issues.sonatype.org/
/Anders
On Wed, Dec 9, 2009 at 19:24, nklein norman.kl...@gmail.com wrote:
I'm reading the Maven: Definitive Guide
I'd say the Maven way is to keep this info/data in a corp parent. For
instance, have a look how this is done at Apache:
http://repo1.maven.org/maven2/org/apache/apache/6/apache-6.pom
As you can see, some values are handled by properties which make them
customizable by projects using this parent.
Hello I have following problem
I have to adjust the maven war plugin to a different webapp source
directory.
I used
webResources
resource
directorywebappDir/directory
/resource
/webResources to adjust it
Now if I have a standalone project this works perfectly
Known issue:
http://jira.codehaus.org/browse/MNG-2382
What version of Maven and what version of the war plugin are you using?
/Anders
On Thu, Dec 10, 2009 at 14:12, Werner Punz werner.p...@gmail.com wrote:
Hello I have following problem
I have to adjust the maven war plugin to a different
Hi,
I have a maven project, where I specified LGPL as license. If the
project site is generated (or the license goal is explicitly invoked)
the resulting license.html says, that the Project License is GNU
Lesser Public License, but all links and texts below (about the
license) are about
The objective is to prevent maven's attempt at site deployment.
Everything else, though, I want. Problem is that when I use the xml
below, it ONLY installs.
So I added goals with install:
plugin
groupIdorg.apache.maven.plugins/groupId
It appears that the taglist report is trying to validate some hibernate config
we have in our resources directory.
One file in question is blowing up the report, is it possible to skip this
single file? The problem lines look like this:
join table=t_foo
key column= id unique=true /
I believe its the default release profile that triggers the site
deployment stuff. There is an option for setting custom ones on the
perform mojo:
http://maven.apache.org/plugins/maven-release-plugin/perform-mojo.html#releaseProfiles
On Thu, 2009-12-10 at 09:25 -0500, Jim Collings wrote:
The
You can configure used goals with this :
http://maven.apache.org/plugins/maven-release-plugin/perform-mojo.html#goals
2009/12/10 Jim Collings jlistn...@gmail.com:
The objective is to prevent maven's attempt at site deployment.
Everything else, though, I want. Problem is that when I use the xml
I believe the only difference here is that this is a property and I am
using xml but I imagine it is the same thing.
On Thu, Dec 10, 2009 at 9:50 AM, Olivier Lamy ol...@apache.org wrote:
You can configure used goals with this :
How complicated is that to do? We don't generally use profiles around
here so I've little experience with them.
On Thu, Dec 10, 2009 at 9:48 AM, Adam Leggett (UPCO)
adam.legg...@upco.co.uk wrote:
I believe its the default release profile that triggers the site
deployment stuff. There is an
Not massively complicated, have a look at the responses to this query
about a similar issue. In this case a need to prevent deploying the
sources jar as part of a release.
http://stackoverflow.com/questions/437085/mvn-releaseperform-without-source-ending-up-in-artifactory
On Thu, 2009-12-10 at
Just to give further details, here's what I've worked out as a (mostly)
general solution to this issue:
plugin
artifactIdmaven-antrun-plugin/artifactId
executions
execution
phasecompile/phase
configuration
tasks
property
Thanks for pointing out my version confusion.
On Wed, Dec 09, 2009 at 04:12:29PM +0100, Jörg Schaible wrote:
Mark H. Wood wrote at Mittwoch, 9. Dezember 2009 15:09:
mw...@mhw ~ $ mvn --version
CompilerOracle: exclude
org/eclipse/core/internal/dtree/DataTreeNode.forwardDeltaWith
Apache
Hi,
I'm using Maven 2 and trying to release a snapshot version of my Java web
app. Here is the command I'm running from my root project folder ...
mvn release:prepare -DdryRun=true -Dresume=false
-DallowTimestampedSnapshots=true
Eventually the build dies because of Can't release project due
One way is to define a lot of properties in a settings.xml - but then the
user has to define all these properties himself. When properties are
changing, then we have a mess. Even worse, there is no version tracking of
properties using this solution. That is not good enough.
I've heard of
Aw crud.
Thanks for your help guys but this turned out to be a case of
developer headspace and timing. ;-)
I forgot that I had to call maven:prepare first. My assumption at the
time was that it would be called by maven:perform if it was required.
Not the case though.
Works great now.
Jim C.
You dont need to use the release plugin to deploy a snapshot.
A simple 'mvn deploy' will suffice.
Thanks
Adam
On Thu, 2009-12-10 at 07:35 -0800, laredotornado wrote:
Hi,
I'm using Maven 2 and trying to release a snapshot version of my Java web
app. Here is the command I'm running from my
My take on the Enforcer plugin is to make builds reproducible given
the same environment at a latter date. Changing Maven version (or
JDK!) changes the environment and is out of scope IMHO. This is
especially the case if you explicitly limit the version of Maven and
JDK (and OS!) used in
Hey all,
I'm checking out of source control several internal maven projects to put onto
another medium (CD). I'm using ANT to to this task related to some other items
that need to go on the CD.
Question:
I want to 'replicate' a mini-repository for each maven project, including all
the
Better options welcome.
Write a plugin. Its super simple and will give you exactly what you
need. I'd just knock something out in Groovy if I were you.
Wayne
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For
The Maven team is pleased to announce the release of the Maven Changes
Plugin, version 2.3
This plugin is used to inform your users of the changes that have
occurred between different releases of your project. The plugin can
extract these changes, either from a changes.xml file or from the JIRA
Hi all,
We have a modular project using maven-j2ee-simple archetype. This projects
has three modules: servlets, projects, and ear. Servlets contain one module,
a web application, projects contains some jar modules and the ear module
that generates our application ear. We use inside the ear, and
Hi
I m also facing the same issue . Where you able to solve your issue?
Binu
janszm wrote:
I am trying to write a maven plugin as per
http://maven.apache.org/guides/plugin/guide-java-plugin-development.html
When I compile my plugin I get the following error:
Thanks, I will definitely do this. But to satisfy my curiosity, is this not
the right syntax
-DallowTimestampedSnapshots=true
or is there a bug in the release plugin?
Thanks, - Dave
Adam Leggett (UPCO) wrote:
You dont need to use the release plugin to deploy a snapshot.
A simple
Under development, for all run cases (exec:exec or surefire:test) I need a
classpath be appended with a dir which has predefined location against
project's basedir and *isn't* transitive (say, I can not use it as resources
being copied to target/classes).
How to append?
Andrew
or is there a bug in the release plugin?
There are many bugs in many plugins. Also see:
http://jira.codehaus.org/browse/MRELEASE-452
What VERSION of the release plugin are you using? Just because there's
a feature in a plugin doesn't mean you're using a recent enough
version to get access to
Anders Hammar wrote:
The book is wrong. -DpackageName=org.XXX.mavenbook should be
-Dpackage=org.XXX.mavenbook.
Please help improving the book by creating a jira for this!
https://issues.sonatype.org/
/Anders
After updating this code to work with a Flex project (using
I have a very strange problem when I try to deploy artifacts. For
certain artifacts, the deployment fails with the message 'Error
deploying artifact: Error transferring file...Error writing to server'
(I included the stacktrace below). It appears to be related to the
size of the artifact, but
I haven't tried this but I think t may work. You could use mvn
dependency:go-offline -Dmaven.repo.local=/some/archive/path
This should cause all the required dependencies and plugins to be
downloaded to the maven.repo.local path you specified. If you ran that
on all of your projects you'd have
Hi
I gave your project a try and I can confirm the behavior you described.
At first I thought it had something to do with your skin, but that
wasn't it.
Then I tried to build the site with Maven Site Plugin 2.1-SNAPSHOT and
it worked as it should. The headings now says Last Published and
I'm not sure, but I think that the package property is archetype specific.
It's not listed on the archetype plugin doc site.
If you specify what archetype you're using maybe someone knows.
/Anders
On Thu, Dec 10, 2009 at 19:01, nklein norman.kl...@gmail.com wrote:
Anders Hammar wrote:
There are also solutions with a maven plugin downloading and installing
settings.xml. Such a plugin is included in Nexus Pro, but it shouldn't be
too hard to write yourself (or is there an oss version already?).
/Anders
On Thu, Dec 10, 2009 at 16:35, Wayne Fay wayne...@gmail.com wrote:
One
A previous poster wrote:
Thanks for your response, this fixed the problem! However, another issue
comes up - *release*:*perform* almost worked out except at the very end it
failed to upload the artifact to the repo, and the error is
[INFO] [INFO] Error deploying artifact: Failed to transfer
are you using Archiva as your repo?
On 11/12/2009 7:49 AM, Brendan Sibre wrote:
A previous poster wrote:
Thanks for your response, this fixed the problem! However, another issue
comes up - *release*:*perform* almost worked out except at the very end it
failed to upload the
Actually, using Artifactory 2.1.0. And it is configured to mirror
everything.
So far I'm guessing that it's one of two problems:
1) I don't have things mapped properly between my ~/.m2/settings.xml and
$MAVEN_HOME/conf/settings.xml where the shared configuration defines the
distributionManagement
We had the same problem with Archiva but it was fixed with the latest
upgrade, which is why I asked. Sorry don't think I can help.
Cheers
Matt
On 11/12/2009 10:47 AM, Brendan Sibre wrote:
Actually, using Artifactory 2.1.0. And it is configured to mirror
everything.
So far I'm guessing that
I have a very strange problem when I try to deploy artifacts. For
certain artifacts, the deployment fails with the message 'Error
deploying artifact: Error transferring file...Error writing to server'
(I included the stacktrace below). It appears to be related to the
size of the artifact, but
If you're running Apache 2.2, take a look at
http://httpd.apache.org/docs/2.2/mod/mod_ssl.html#sslrenegbuffersize
Essentially, it might not really be the size, it might be the size in
combination with
opening a new connection. If there is already an active SSL connection it
won't need
to be
I think this solution could be helpful:
http://maven.apache.org/plugins/maven-compiler-plugin/howto.html
--
View this message in context:
http://old.nabble.com/How-to-exclude-a-package-from-compile-tp21476236p26738402.html
Sent from the Maven - Users mailing list archive at Nabble.com.
Hi All,
I am planning to use maven to deploy my application in tomcat. My
requirement is to deploy on a remote instance of tomcat.
Can any one got some pointer/links to start with.
Regards,
Vijay Shanker Dubey
http://cargo.codehaus.org/Maven2+plugin
Kalle
On Thu, Dec 10, 2009 at 8:53 PM, vijay shanker vijay.s...@gmail.com wrote:
Hi All,
I am planning to use maven to deploy my application in tomcat. My
requirement is to deploy on a remote instance of tomcat.
Can any one got some pointer/links to
Andrew Gaydenko wrote at Donnerstag, 10. Dezember 2009 18:49:
Under development, for all run cases (exec:exec or surefire:test) I need
a classpath be appended with a dir which has predefined location against
project's basedir and *isn't* transitive (say, I can not use it as
resources being
Hello all of you!
Thank for your replies. I've tested all strategies told here, except for
using a plugin generating the settings.xml, in earlier projects. I never had
the feeling feeling of hitting the big success. Maybe the plugin way will
work.
I can understand all arguments for not being
On Friday 11 December 2009 09:44:06 Jörg Schaible wrote:
Andrew Gaydenko wrote at Donnerstag, 10. Dezember 2009 18:49:
Under development, for all run cases (exec:exec or surefire:test) I need
a classpath be appended with a dir which has predefined location against
project's basedir and
Just to be clear, when you say version scope do you mean version range?
What you could do is to use a property for some elements in your pom. The
default value is defined in the pom through defining the property. It is
then possible for each user to override this, either through their
You've tried different version of Maven? 2.2.1? 3.0-alpha-5?
/Anders
On Thu, Dec 10, 2009 at 21:49, Brendan Sibre bren...@sibre.net wrote:
A previous poster wrote:
Thanks for your response, this fixed the problem! However, another issue
comes up - *release*:*perform* almost worked out
55 matches
Mail list logo