You will have to dig into ancient issues if you really insist on using 1.1, this
one's 5 years old:
http://jira.codehaus.org/browse/MPECLIPSE-71
-Lukas
laredotornado wrote:
Hi,
I'm using Maven 1.1. In my root project folder, I have several
sub-projects, including service, model, and
If I create only one build, how can I select the prod or test file? (only
inside the build I can do the include/exclude file option). Then, I need two
builds, one for selecting prod file and one for test (one for profile)
Could you add an example of how to do what you say?
/Paco
-Mensaje
Environment specific files should be read from the class path. Then keep
them out of your bundle (ear for instance) and add them to the environment
(app server for instance) in such a way that they end up on the classpath.
/Anders
On Fri, Nov 13, 2009 at 09:40, Exposito Aguilera, Francisco
Hi
This is easly solved using filters and profiles. Define your environment
specific variables in your filter and subsitute that into your log4j
file. I do this all the time, because the disk drive and path to the
log4j files are different from test to productio.
Hermod
-Original
Hello,
we have the following pom:
project xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd;
modelVersion4.0.0/modelVersion
A quick Internet search gives the answer:
http://old.nabble.com/Maven-assembly-plug-in-and-deploy-not-happening--td18161292.html
/Anders
On Fri, Nov 13, 2009 at 10:35, rgubler2 rgub...@init-ka.de wrote:
Hello,
we have the following pom:
project xmlns=http://maven.apache.org/POM/4.0.0;
Anders Hammar wrote:
A quick Internet search gives the answer:
http://old.nabble.com/Maven-assembly-plug-in-and-deploy-not-happening--td18161292.html
/Anders
Hmm,
I changed
execution
idmake-assembly/id
phasepackage/phase
goals
http://maven.apache.org/plugins/maven-assembly-plugin/plugin-info.html
Regards,
Stevo.
On Fri, Nov 13, 2009 at 10:51 AM, rgubler2 rgub...@init-ka.de wrote:
Anders Hammar wrote:
A quick Internet search gives the answer:
Yes, read the docs.
My earlier link points at info about the deprecated goal (attached). There
is a new one. My apologizes.
/Anders
On Fri, Nov 13, 2009 at 10:55, Stevo Slavić ssla...@gmail.com wrote:
http://maven.apache.org/plugins/maven-assembly-plugin/plugin-info.html
Regards,
Stevo.
Hello,
I'm using the Maven RPM plugin for creating rpms. It's working fine, but
it overwrites the permissions of all files to 664. So for example, an
executable file becomes non-executable. I've added these tags to the
configuration:
defaultFilemode-/defaultFilemode
Great solution!!! Thanks both
I someone has the same issue, visit:
http://www.manydesigns.com/documentation/tutorials/using-maven-profiles-and-
resource-filtering.html
-Mensaje original-
De: hermod.opstv...@dnbnor.no [mailto:hermod.opstv...@dnbnor.no]
Enviado el: viernes, 13 de
OK as far as I can see, the problem is that the RPM Plugin uses Plexus
Archiver version 1.0-alpha-5, which copes files by opening and output
stream and writing to it, and no chmod is done. This is fixed in version
1.0-alpha-12, where the Plexus Archiver explicitly executes the chmod
command
I ran the RPM Plugin with the patched version of the archiver, and it
works. However, the tests fail, so I had to run it with the
-Dmaven.test.skip=true parameter.
Gajo Csaba wrote:
OK as far as I can see, the problem is that the RPM Plugin uses Plexus
Archiver version 1.0-alpha-5, which
Hello,
Every time I make a mvn clean and tghen an mvn package, I receive this
error:
[INFO] [compiler:compile]
[INFO] Compiling 7 source files to
C:\Workspaces\ISSExtranet\ExtranetFrontEnd\target\classes
[ERROR]
Mojo:
org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
FAILED
Hi,
i've tried maven3. it works very well and is faster than previous
version :) great works!
i've found a little problem using resource plugin. In particular
filtering resource doesn't work. I don't know if this is right place
where comunicate the problem.. anyway.
I've prepared a simple
The Maven team is pleased to announce the release of Apache Maven
3.0-alpha-3.
Maven is a project comprehension and build tool, designed to simplify
the process of maintaining a healthy development lifecycle for your
project. You can read more here:
http://maven.apache.org/
Downloads of
Hello,
I have some auto-update functionality built into an application, but
I am looking to integrate it a bit with maven. I'd like to be able to
export the latest snapshot to a location on our website where the
updater can download it. I use nexus as my repo manager, but I have
that
ranet\frontend\util\LocaleBean.java:[6,36] package
com.issworld.es.icefaces.util does not exist
C:\Workspaces\ISSExtranet\ExtranetFrontEnd\src\main\java\com\issworld\es\ext
ranet\frontend\util\DownloadServlet.java:[7,42] package
com.issworld.es.extranet.model.util does not exist
The best
Is maven comparing the some kind of timestamps ? ( If true then it has to
assume that the clocks of both machines are in sync )
Yes, that's what happens.
Wayne
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For
This is a big assumption, as most of the machines will have their times
differing by some amount.
( Maybe it is a good enough assumption as artifacts need not be compared
with a millisecond accuracy )
--sony
On Fri, Nov 13, 2009 at 9:58 AM, Wayne Fay wayne...@gmail.com wrote:
Is maven
I use maven to build a multi module project. My module 2 depends on Module 1
source at compile scope and module 1 tests in test scope.
Module 2 -
dependency
groupIdblah/groupId
artifactIdMODULE1/artifactId
versionblah/version
classifiertests/classifier
First, excellent practice of you to provide a test case project!
I think this is a reactor bug in Maven 2.x. I tested with Maven 2.2.1 and it
doesn't work (it tries to get the sar from the local repo). However, it does
work with the new Maven 3.0-alpha-3 release.
/Anders
On Thu, Nov 12, 2009 at
Added inheritance=true and phase=install, still install doesnt build the
assemblies.
I read about the same issue in some forum last week, did not understand the
explanation correctly. Now trying to find the link, couldnt find it. But
there was some reference about parent pom referring to child,
nexus to grab the latest snapshot and copy this to webserver? Is there a
...
special latest snapshot link available in nexus or must I download the
You do know about the Nexus User list, right? As a percentage of
users, maybe 15% of the Maven Users know anything about Nexus, vs
~100% of those
Thanks for the response Anders. Since mvn install works, it's not too high a
priority for us, and I'm glad that it's probably a bug and not my
misunderstanding of how it's supposed to work. It's a little weird for our
build/release server to do an install to its local maven repo - but not a
I am in the process of porting all of our custom release tools to maven. I have
written a maven-plugin that I intend to invoke directly from the CLI. Part of
its dependencies are profiled (the Starteam SDK, to be exact), in order to
adapt to what binary version the user has installed on its
I have figured out how to deploy all my artifacts to my local Nexus repository,
and I have even set up my CI tool (TeamCity in my case) to deploy the snapshot
artifacts every night.
Because I am not at the release stage yet, I have just been deploying snapshot
after snapshot. This means that
I have a parent pom in my company that defines uber-jars. It was
using the assembly plugin, but I have switched it to use the shade
plugin, so we can combine the spring related files
(META-INF/spring.handlers and META-INF/spring.schemas).
The shade plugin is only used when a profile is active, in
Nexus has a Purge Snapshots job you can schedule. It is pretty flexible.
You can decide how many snapshots you wish to keep around. Ideally, you
should normally only need the latest, but on the rare occasion you may
want to point to an older one. In our environment, the job runs every
night and
Wayne,
Thanks for your reply. I had thought the repo spec was fairly
standardized by maven, so regardless of repo manager I might be able
to accomplish this. I will post it on the nexus user list though for
more input.
I think maybe the simplest solution would be to write a
Also, avoid deploying snapshots if nothing's changes. This is easier
to accomplish if you have a truly modular build with sub-modules
following their independent release cycles rather than a one
monolithic multi-module buid. It'll certainly work if you always
deploy everything just in case, but
You can use this url:
http://host:port/nexus/service/local/artifact/maven/redirect?r=repositoryg=groupIda=artifactIdv=versionp=type
Nexus will handle the SNAPSHOT conversion to latest so you don't need to read
the metadata or anything like that.
Peter
-Original Message-
From: James
Peter,
exactly what I was looking for. Thanks!
-jr
On Nov 13, 2009, at 1:32 PM, Hayes, Peter wrote:
You can use this url:
http://host:port/nexus/service/local/artifact/maven/redirect?
r=repositoryg=groupIda=artifactIdv=versionp=type
Nexus will handle the SNAPSHOT conversion to
On my fairly new Windows XP Pro SP 2 box, I'm running Maven 2.2.1 against
the latest stable JDK (1.6.0_17), and am encountering extraordinarily slow
compile times, even for fairly small projects: they can take 1-3 minutes
apiece, and we have a couple dozen. Searching on the subject turned up
When using Artifactory this scenario can be circumvented, as we never let
bad poms pass through, so you won't end up with html pages in your
repository when a remote repository is broken.
On Thu, Nov 12, 2009 at 11:53 AM, Lahiru Gunathilake glah...@gmail.comwrote:
Hi Stephan,
Actually this is
On Fri, Nov 13, 2009 at 10:29 AM, Larry Shatzer, Jr. lar...@gmail.com wrote:
I have a parent pom in my company that defines uber-jars. It was
using the assembly plugin, but I have switched it to use the shade
plugin, so we can combine the spring related files
(META-INF/spring.handlers and
Well, if the same issue was reported somewhere else and there is a
workaround - go with that!
/Anders
On Fri, Nov 13, 2009 at 16:19, Stephanie Johnson jstephani...@gmail.comwrote:
Added inheritance=true and phase=install, still install doesnt build the
assemblies.
I read about the same
Hi all,
I am trying to convince my group here to start using Maven instead of
Ant. I am preparing a demonstration for them and in the process, I am
trying to create my own archetype. I've done it before but this time I
am stuck at something which I've no idea how to solve.
I want the project
I should mention that compile and install of archetype works fine, I am
encountering all these issues when I am trying to create the archetype
-Original Message-
From: Qureshi,Shahzad [Ontario] [mailto:shahzad.qure...@ec.gc.ca]
Sent: Friday, November 13, 2009 6:46 PM
To:
I noticed that the java.net maven2 repo
contains this jar:
dependency
groupIdcom.sun.jersey/groupId
artifactIdjersey-client/artifactId
version1.1.4/version
/dependency
however, it doesn't contain several of the dependencies of said
jar--like glassfish embedded,
Hello,
I have a project which uses nsis to create an installer, but NSIS
isn't available on all of the platforms which I build the project, and
I'd like it to skip making the NSIS when the makensis isn't available.
I'd like to make the path to NSIS be configurable in the ~/.m2/
Explanation and suggestion in the link was not clear and I couldnt find it
again. Hence came to Maven Users list for any suggestions. Could you please
continue to take a look?
On Fri, Nov 13, 2009 at 3:35 PM, Anders Hammar and...@hammar.net wrote:
Well, if the same issue was reported somewhere
I have a project where there are 5 levels of projects (maven modules each) in
a pom hierarchy:
CommonLibrary.jar - CommonMvc.jar - ProductAndService.war -
ProjectCore.war - ProjectSpecific_1.war
The idea is that the later war file configuration files currently replace
the earlier ones where
Please see here for more on the issues I am facing. Looking not so much as
an issue fix as there may not be one, but a recommendation. This may give
further information, however.
http://netbeans.org/bugzilla/show_bug.cgi?id=154465
http://issues.appfuse.org/browse/APF-645
-
John
44 matches
Mail list logo