Thanks for the quick response.
I've tried the following:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-war-plugin/artifactId
version2.0/version
configuration
excludes
Folks;
in my environment, I do have a parent pom all my projects do inherit
from. This parent pom is used, among other things, to keep global
dependencies. My question on that, however: Asides from declaring
dependencies which effectively state what is needed, is there a way to
also declare
Jan Verstuyft wrote:
Thanks for the quick response.
I've tried the following:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-war-plugin/artifactId
version2.0/version
configuration
excludes
Very kind of you, Wendy, to try and answer to this type of request...
No Hi, no thanks, and no real explanation of the problem and/or proof the
guy tried a bit to find the cause by himself...
Without speaking about the fact that this mail seem to have been sent twice...
Cheers.
-Message
On Fri, Jul 11, 2008 at 5:53 AM, Brian Albers [EMAIL PROTECTED] wrote:
Maven gurus-
I'm running into a problem which seems like it should be simple, but
I've had no luck in solving it with various Maven plugins.
In a nutshell, I'm trying to use the assembly plugin to produce a .zip
file for
On Fri, Jul 11, 2008 at 9:47 AM, Kristian Rink [EMAIL PROTECTED] wrote:
Folks;
in my environment, I do have a parent pom all my projects do inherit
from. This parent pom is used, among other things, to keep global
dependencies. My question on that, however: Asides from declaring
dependencies
Hi All.
I'm using Hudson integration environment and I've recently migrated my
scripts from ant to maven. Using ant, when some test cases failed, the
build was set to unstable and a test-results report was raised
indicating which tests failed and why. The problem is that using maven,
the
On Friday 11 July 2008 Carlos Alonso wrote:
Hi All.
I'm using Hudson integration environment and I've recently migrated my
scripts from ant to maven. Using ant, when some test cases failed, the
build was set to unstable and a test-results report was raised
indicating which tests failed and
Hi
I have installed Nexus and Maven2
I have followed step by step the book of Sonatype on Maven.
All work fine except the upload.
I'am not able to upload neither third parties artifact, snapshot or
release on my Nexus repository.
For example, if I try to deploy a mysql connector I got this
Ok,
so the exclude on configuration level, just excludes which .class
files you want to add to the war?
I even tried
configuration
excludes
exclude**/*.class/exclude
/excludes
/configuration
and still,
Thanks Martin, that was it.
Now my problem is the following. I execute the install target, but, if
any test fails, I wouldn't like my repository to store the generated
artifact and, as you can imagine, the artifact is installed. How can I
deal with this?
Thanks again.
Martin Höller
Hi all.
Is it any way of executing one maven target or another depending, for
example, on the test phase result?
I mean, I use Hudson integration environment and I invoke the install
target so that, after every build, the generated artifact is copied to
the local repository. My problem is
On Friday 11 July 2008 Carlos Alonso wrote:
Now my problem is the following. I execute the install target, but, if
any test fails, I wouldn't like my repository to store the generated
artifact and, as you can imagine, the artifact is installed. How can I
deal with this?
I guess that's not
Halo!
Maven don't work when In Windows user has ampersand in the name for example
username=TomJerry. Windows allows usernames like this, but Maven treat
ampersand in the name of users main folder as a part of some url (?) or
something . and cannot get path properly. Windows do not allow to
You're right Martin, but, as I explained in my first mail, the state
build succeeds has also two states, depending on the stability of the
product.
The stability of the product depends on the test cases, if every test
case passes, the product is stable, otherwise, unstable. But the build
Hi Siarhei,
I too use JBoss tools and Eclipse Plugin.
How did you set this up?
Thanks,
On Thu, Jul 10, 2008 at 8:08 PM, Siarhei Dudzin [EMAIL PROTECTED]
wrote:
What's wrong with JBoss Tools? We use maven-eclipse-plugin + JBoss Tools,
works well so far...
Siarhei
On Thu, Jul 10, 2008 at
Hi David,
Sorry for to confusing post.
I'll try to explain better.
I have hot deployment in place. It is working, just not in the best way.
What I have suceeded so far:
I have setup JBoss deploy URLs to search my
${maven.project}/target/{projectWAR}
I deploy using mvn war:exploded so I don't
On Friday 11 July 2008 Carlos Alonso wrote:
You're right Martin, but, as I explained in my first mail, the state
build succeeds has also two states, depending on the stability of the
product.
But not for maven!
The stability of the product depends on the test cases, if every test
case
By the way... one more thing...
There is also the option of using the:
mvn war:inplace
This should solve all my problems... except that I cannot change the webapp
folder to webapp.war! And since the webapp folder does not terminate with a
.war extension JBoss does not deploy it. Tries to but
Hi all,
I want to add two projects to eclipse. Unfortunately, they require the
use of two different local maven repositories. Unfortunately, mvn
eclipse:eclipse generates .classpath files where the repository is
referenced by the M2_REPO variable. In order to support different local
maven
Sorry,
I've put the maven-compile plugin at the wrong place. Now it works.
thanks
Jan
2008/7/11 Jan Verstuyft [EMAIL PROTECTED]:
Ok,
so the exclude on configuration level, just excludes which .class
files you want to add to the war?
I even tried
configuration
Sorry! I promised I'd post the results and forgot.
Better late than never.
The project that resulted from this is here:
http://development.digitalis.pt/apache2-default/staging/ormgenerator/index.html
Source can be browsed here...
Hello!
we have about 20 multiprojects composed of several java projects. Typically,
a subsystem would be a J2EE application or a common component developed by
one team. The build of the whole system is cascaded, approximately 5
levels. So we have dependencies between the multiproject.
Does
Hi
I am using maven2 to package a EJB3 jar and I was wondering how I
package the dependencies into the EJB3 jar file? Looks like you can do
it with maven 1 with ejb.bundle but I cannot find any documentation for
maven 2?
Thanks Glen
I can't speak to Hudson but it seems to me in AnthillPro we have a job
step after the build step that always runs to ensure any test get
published. So, even though the build failed we can still do other
things.
===
-Curt
W: 860.702.9059
M: 860.881.2050
-Original Message-
From: Carlos
As I has understood, you create a duplicated job for every single
project so as to execute those other things?
I'm not sure of having got the idea. Could you please explain a bit
deeper please?
Thanks in advance
Yanko, Curtis escribió:
I can't speak to Hudson but it seems to me in
Hi all,
trying the simplest command mvn:archetype to create a demo app in an
empty local repository which looks for artifacts before in Artifactory then
in ibilio, I have the following error, see log in attach
http://www.nabble.com/file/p18403172/log.txt log.txt
An interesting thing is
Drinkwater, GJ (Glen) schrieb:
I am using maven2 to package a EJB3 jar and I was wondering how I
package the dependencies into the EJB3 jar file? Looks like you can do
it with maven 1 with ejb.bundle but I cannot find any documentation for
maven 2?
So far I am using assembly:assembly /
In AHP Builds are made up of a Workflow which can contain one or more Jobs each
of which has multiple Steps. So, Our Maven Jobs tend to look like this:
Populate Workspace
Get Changelog (since last build)
Create a Stamp (and AHP construct but I use for Tags in SVN too)
Maven Builder (Effective
On Fri, Jul 11, 2008 at 12:39 PM, Arand, Thomas (NSN - DE/Muenich)
[EMAIL PROTECTED] wrote:
Hi all,
I want to add two projects to eclipse. Unfortunately, they require the
use of two different local maven repositories. Unfortunately, mvn
eclipse:eclipse generates .classpath files where the
On Fri, Jul 11, 2008 at 12:47 AM, Kristian Rink [EMAIL PROTECTED] wrote:
Asides from declaring
dependencies which effectively state what is needed, is there a way to
also declare global exclusions to, regardless of artifacts included,
state what artifacts _not at all_ to include?
I believe
Hi
Has anybody worked with a Maven plugin for obfuscation?
Regads,
Néstor Boscán
Wendy Smoak schrieb:
Asides from declaring
dependencies which effectively state what is needed, is there a way to
also declare global exclusions to, regardless of artifacts included,
state what artifacts _not at all_ to include?
I believe you'll still have to do the excludes, but the
Hi
Oh right, I have it kind of working, seems that when I do
unpackfalse/unpack it then leaves the jar out, whilst
unpacktrue/unpack unpacks and them adds it. I would like it not to
unpack the jar whilst adding it. Is that possible?
Glen
-Original Message-
From: news [mailto:[EMAIL
I have the same questions as Tony, does anyone have an answer to this?
Tony Gedge-3 wrote:
Hi all,
We have an archetype that we use for producing a shell project. Some of
the files in the generated shell project should have project-specific file
names (e.g. for the ABC project, a
Is it possible to provide default value for only a portion of ${package}
property? I would like to do the something like the following:
requiredProperties
requiredProperty key=myModule /
requiredProperty key=myApp /
requiredProperty key=package
What exactly do you want to obfuscate? There are various security
tools that work on Java classes and jars available and at least one or
two have been mentioned on this list recently.
Wayne
On 7/11/08, Néstor Boscán [EMAIL PROTECTED] wrote:
Hi
Has anybody worked with a Maven plugin for
Hi Laurent,
We also have a nexus-users list where we your question will probably
find a faster answer ;-) http://nexus.sonatype.org/mailing-lists.html
Your problem below seems to be that you've set a password on the
repository but it's not in your settings. This is done with a server
entry in
The Alfresco AMP Plugin team is pleased to announce the maven-amp-plugin-2.0.0
release!
This plugin defines a lifecycle for Alfresco ECM Modules packaging (.amp),
handles AMP transitive dependencies from AMP and WAR projects,
providing a more enterprise oriented support alternative to the
The Maven alfresco Extension archetype team is pleased to announce the
maven-alfresco-extension-archetype-1.1.0 release!
This archetype developed aims to provide a standardized approach to
development, release and deployment of Alfresco extensions (as opposed to
AMP builds, to be released as a
The Maven Alfresco Amp Archetype team is pleased to announce the
maven-alfresco-amp-archetype-1.0.0 release!
This archetype aims to provide a standardized approach to development, release
and deployment of Alfresco AMPs (as opposed to Alfresco
extensions, released as a different artifact ).
If its in the xml, you might be able to use CDATA to get the ampersand in
there. The XML parser probably is looking for an lt; sort of thingy.
--Lee
On Fri, Jul 11, 2008 at 4:29 AM, Artur Śmiejowski [EMAIL PROTECTED]
wrote:
Halo!
Maven don't work when In Windows user has ampersand in the
2008/7/11, Wendy Smoak [EMAIL PROTECTED]:
On Thu, Jul 10, 2008 at 10:18 AM, s[e]th h[o]lth [EMAIL PROTECTED] wrote:
Since monday i'm trying to build a multi-projects archetype without
success...
The first version of the Archetype plugin didn't support creating
multi-module projects
Hi,
This is not possible for now.
The archetype plugin does not do any property in propeties replacement.
Regards,
Raphaël
2008/7/11, Will Gomes [EMAIL PROTECTED]:
Is it possible to provide default value for only a portion of ${package}
property? I would like to do the something like
Hello to everybody. I have this need and I am not sure how to solve it
with maven...
I want Maven to scan some arbitrary files, currently, some Javascript
and HTML files, and insert/replace some given keywords (like cvs or
svn) with some build data, like version, build date, etc.
Any ideas on
Sounds similar to what filters are used for. Look at what filters can
do for you, and perhaps this will be sufficient.
Wayne
On 7/11/08, Alejandro Escalante Medina [EMAIL PROTECTED] wrote:
Hello to everybody. I have this need and I am not sure how to solve it
with maven...
I want Maven to
Never heard about this :D
Let me see what I can find...
thanks,
Alex
On Fri, Jul 11, 2008 at 12:28 PM, Wayne Fay [EMAIL PROTECTED] wrote:
Sounds similar to what filters are used for. Look at what filters can
do for you, and perhaps this will be sufficient.
Wayne
On 7/11/08, Alejandro
Hi,
It pretty much 'just works'. I have a multi module eclipse (Eclipse Europa
version) projects with WTP 2 enabled in the maven-eclipse-plugin
configuration.
No m2eclipse plugin (tried it - but put it aside) - just
maven-eclipse-plugin.
Just download sources of maven-eclipse-plugin - it has
The usual way of doing this is to package the EJB jar together with
its dependencies in an EAR file. In a JEE5 environment the deps can
either go in a lib directory in the EAR or (and for J2EE 1.3/4) be
at the root of the EAR and a manifest classpath entry added to the EJB
jar. This stuff
Néstor Boscán wrote:
Hi
Has anybody worked with a Maven plugin for obfuscation?
You might want to look at the proguard-maven-plugin [0] and search for
the archives of this list for threads relating to it ...
-dirk
[0] http://pyx4me.com/pyx4me-maven-plugins/proguard-maven-plugin/
50 matches
Mail list logo