John,
were can I download the latest RC? The link you provided doesn't seem to be
working...
Thanks,
Peter
2008/8/19 sam wun [EMAIL PROTECTED]
Can anyone provide me a link of tutorial that I can follow to build a
simple web base application using maven, eclipse 3.4, tomcat and mysql?
Maven:
http://www.sonatype.com/community/definitive_guide.html
For all other topics, I can't help you, I would
P.s.: I guess the reason you want such a book that has it all, is because
you are looking for the fast way.
There is nothing like that. Learning is a process, and this process ALWAYS
takes it's time.
Please - take your time. Seriously read one good book for each topic - and
only then you (might)
I believe this sentence explains how the relate:
All attached artifacts must differ from each other with unique
classifiers.
Brian's the author, so go for his response in this thread.
However, to be frank, I can't follow your use case completely. I think the
confusing thing is that you seem to
Hi,
When I try to release:perform I got java.lang.OutOfMemoryError
javadoc: java.lang.OutOfMemoryError: Please increase memory.
For example, on the Sun Classic or HotSpot VMs, add the option
-J-Xmx
such as -J-Xmx32m.
How can I increase the heap size for the javadoc?
--
View
http://jira.codehaus.org/browse/MNG-3722 created for this, with a simple
demo project.
2008/8/19 nicolas de loof [EMAIL PROTECTED]
I get an issue with 2.0.10 RC9 and CXF plugin -this works with 2.0.9 :
[INFO] [cxf-codegen:wsdl2java {execution: generate-sources}]
19 ao¹t 2008 11:08:16
You can download it here :
http://people.apache.org/~jdcasey/stage/apache-maven/2.0.10-RC9/org/apache/maven/apache-maven/2.0.10-RC9/
Marc.
Peter Horlock a écrit :
John,
were can I download the latest RC? The link you provided doesn't seem to be
working...
Thanks,
Peter
Perhaps by taking a look at the documentation? See the Javadoc plugin
documentation page [1] and then especially the additionalJOption
option.
[1] http://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html
Hth,
Nick Stolwijk
~Java Developer~
Iprofs BV.
Claus Sluterweg 125
2012 WS
Nick Stolwijk wrote:
documentation page [1] and then especially the additionalJOption
Doesn't even need to. There is a maxmemory option.
Stefan
[1] http://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html
Hth,
Nick Stolwijk
~Java Developer~
Iprofs BV.
Claus Sluterweg 125
Hi,
I've run into a problem with this rc. When using the
org.codehaus.cargo:cargo-maven2-plugin:0.3.1 plugin (the start goal), it
can't retrieve my JBOSS_HOME env. It works with mvn 2.0.8 and 2.0.9, but
with 2.0.10-RC9 the plugin gets 'null' for some reason.
Here's my plugin configuration from
Thanks all,
I didn’t realize the javadoc plugin is used behind screen, this work for me
reporting
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-javadoc-plugin/artifactId
configuration
maxmemory512M/maxmemory
Hello,
Is there a way to use the release plugin in batch mode, when using a
snapshot version of this plugin ?
In interactive mode, the plugin asks for a confirmation when it detects
that a snapshot version is being used :
This project relies on a SNAPSHOT of the release plugin. This may be
Also tried the 1.0-alpha-5 version of the cargo maven2 plugin (with mvn
2.0.10-RC9). Same problem.
/Anders
Anders Hammar wrote:
Hi,
I've run into a problem with this rc. When using the
org.codehaus.cargo:cargo-maven2-plugin:0.3.1 plugin (the start goal), it
can't retrieve my JBOSS_HOME
Hi Paulo,
Paulo Pinto wrote:
Hi everyone,
I am having a few problems with overlays while using the war packaging
plugin.
I have a war project and I intended to start two applications (war) using
the cargo
plugin, from inside this project.
Now, in order for this to function, the
In Apache JAMES we have a multimodule project depending on javamail.
We want to easily switch from sun's javamail to geronimo javamail and
back for testing purposes.
What is the maven best practice for this?
I don't want to go through all of our modules dependencies and alter
their
there' s no solution yet for this problem, yours is probably the easiest option
see http://jira.codehaus.org/browse/MNG-2316
On Wed, Aug 20, 2008 at 12:24 PM, Stefano Bagnara [EMAIL PROTECTED] wrote:
In Apache JAMES we have a multimodule project depending on javamail.
We want to easily switch
Hi
I need to assemble a tar.gz artifact with directories containing some
symbolic links.
I'm using filesets in assembly 2.2-beta-2to copy the source directories, but
the sym links are not replicated (as they would be if I used tar):
If the symlink is resolvable then the link is resolved and
Hi Stefano,
Stefano Bagnara wrote:
In Apache JAMES we have a multimodule project depending on javamail.
We want to easily switch from sun's javamail to geronimo javamail and
back for testing purposes.
What is the maven best practice for this?
I don't want to go through all of our
Hi Kevin,
Kevin Kingsbury wrote:
Thanks Jorg for the pointer to using multiple executions of the compiler.
I tried setting that up
and I see it try to run, but the it says the classes are already up to
date. I am assuming that this
is because it is still looking at the same
I don't believe so - for this purpose it's probably best to host your
own release of the release plugin.
2008/8/20 HUE Edouard IT[EMAIL PROTECTED] [EMAIL PROTECTED]:
Hello,
Is there a way to use the release plugin in batch mode, when using a
snapshot version of this plugin ?
In interactive
Because the code is in Java, it probably isn't possible to distinguish
symlinks from files.
One (albeit roundabout) alternative is to use assembly:directory, and
then exec tar to produce the assembly.
- Brett
2008/8/20 Simon Spacey [EMAIL PROTECTED]:
Hi
I need to assemble a tar.gz artifact
Hi,
In Eclipse 3.4, I have created a Web Project with the following
commands in Eclipse:
Go to File-New-Other, then expanding Web-Dynamic Web Project.
Now I want to create its spporting classes, how can I do that in Eclipse
3.4?
I want to automatically generate getters and setters for
Hi,
For me the cargo plugin works with Maven 2.0.10-RC9.
Here is my plugin configuration :
plugin
groupIdorg.codehaus.cargo/groupId
artifactIdcargo-maven2-plugin/artifactId
configuration
waitfalse/wait
container
containerIdtomcat5x/containerId
Hi all.
My situation is the following. I have a multi-module project that
already has 4 different profiles, that determine which filter will be
used. Now, I have a new module for this project that is the
integration-tests module, and I only want to run this module when a
NEWLY created profile is
Hi,
It looks like properties set within Maven are retrieved correctly, but
environment variables set outside (like JBOSS_HOME in my case) isn't
retrieved.
In your case, could you please try using some env variable like
CATALINA_HOME instead of tomcat.local.home?
This does work with mvn 2.0.8
Resolved.
Thanks Alfred and Michael.
2008/8/19 Michael McCallum [EMAIL PROTECTED]
It unfortunately happens when there is a conflict as well... so if you have
two ranges that cannot be resolved you get an OverConstrainedException
which
gets hidden with -X
do mvn -X and you will see the
Hello,
I encounter another problem with the site report generation, this time
with the Javadoc generation. When run by Continuum on one of our Unix
boxes, the site generation fails because the plugin seems to insisting
on /bin/bash. Bash is not installed on our production environment unix
boxes,
What you came up with is about the only option that really works right now.
You could add a sunmail profile that changes those properties so you can
run:
mvn install
for geronimo, and:
mvn install -Psunmail
for Sun mail. That would at least avoid having to edit the pom each time.
Dan
On
Thanks for the response.
I went ahead and implemented the second option while I was waiting to
hear back on this. It works like a champ.
Thanks again
Kevin
On 8/20/08, Jörg Schaible [EMAIL PROTECTED] wrote:
Hi Kevin,
Kevin Kingsbury wrote:
Thanks Jorg for the pointer to using multiple
Is there any way of combining the multiple steps of creating an archetype
from a project so that the archetype is automatically installed/deployed to
the repository.
The website suggests the following to create and install a new archetype:-
$ mvn archetype:create-from-project
$ cd
http://people.apache.org/~jdcasey/stage/apache-maven/2.0.10-RC9/org/apache/maven/apache-maven/2.0.10-RC9/
The first attempt at typing that link apparently wound up wrong.
Apologies for that.
-john
Peter Horlock wrote:
John,
were can I download the latest RC? The link you provided doesn't
I'll look into it, but do you happen to have a full-scale test project
you could use to file a JIRA issue? It would be simplest if I have
something that's supposed to just work that I can run in the debugger
to figure out where it's coming up with the null.
I'll see what I can do with this
I guess the create-from-project is just a kickstart. After that, you
can copy the target/generated-sources/archetype/ to your main
directory and keep that up to date (and maybe even adding some
examples or such) and check that in alongside your project. That way
you can add it to your parent pom
On Wed, Aug 20, 2008 at 6:54 AM, rmatthews [EMAIL PROTECTED] wrote:
I would like to keep an example project in our code repository alongside our
framework code. When the whole project is built it would be good if Maven
were to create an archetype from the example and then install that
On Wed, Aug 20, 2008 at 8:53 AM, Carlos Alonso [EMAIL PROTECTED] wrote:
My situation is the following. I have a multi-module project that
already has 4 different profiles, that determine which filter will be
used. Now, I have a new module for this project that is the
integration-tests module,
Hi,
I'm following the instruction on
http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/module-binary-inclusion-simple.html
I would like to create a directory with 2 subdirecties of my child modules.
The assembly plugin runs, but it seems that the ${artifactId}
Hi
I have a maven project that consist of three modules.
- core
- web
- acceptance
The core builds to a jar, and the web module depends on it. The web module
builds to a war file.
To my question. My acceptance module consist of htmlunit tests. How can I
configure it to use the war file,
Hi,
I ran 'mvn site' and the 'Dependencies' report gives a lot of useful
information. However, under the heading 'Dependency Repository Locations' I
see 'apache.snapshots' and 'central', although I configured my settings.xml
to use my repository manager (Archiva) exclusively. How can I change the
In the 1.0 release due out this week, we have a rest service that does
this for you. We actually needed to build it so we could provide a
download link from the search screen for snapshots. You can read more in
Tamas' email:
http://www.nabble.com/Re%3A-Nexus-vs-Artifactory-search-results-view-p19
I thought about it, but it remains a short term fix. Same problem will
occure each time one will want to use a snapshot version of the plugin.
I hoped there would be a switch to skip this check...
Brett Porter a écrit :
I don't believe so - for this purpose it's probably best to host your
own
Since you are using a snapshot version of the plugin that you've
built, could you change the source to change the default also?
- Brett
2008/8/21 HUE Edouard IT[EMAIL PROTECTED] [EMAIL PROTECTED]:
I thought about it, but it remains a short term fix. Same problem will
occure each time one will
The point is, that as we can easily create the archetype from an existing
project then the archetype will always be up-to-date. If we simply use it
to start the process then such an archetype will drift out of sync with
the original source. Besides, the created archetype from the source is all
On Wed, 20 Aug 2008, Anders Hammar wrote:
Hi,
It looks like properties set within Maven are retrieved correctly, but
environment variables set outside (like JBOSS_HOME in my case) isn't
retrieved.
In your case, could you please try using some env variable like
CATALINA_HOME instead of
Maven newbie here trying to convert my Eclipse project to Maven.
I tried using the version 99 of Commons Logging as documented here (so
that I can use logback and slf4j instead):
http://day-to-day-stuff.blogspot.com/2007/07/no-more-commons-logging.html
which was just recently referenced on
I didn't build it myself, I got it from Apache's snapshot repository at
http://people.apache.org/repo/m2-snapshot-repository/ :) I think I will
submit a feature request.
Edouard
Brett Porter a écrit :
Since you are using a snapshot version of the plugin that you've
built, could you change
It's telling you that 5 of the artifacts you listed are unavailable in
the repositories given for the project. If you try browsing to the URLs
it's attempting to grab, you will probably get 404's for them...
-john
Rusty Wright wrote:
Maven newbie here trying to convert my Eclipse project to
Hi Andres,
Thanks for your valuable feedback again. You are right that i didn't
differentiate the geronimo plugin and maven plugin well in my reply.
I think you translated my intention well tho :-)
We have a car maven plugin that is developed at geronimo (David Jencks
did most of, if not all
i am using a plugin that has dependencies that i have installed locally to my
repository - i can browse to the jar file in my repo yet when i run the goal
i am getting a build error
C:\work\SRC\trunk\mpi-dbmvn jsmooth:jsmoothcompile -e
+ Error stacktraces are turned on.
[INFO] Scanning for
Thanks for the tip - Interestingly enough inherited is valid under both
plugin and execution, but only works under plugin.
[ worked ]
!-- parent pom --
plugin
artifactIdmaven-antrun-plugin/artifactId
inheritedfalse/inherited
executions
execution
idparent/id
Hi,
Looking at the documentation for the JavaDoc plugin it does not provide that
configuration at this stage. I might see if I'm able to create a patch
myself for maven-javadoc-plugin 2.5-SNAPSHOT but not sure if I'll be free
to.
Anyway I've raised improvement issue with maven javadoc.
The service is already on repository.sonatype.org. So, for example, to get
the LATEST nexus-indexer (g: org.sonatype.nexus a: nexus-indexer), you need
an URL like this:
http://repository.sonatype.org/service/local/artifact/maven/redirect?r=snapshotsg=org.sonatype.nexusa=nexus-indexerv=LATEST
The
Ok, thanks. I'm still trying to figure out what's wrong. I've got it
down two. One of them I'm not even listing as a dependency.
John Casey wrote:
It's telling you that 5 of the artifacts you listed are unavailable in
the repositories given for the project. If you try browsing to the
URLs
The Maven team is pleased to announce the release of the Maven Plugin
Tools, version 2.4.3
The Maven Plugin Tools contains the necessary tools to be able to
produce Maven Plugins in a variety of languages.
http://maven.apache.org/plugin-tools
http://maven.apache.org/plugins/maven-plugin-plugin
Sorry, but this list is for discussing the use of Maven. I'd suggest
looking for a more general Java/Eclipse forum to get an answer to this
type of question.
- Brett
2008/8/20 sam wun [EMAIL PROTECTED]:
Hi,
In Eclipse 3.4, I have created a Web Project with the following
commands in
I think you want Cargo. They have some archetypes for creating a
project such as the acceptance one:
http://cargo.codehaus.org/Maven2+Archetypes
- Brett
2008/8/21 Johan S [EMAIL PROTECTED]:
Hi
I have a maven project that consist of three modules.
- core
- web
- acceptance
The core
I think it is just listing what is configured in the POM. If you
happen to direct those requests through a repository manager in your
environment, it won't be reflected in the report, even if they are
sourced from the repo manager.
Cheers,
Brett
2008/8/21 Wim Deblauwe [EMAIL PROTECTED]:
Hi,
I
if you run with -X, you'll find the classpath used for the plugin.
Does one of them contain the missing class?
- Brett
2008/8/21 kkmca [EMAIL PROTECTED]:
i am using a plugin that has dependencies that i have installed locally to my
repository - i can browse to the jar file in my repo yet when
Yes, I think so.
2008/8/21 gotama [EMAIL PROTECTED]:
Thanks for the tip - Interestingly enough inherited is valid under both
plugin and execution, but only works under plugin.
[ worked ]
!-- parent pom --
plugin
artifactIdmaven-antrun-plugin/artifactId
inheritedfalse/inherited
I installed the jar file into the repository using mvn install like specified
in
http://maven.apache.org/plugins/maven-install-plugin/install-file-mojo.html
When trying to install or package the project, the following error message
is still there:
The error message is:
Error message: Missing:
59 matches
Mail list logo