Maybe you need developerConnection instead of connection (or both).
> -Original Message-
> From: Billy Newman [mailto:newman...@gmail.com]
> Sent: Wednesday, August 22, 2012 9:56 AM
> To: users@maven.apache.org
> Subject: Re: Maven release plugin, multiple svn repos?
>
> A little more inf
Can you not do this using filtered overlays in the maven-war-plugin.
Build a "generic" war, then have other war projects dependent on the
generic war as an overlay and apply property filters to it.
So you'd have one generic-war project, built in the usual way, with no
property filters. Then one or
Wow! Rahul! You need to learn to crawl before you can learn to walk.
This is not a Maven problem. You need to go to your manager or to a
co-worker or to your cool friend with the following questions:
1. How do I run commands from a command prompt in Windows?
2. What's the difference between an e
http://maven.apache.org/plugins/maven-war-plugin/examples/skinny-wars.ht
ml
> -Original Message-
> From: Laudio Info [mailto:laudio.i...@gmail.com]
> Sent: Thursday, July 05, 2012 1:38 AM
> To: users@maven.apache.org
> Subject: libraries duplkication into ear and war
>
> Hello
> i have o
Have you defined your pluginRepository in your maven settings.xml file?
Something like:
nexus
central
(I've never used this plugin, but you piqued my curiosity, so I took a quick
look at it.)
Looks to me like you're running the "rpm" goal which just generates the rpm,
correct? Have you tried running the "attached-rpm" goal?
I didn't glean anything from the docs about deploying by default, unle
Yeah. You need to read the documentation. The format is
"groupId:artifactId:type:version[:classifier]".
"Artifact coordinatess may be given in simple groupId:artifactId form,
or they may be fully qualified in the form
groupId:artifactId:type:version[:classifier]. Additionally, wildcards
can be use
Pankaj,
The problem is in your includes. "javadoc" and "source" are classifiers,
not types.
Try
groupA:A:jar:sources
groupB:A:jar:javadoc
and so on.
Matt
> -Original Message-
> From: Pankaj [mailto:pankaji...@rediffmail.com]
> Sent: Thursday, May 17, 2012 12:11 PM
>
CESSFUL
> [INFO]
> ---
> -
> [INFO] Total time: 30 seconds
> [INFO] Finished at: Fri Apr 27 17:14:44 CEST 2012
> [INFO] Final Memory: 72M/371M
> [INFO]
> ---
> -
> Waiting for Jenkins to finis
Doesn't look like maven failed. Your tests failed, which caused your
build to fail, then Jenkins failed looking for results.
Maybe you've configured your Jenkins build to do it's post processing
even on failure?
Matt
> -Original Message-
> From: Alexis Morelle [mailto:alexis.more...@alca
> -Original Message-
> From: Matt Walsh
> Sent: Friday, April 27, 2012 9:26 AM
> To: users@maven.apache.org
> Subject: RE: Maven failed with error while reading test results
>
> Doesn't look like maven failed. Your tests failed, which caused your
> build
You're getting a jar file because by omission of the
element, that's what you've asked for.
There's nothing in that makefile that tells it to put anything in your
target directory. I'd look for it beside the helloworld.c, wherever that
is.
> -Original Message-
> From: bettypop [mailto:ya
See -- Did it again! :-(
> - given that the release.properties file doesn't exist
> until
> you run release:perform.
>
I mean to say " ... until you do a release:prepare".
> -Original Message-
> From: Matt Walsh [mailto:mwa...@chartwelltechnology.com]
Hi.
D'oh! Just spent half an hour trying to figure out why I couldn't do a
release. Hopefully this will keep someone else from doing the same.
Kept getting the following error message:
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-release-plugin:2.2.1:perform
(default-cli)
>> [INFO] make: Nothing to be done for `C:\Program
>> Files\apache-maven-3.0.4\maven-n
>> ative-example\src\main\makefile'
This looks like a makefile target/rule/dependency issue, not a Maven
issue.
> -Original Message-
> From: bettypop [mailto:yashu@gmail.com]
> Sent: Wednesday, Ap
You already have them as jars. Why not just make them dependencies of
your war project?
Matt
> -Original Message-
> From: wzhao6898 [mailto:wzhao6...@gmail.com]
> Sent: Monday, April 23, 2012 12:00 AM
> To: users@maven.apache.org
> Subject: Is it possible to package several applets into a
I can help get rid of the warnings.
You have the maven-antrun-plugin declared 4 times. I think what you want
is 4 executions within 1 declaration.
You have the maven-releases-plugin declared 2 times in your
pluginManagement.
As far as the error is concerned, your build doesn't seem to like the
de
Jeff
I'm sure you're having great success banging your head. ;-)
I use the maven release plugin with SVN. We've had authentication issues before
as well.
First, do you have an svn provider defined for the plugin in your pom? Here's
what I have.
javasvn
And I'm not sure off
Try changing the execution id to 'default-war'.
> -Original Message-
> From: Maven User [mailto:maven.2.u...@gmail.com]
> Sent: Wednesday, March 14, 2012 12:08 PM
> To: Maven Users List
> Subject: Skip default execution?
>
> Hi all -
>
> I _swore_ you could do this, but maybe I've overlo
Just a little anecdote here on the pitfalls of branching maven projects
without some kind of control.
We have a SNAPSHOT version for trunk. We use the maven-release-plugin to
create our maintenance branches at release time. The plugin, by default,
uses the current dev version on trunk as the branc
Seth.
I tried doing something similar to this using the
buildnumber-maven-plugin. It returns the branch and revision number (I
use Subversion, not Git), but looks like you're trying something
similar.
The problem I encountered (at least how I interpreted it) is that the
plugin doesn't run soon en
Or it that 1 year old. Always get those yy/mm/dd vs dd/mm/yy confused.
:-(
> -Original Message-
> From: Matt Walsh
> Sent: Wednesday, February 29, 2012 8:56 AM
> To: Maven Users List
> Subject: RE: Antwort: RE: offline not truly offline?
>
> Nice. 4 years old.
Nice. 4 years old.
> -Original Message-
> From: Thorsten Heit [mailto:thorsten.h...@vkb.de]
> Sent: Wednesday, February 29, 2012 2:35 AM
> To: Maven Users List
> Subject: Antwort: RE: offline not truly offline?
>
> Hi,
>
> > From my experience with the archetype plugin, it appears to ign
Agreed.
> -Original Message-
> From: Wayne Fay [mailto:wayne...@gmail.com]
> Sent: Tuesday, February 28, 2012 1:43 PM
> To: Maven Users List
> Subject: Re: offline not truly offline?
>
> > From the looks of the documentation, this was by design. Doesn't mean
> it
> > wasn't a bad design.
I can understand needing to do this. For reasons I won't get into, I had
to do something similar in order to split a huge jar file.
The compile phase compiled all the classes I needed, so I used the
package phase to create 2 jars from the same sources by overriding the
default-jar execution and c
ffline?
>
> Smells like an issue should be created..
>
> On Tue, February 28, 2012 10:40 am, Matt Walsh wrote:
> >>From my experience with the archetype plugin, it appears to ignore
> your
> > company proxies and mirrors and always and only goes to repo1 unless
>
>From my experience with the archetype plugin, it appears to ignore your
company proxies and mirrors and always and only goes to repo1 unless you
tell it otherwise
using -DarchetypeCatalog=http://your.company.repo/ or
-DarchetypeCatalog=local
I don't have a proxy, but I do have everything red
Hi.
Sorry if this is a bit wordy, but I'm confused about how the metadata
file gets updated and downloaded to my local .m2/repository, and the
following describes what I've gone through to try to understand the
problem. I'm not sure if this is a Nexus issue or a Maven issue, so I
thought I'd st
Generate-sources is a phase, not a dependency scope.
Get rid of that for a start. I'm surprised maven even allowed that. I
guess it accepts anything there.
> -Original Message-
> From: jgruber [mailto:john.t.gru...@gmail.com]
> Sent: Wednesday, February 22, 2012 9:38 AM
> To: users@maven
Put this in your pojo and java poms:
maven-deploy-plugin
true
It will still install to local, but won't deploy to remote.
> -Original
>From http://maven.apache.org/archetype/maven-archetype-plugin/faq.html:
How to generate a project from an archetype in an authenticated
repository?
The server id used to download the artifact is
[archetypeArtifactId]-repo: you have to define corresponding server
configuration in settings.xml wit
Are you sure about that? I believe provided go on the compile classpath
as well.
To quote the maven docs:
Provided
This is much like compile, but indicates you expect the JDK or a
container to provide the dependency at runtime. For example, when
building a web application for the Java Enterprise
Makes more sense in terms of a WAR. Compile scope jars are copied to
WEB-INF/lib. Provided scope jars aren't. For example, the servlet-api
would be "provided" by the servlet container.
Matt
> -Original Message-
> From: chad.da...@emc.com [mailto:chad.da...@emc.com]
> Sent: Friday, January
That's probably because your war's sourceDirectory is src/main/webapp.
I always put filtered resources in src/main/webResources and
non-filtered everything else goes in src/main/webapp.
Matt
> -Original Message-
> From: mschipperheyn [mailto:m.schipperh...@gmail.com]
> Sent: Friday, Janu
http://maven.apache.org/guides/mini/guide-encryption.html#How_to_keep_the_master_password_on_removable_drive
> -Original Message-
> From: Sebastien Gueissaz [mailto:xsi...@gmail.com]
> Sent: Thursday, January 19, 2012 9:31 AM
> To: users@maven.apache.org
> Subject: alternate path settings
t;META_INF/MANIFEST.MF") and
> getResourceAsStream("/META_INF/MANIFEST.MF") without success even
> though
> I've verified that the file exists in the jar,
>
> How does one read the manifest from an executable jar?
>
>
> On 01/11/2012 11:35 AM,
This is referenced from the maven-buildnumber-plugin documentation.
http://apollo.ucalgary.ca/tlcprojectswiki/index.php/Public/Project_Versi
oning_-_Best_Practices#Build_Versioning
Where they do the following (assuming, of course, you've placed the info
in your manifest file):
String appServerH
You may want to read this article:
http://maven.apache.org/guides/mini/guide-default-execution-ids.html
> -Original Message-
> From: Matt Walsh [mailto:mwa...@chartwelltechnology.com]
> Sent: Monday, January 09, 2012 10:58 AM
> To: Maven Users List
> Subject: RE: Trying
>
> com.dbdeploy
> maven-dbdeploy-plugin
> 3.0M3
>
>
> mysql
>
> mysql-connector-java
>
You might be getting conflicts in your configuration. Try moving your
configurations inside the blocks.
> -Original Message-
> From: Artie Peshimam [mailto:apeshi...@gmail.com]
> Sent: Thursday, January 05, 2012 11:25 AM
> To: users@maven.apache.org
> Subject: Trying to get multiple profi
I'm using maven-ant-tasks 2.1.3 with just the xmlns specification with no
problems.
I have it installed in ANT_HOME/lib, but initially used it from HOME/.ant/lib
with no problems. Haven't tried it with the -lib parameter, but no reason to
believe it wouldn't work that way as well.
Maybe try upg
Hi.
I've been using maven-ant-tasks to deploy an ant built library to a
local Nexus repository. The problem I have is that even though the ant
task is reading the settings .xml files, it doesn't appear to be using
the authentication info found there. I keep getting an authorization
failed messa
src/main/resources of your server module
>
> Manuel
>
> On Fri, Jul 25, 2008 at 5:02 PM, Matt Walsh <[EMAIL PROTECTED]> wrote:
>
>> I'm a little new to Maven (about 3 weeks), so I apologize if this is a
>> n00b question. I have a question about how to better struc
I'm a little new to Maven (about 3 weeks), so I apologize if this is a
n00b question. I have a question about how to better structure my
current application. Currently, the parent project has three modules:
client, server, and common. Common depends on nothing. It simply hold
beans and service inte
44 matches
Mail list logo