Is there a way to get a project dependencies' javadoc jars?
I expected something quite simple in the line of the dependency-plugin goal
'dependency:sources' but it lokks like there's nothing to get the javadocs
along the sources.
What would be the best way to get it automatically?
cheers,
I believe you can run:
mvn dependency:resolve -Dclassifier=javadoc
That should downlod all the javadocs of your dependencies.
SaM
On Mon, Mar 31, 2008 at 5:00 PM, nodje [EMAIL PROTECTED] wrote:
Is there a way to get a project dependencies' javadoc jars?
I expected something quite simple
a good one Samuel, thanks.
Now that I know where to look, I found it in the doc ;)
cheers
Samuel Le Berrigaud wrote:
I believe you can run:
mvn dependency:resolve -Dclassifier=javadoc
That should downlod all the javadocs of your dependencies.
SaM
On Mon, Mar 31, 2008 at 5:00
I'd like to make sure all developers have a project dependencies' javadocs
sources at disposal in their private repository.
Can I modify the dependency:resolve default behavior to achieve this?
NB: it mustn't be linked to a Maven lifecycle goal.
--nodje
--
View this message in context:
Thanks Henry, you cleared it up for me.. :)
--
View this message in context:
http://www.nabble.com/Couldn%27t-find-a-version-in--6.5-m92322-115--to-match-range--6.5%2C%29-tp16379408s177p16392732.html
Sent from the Maven - Users mailing list archive at Nabble.com.
Normally you got a my-gui pom.xml which uses the webstart plugin and
assembly to build a zip which contains the jnlp and all GUI jars.
Then you use the dependency plugin in my-web pom.xml to unpack that gui
webstart zip into the target/webapp dir.
Take a look at the webstart plugin website, it
On Mon, Mar 31, 2008 at 4:25 PM, hackaton [EMAIL PROTECTED] wrote:
I am using Archiva 1.0.1
I got the following error while I tried to browse the ant-1.6.5.jar
Unable to find project model for [ant:ant:1.6.5].
The ant-1.6.5.pom was actually there and it came from
I started working with the maven-plugin-testing-harness and right now I am
looking for a way to stop the building of the plugin I am testing if the
harness has a failure. So basically I have a plugin A which I am testing with
the harness plugin. If the harness throws an assertion I want the
Hi,
I've looked at the site numerous times trying to dicern how to include the
plugins into the web app pom.xml so it would just be one step as I thought
that is how it would work. So you're saying that I need to first build the
webstart application by specifying an alternative pom.xml file:
The dependency:sources is the better one to modify as the resolve should
stay generic.
-Original Message-
From: nodje [mailto:[EMAIL PROTECTED]
Sent: Monday, March 31, 2008 2:38 AM
To: users@maven.apache.org
Subject: force dependency sources javadocs to be retrieved
I'd like to make
Hi all,
Using the antrun plugin, I'm trying to call an ant task which is launching
the GWT compiler. This ant task is based on the Joachim work at
http://braindump.dk/tech/gwt-task-for-ant/.
Something specific with GWT is that you must include the java source
directory in your classpath before
Can I suggest you to test the Mojo-sandbox gwt-maven-plugin ?
I just upgrade it to fix GWTCompiler issue, and it now comes with a DTO
generator from JPA entities.
Some dependencies are not yet available in central, but the MAVENUPLOAD
request is created for them.
Nicolas.
2008/3/31, Bernard
Hi all,
I have a question about maven2 project (contains submodules), subversion and
eclipse integration.
my maven project structure is like this:
parent
pom.xml
submodule_1
pom.xml
submodule_2
pom.xml
Hello,
Can I manipulate property values in pom.xml? My use case is that I need
to standardize ${os.version} by removing dots, hiphens, suffixes etc.
and then store the result in another property. (I want to avoid doing
that in some wrapper script that then calls maven)
Thanks,
Ittay
--
I believe you'll need to write a plugin that does the manipulation and
then binds the new property back to the MavenProject.
Wayne
On 3/31/08, Ittay Dror [EMAIL PROTECTED] wrote:
Hello,
Can I manipulate property values in pom.xml? My use case is that I need
to standardize ${os.version} by
Assuming you have things configured, you would use mvn deploy to
deploy your jar to a Maven repository. Also, you use mvn install to
install your jar into your local Maven repo cache (in
~/.m2/repository).
You can find plenty of documentation online about mvn deploy.
Wayne
On 3/31/08, author
Hello,
I've found this issue before on the mailing list but I want to report that I
still have it with maven 2.0.8 and the javadoc plugin version 2.4.
I get several errors but all seem related to my test time dependencies in
the subprojects.
For example
cannot find symbol @NonTransactional
Thanks for the help Oliver. This was a much more time-consuming task with
Maven than I had was expecting. We had Jasper errors trying to run the
subsequent WAR on WebLogic, forcing us to revert the tasks to a more manual
process.
For my goal of (1) precompiling the JSPs and (2) removing the
--
View this message in context:
http://www.nabble.com/Is-there-a-way-to-set-my-SNAPSHOT-number--tp16397181s177p16397181.html
Sent from the Maven - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL
Pretend for a moment maven will still be in use in 10 years - you will truly
keep around something generated today?
Additionally, that's just repo1, what about people managing their own
repositories? For organizations managing a live site, a jar artifact or set of
web binaries from a year ago
This is a very valid scenario and one that I need to address before I
formally replace our Ant build with Maven. The build currently runs about
600Mb before it's done and will (fairly) quickly exhaust the diskspace on
our build machine. Even today, the last thing we do is archive the
complete
Hi,
When I do a release:prepare I get an Unable to check for local
modifications (see below).
From the logs it seems the problem come when maven tries to execute svn
--non-interactive status.
However if I execute svn --non-interactive status, it works fine. Any idea ?
Thanks
I have a project with several modules. All of the modules are packaged in a
file named null-1.0.0-SNAPSHOT.
I generated the effective pom for one of the modules and got:
artifactIdfreehost3270-proxy/artifactId
finalName${artifactId}-1.0.0-SNAPSHOT/finalName
Given those two entries, how do
Hello,
Is it possible to configure a module to be excluded from the mvn deploy
phase? For instance, in a single project I have 3 modules:
Domain
Repository
Web
My domain and repository modules are dependencies to other projects, but the
web module is not. The web module tends to be rather
On Mon, Mar 31, 2008 at 12:34 PM, Jon Strayer [EMAIL PROTECTED] wrote:
I have a project with several modules. All of the modules are packaged in a
file named null-1.0.0-SNAPSHOT.
I generated the effective pom for one of the modules and got:
artifactIdfreehost3270-proxy/artifactId
It should be ${pom.artifactId} there.
Thanks Regards,
Logu Rajamanickam
Jon Strayer [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
03/31/2008 02:34 PM
Please respond to
Maven Users List users@maven.apache.org
To
Maven Users List users@maven.apache.org
cc
Subject
null in artifact name
On Mon, Mar 31, 2008 at 12:18 PM, Andrew Uhm [EMAIL PROTECTED] wrote:
Is it possible to configure a module to be excluded from the mvn deploy
phase?
The next version of Maven Deploy Plugin will allow you to configure
individual modules to skip deployment.
Hi,
Have a look at http://jira.codehaus.org/browse/MDEPLOY-63.
It's in the current deploy plugin trunk.
But you must take care and remove this configuration when you release
your project (remove this in a release profile).
--
Olivier
2008/3/31, Andrew Uhm [EMAIL PROTECTED]:
Hello,
Is it
Apologies for the length, but it's mostly sample code...
I am reworking a multi-module project, using Maven 2.0.8, with the
following structure:
master-project (pom)
midlevel-project1 (pom)
midlevel-project2 (jar)
war-project (war)
On Mon, Mar 31, 2008 at 3:34 PM, Jon Strayer [EMAIL PROTECTED] wrote:
I have a project with several modules. All of the modules are packaged in
a file named null-1.0.0-SNAPSHOT.
I generated the effective pom for one of the modules and got:
artifactIdfreehost3270-proxy/artifactId
Hey Raphaƫl, I added the settings to my settings.xml as you described and ran
archetype:create-from-project. The POM file referenced 2.0-alpha-2.
$ mvn -P apache-snapshots archetype:create-from-project
$ cat target/generated-sources/archetype/pom.xml
?xml version=1.0 encoding=UTF-8?
project
If you try to build a module in the middle of a hierarchy, maven does
NOT automatically build the projects it depends on. Simply not
supported. All dependencies must already be in a repository (on the
local machine, or remote) or the build will fail.
You can build in a directory, causing the
That was my question--thanks!
-Original Message-
From: simon [mailto:[EMAIL PROTECTED]
Sent: Monday, March 31, 2008 4:44 PM
To: Maven Users List
Subject: RE: Build child module in multi-module project
If you try to build a module in the middle of a hierarchy, maven does
NOT
I fixed this by performing the update via cvs on the command line. After
that Maven worked fine.
It seems it was hanging on the prompt about host authentication.
On Mon, Mar 31, 2008 at 8:16 AM, Jon Strayer [EMAIL PROTECTED] wrote:
On Sun, Mar 30, 2008 at 11:54 PM, Barrie Treloar [EMAIL
Hello,
I'm in the middle of a project to convert a bunch of ant build scripts
over to maven 2. The section that I'm working with right now is fairly
large (approx. 2600 java files) and the ant scripts take these files and
generates multiple jars from the files. Unfortunately, these jars are
so
I came across OpenMake's meister over the weekend and wondered if anyone
on this list has any experience with or any comparison with Maven? I
was just curious what the maven community's impression/response would be
because they claim to have maven-like features, but they also claim to
go above
On Mon, Mar 31, 2008 at 5:13 PM, Jon Strayer [EMAIL PROTECTED] wrote:
I fixed this by performing the update via cvs on the command line. After
that Maven worked fine.
It seems it was hanging on the prompt about host authentication.
I take that back. mvn scm:checkout works, but the
Milos Kleint wrote:
On Mon, Mar 31, 2008 at 2:57 AM, Dirk Olmes [EMAIL PROTECTED] wrote:
Milos Kleint wrote:
check the toolchains proposal that is supposed to address this issue.
http://docs.codehaus.org/display/MAVEN/Toolchains
The way the toolchain proposal chooses is somewhat doable
I assumed Maven was resolving dependencies using the plugin goal 'resolve'.
If so, what would be a better place to tell Maven to fetch sources along
with the libraries?
Otherwise can a call to dependency:sources be added somewhere in the
lifecycle?
-nodje
Brian E Fox wrote:
The
My PDE build has stopped working after upgrading to maven-eclipse-plugin:2.5
The install-plugin goal is now copying my dependencies as:
com.ibm.icu_3.4.5.jar
instead of (version 2.4 did this)
com.ibm.icu_3.4.5.20061213.jar
This means my
Maven core doesn't use the dependency plugin, actually it's the other
way around. Yes you can bind this to your lifecycle if you want. There's
no way to tell core to retrieve all the sources/javadocs...that's why
the plugin is there ;-)
-Original Message-
From: nodje [mailto:[EMAIL
How do I document this for the plugin?
The plugin should probably default to including interfaces that
implement Remote in the rmi-classes, so that a person doesn't have to
write a plugin configuration for rmic-maven-plugin. But, here's what I
added to buildplugins/plugins/build.
Brian,
I hope the release process can be refined to allow substantial usage of the
RC builds by syncing with the central repo. Since Apache requires a
release to have binding votes, you could publish them for a week or two
and collect feedback rather than rapidly producing RC after RC. Maybe you
43 matches
Mail list logo