Hi, I'm receiving this message when building a jnlp project:
No resources found in
D:\desarrollo\ModuloEpicrisisMvn\src\main\jnlp\resources
Skipping artifact of type mar for jnlp
Skipping artifact of type mar for jnlp
Is the a way to recognize .rar extension packages instead of only .jar???
--
Hi,
I tested the latest maven-3.0-alpha-4 release with the apache openjpa trunk
code, and this fails with the following message. But the same works with
maven-2.2.1
$ mvn install
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project - [Help 1]
[ERROR] The project
Hello,
I'm writing a plugin which is generating certain files, and I would like
to add something like a Generated by xxx version 1.2.3 string to each
file it generates. The problem is, how can the plugin know its own
version (without hardcoding it)?
Regards, Csaba
I would go the normal Java way. Store the version in the manifest and then
use the java.lang.Package object, like this:
clazz.getPackage().getImplementationVersion()
There are loads of discussion about this on the net. Here's one:
http://forums.sun.com/thread.jspa?threadID=642761
/Anders
If you get the project inside your plugin you can ask it for the the
plugin map, the key inside the map is groupid:artifactid.
Thus:
/** @parameter default-value=${project} */
private org.apache.maven.project.MavenProject mavenProject;
Good idea, I did that approach and it works great!
Anders Hammar wrote:
I would go the normal Java way. Store the version in the manifest and then
use the java.lang.Package object, like this:
clazz.getPackage().getImplementationVersion()
There are loads of discussion about this on the net.
use maven plugin like this mvn somePlugin:goal -Dparam=value in cmd
the param should be the param of somePlugin supply?
And, the ${variable} in the pom file,it should be a variable which maven can
know it,
it can be a environment variable of OS or a property file configed in the
pom
hope help
Finally it worked ! :) (thanks Alexander!)
Summarizing:
in order to create an executable JAR file that will depend on other
libraries/jars from other internal project or external without including
them inside the JAR's project:
1. use maven jar plugin to define the mail class in the manifest:
Is there a maven plugin/configuration that enables you to run post install
actions?
in rpm.spec file you can specify %post actions such as mkdir -p
/var/spool/app/logs or running bash scripts.
is there an equivalent plugin in maven? or one has to write a new plugin in
order to accomplish this ?
Hello list,
as described in the Standard Directory Layout
(http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html)
configuration files should be placed under src/main/config . But this
directory is not included in the build path. The directories
Is this a Maven question or an Eclipse (WTP) question? The subject says WTP
so I wonder what build path you're referring to.
/Anders
On Wed, Nov 18, 2009 at 13:09, Richard Hauswald
richard.hausw...@googlemail.com wrote:
Hello list,
as described in the Standard Directory Layout
(
I finally got my plugin to compile and when I try to run it on a test
project I get this NPE dump. Notice that none of this code is generated
by me. But is all part of the code that is parsing components.xml (I
think). After the dump I am including the relevant part of my
component.xml.
I'm referring the eclipse build path.
On Wed, Nov 18, 2009 at 1:21 PM, Anders Hammar and...@hammar.net wrote:
Is this a Maven question or an Eclipse (WTP) question? The subject says WTP
so I wonder what build path you're referring to.
/Anders
On Wed, Nov 18, 2009 at 13:09, Richard Hauswald
Ok, wrong mailing list then. Try the m2eclipse one.
/Anders
On Wed, Nov 18, 2009 at 13:44, Richard Hauswald
richard.hausw...@googlemail.com wrote:
I'm referring the eclipse build path.
On Wed, Nov 18, 2009 at 1:21 PM, Anders Hammar and...@hammar.net wrote:
Is this a Maven question or an
I got the link to this mailing list from:
http://maven.apache.org/plugins/maven-eclipse-plugin/mail-lists.html
Can you point me to the right location?
On Wed, Nov 18, 2009 at 2:05 PM, Anders Hammar and...@hammar.net wrote:
Ok, wrong mailing list then. Try the m2eclipse one.
/Anders
On Wed,
http://m2eclipse.sonatype.org/project-information.html
On Wed, Nov 18, 2009 at 14:07, Richard Hauswald
richard.hausw...@googlemail.com wrote:
I got the link to this mailing list from:
http://maven.apache.org/plugins/maven-eclipse-plugin/mail-lists.html
Can you point me to the right
Hi folks.
Any chance I can get an answer to those questions below ?
Thanks.
Fabien
Original Message
Subject: Maven Embedder thread safety
Date: Tue, 17 Nov 2009 14:45:55 +0100
From: Fabien Coppens fabien.copp...@free.fr
Reply-To: Maven Users List
thanks for your help
On Wed, Nov 18, 2009 at 2:12 PM, Anders Hammar and...@hammar.net wrote:
http://m2eclipse.sonatype.org/project-information.html
On Wed, Nov 18, 2009 at 14:07, Richard Hauswald
richard.hausw...@googlemail.com wrote:
I got the link to this mailing list from:
Fabien,
Please understand that you're cutting edge here and not very many people
have this deep insight in Maven 3. Thus, getting an answer could take more
than one day, if you get one at all.
Also, the maven developer list might be more appropriate for questions like
this.
/Anders
On Wed, Nov
You could use the maven-exec or maven-antrun plugins and bind those to
the phase that you need. See
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycl
e.html#Lifecycle_Reference .
If you really need it to run after Maven has installed the artifacts
into the local repo I
If your configuration files need to be in the build path, I suggest to move
them to src/main/resources.
src/main/config is never used AFAIK, so it main be simply a conventional place
to put config files that will not be packaged in the artifact (someone can
correct me if I am wrong).
++
Hi --
I'm trying to track down some other depdendency issues in my project using
dependencies:tree, but am getting errors that a module isn't found.
I have my project set up with a parent pom and a list of modules, each
referencing the parent, etc. Essentially, I have this:
pom.xml #
Likely because dependency plugin has bugs, and I'm suspecting that your
issue is similar/related to this
http://jira.codehaus.org/browse/MDEP-204one already reported.
But it's odd that it doesn't fail for you at module mod_c, as build reactor
should have ordered mod_c to be built/processed before
Thanks for the response. In fact, I have all of my modules listed in depdendency
order in the parent pom, so it's quite odd indeed.
Thanks for the tip -- I voted for the bug, for what it's worth.
jon
On Wed, Nov 18, 2009 at 06:59:41PM +0100, Stevo Slavić wrote:
Likely because dependency plugin
You could try to install your project first, and after that run
dependency:tree.
Regards,
Stevo.
On Wed, Nov 18, 2009 at 7:05 PM, Jonathan Gold jgold...@gmail.com wrote:
Thanks for the response. In fact, I have all of my modules listed in
depdendency
order in the parent pom, so it's quite
All:
We just upgraded from Maven1 1.0.2 to Maven2 2.2.1 and from NetBeans 5.5 to
NetBeans 6.7. With our previous setup we could specify NetBeans 5.5 actions
in the Maven1 1.0.2 build.properties file as follows:
maven.netbeans.exec.debug.single=-Dmaven.mevenide.run.classname=%CLASS%
java:compile
http://wiki.netbeans.org/MavenBestPractices#Binding_Maven_goals_to_IDE_actions
http://wiki.netbeans.org/MavenBestPractices#Binding_Maven_goals_to_IDE_actions
Milos
On Wed, Nov 18, 2009 at 7:37 PM, rickbryant rick.bry...@gxs.com wrote:
All:
We just upgraded from Maven1 1.0.2 to Maven2 2.2.1
Milos,
Thanks for your reply and we are already aware of how to bind NetBeans/Maven
actions within the NetBeans application. However, instead of configuring
NetBeans for this we want to be able to do the same thing declaratively
using properties in the external Maven profiles.xml file. We have
sorry, there is no such way, not an supported one. You can surely configure
a project to have something executed with a given configuration via
profiles, but I suppose that is not what you are looking for. Maven2 is
different from m1 and also the ide integration became more elaborate. Some
AFAIK dependency tree does not run in the reactor. Is mod_d depending
on a SNAPSHOT version of mod_c? Do you have that version installed in
your local repo?
I have used dependency tree many time on a large mutli-module project so
I can attest that it does work in some form.
-Original
Hi folks,
I'm using the Changes plugin to both produce a report for my Site and to
distribute email announcements of changes. The problem is that if we're
not careful to remember to update the changes.xml file itself, then our
release build fails because it doesn't find a change set with the
Jamie --
Thanks for the response. I don't have mod_d depending on a snapshot -- just on
the sibling module itself. Also, I'm not installing versions in the local repo
at the point I'm seeing this problem (and would rather not, actually, since it's
just for development anyway).
If mod_d was
Changes plugin offers Jira and Trac integration. You can filter your
changes.xml if you cannot use current version only. Use ci system to
run the site and changes report so you know if it'll work or not
before the release.
Kalle
On Wed, Nov 18, 2009 at 12:56 PM, David C. Hicks dhi...@i-hicks.org
Good suggestion. I hadn't really thought of using CI to test the
changes.xml. That's primarily because I also have the dependencies
report generated as part of the Site generation. Under normal
circumstances, it takes forever and a day to generate the dependencies
report, since it appears to
Of course...the build will break after a release because the new
changes.xml won't have a section for the new release version.
Come to think of it, will that even work? Since the CI sees a SNAPSHOT
version, and the changes.xml doesn't include SNAPSHOT.
David C. Hicks wrote:
Good suggestion. I
Here's something that happens to me.
I start working on a medium-sized change. It's not worth a branch. However,
I do want to run the old and new versions in parallel.
Now, I have two annoying choices. (a) I can temporarily edit the versions of
all of my modules to stop collisions. (b) I can
On Wed, Nov 18, 2009 at 1:46 PM, David C. Hicks dhi...@i-hicks.org wrote:
Of course...the build will break after a release because the new
changes.xml won't have a section for the new release version.
Come to think of it, will that even work? Since the CI sees a SNAPSHOT
version, and the
Thanks. I'll give it a whirl. We're using Hudson, presently. It's not
the pulling JIRA information that I think is going to give me issues,
though. It's that the changes.xml will have version 1.0.0 but the
current version from the CI point of view is 1.0.0-SNAPSHOT. Unless
the changes plugin
This is not related. The dependency plugin has some issues resolving
things from the reactor and ranges in the following goals only:
copy
unpack
go-offline
resolve-plugins
All the other goals set @requiresDependencyResolution test which will
cause Maven to resolve all dependencies prior to the
Hello,
I have a webapp and two servers and a localhost with diferents databases
configs and I'm trying to do this:
Build war to serverA use contextA
Build war to serverB use contextB
Build war to localhost use contextDefault.
Is it possible? How can I do this?
Thanks!
--
Wagner Santos
Hi,
I'm trying to use mvn archetype:generate to create some projects and
noticed that the AppFuse archetypes are generating errors like:
Downloading:
http://repo1.maven.org/maven2/org/appfuse/archetypes/appfuse-core/2.1.0-M1/appfuse-core-2.1.0-M1.jar
[INFO]
I have a webapp and two servers and a localhost with diferents databases
configs and I'm trying to do this:
In general, you should use profiles for this kind of thing:
http://maven.apache.org/guides/mini/guide-building-for-different-environments.html
Wayne
Is anyone else getting these errors? I've tested it with archetypes
1-9 (all the AppFuse ones) and they're returning the same error
You should probably ask Matt Raible what's going on with these archetypes...
I'm using maven 2.0.10 - have these archetypes changed to now require
higher
We have to use one of the weblogic provided ant task in order to create a
war file.
How will I do this with maven.
I mean should I give the packaging as pom and then produce teh warfile using
antrun ? ( But then how will the produced war file be installed to teh local
repository )
Or should I
was6-maven-plugin requires an installation of WAS on the build machine:
http://mojo.codehaus.org/was6-maven-plugin/usage.html
We want to use this plugin to automate the verification testing by deploying
the ear (on a remote host) as part of the build and run some testcases. It
is not practical
configure your pom to use packaging=pom,
get antrun to build your war,
Then use build-helper-maven-plugin to attach your war file to Maven so
that it can be installed/deployed
http://mojo.codehaus.org/build-helper-maven-plugin/attach-artifact-mojo.html
-D
On Wed, Nov 18, 2009 at 7:21 PM, Sony
Matt has emailed back about this. Would be best to do it from
command-line, using the page he mentions to create the entire command.
-- Forwarded message --
From: Matt Raible
Date: Thu, Nov 19, 2009 at 2:44 PM
Subject: Re: CP: Problem with Appfuse Maven Archetypes
In 2.1.0-M1,
Hi Ben,
I've got the same problem.
As you've noted the Hudson Maven-generated site appears to be the last
pom/module built and not the highest parent. Also, the use of a url based on
${project.groupId} and ${project.artifactId} is ugly very ugly.
Especially when you get two level's deep on
48 matches
Mail list logo