I was wondering if there is an easy way to skip javadoc generation while
invoking
mvn clean deploy site site:deploy
I have a project with a tremendous amount of javadoc. Generation of site
docs takes forever, I want the other reports, but javadoc isn't cruical.
Thanks,
jp4
--
View
Wendy,
Thanks, I neglected to check the parent pom file that all of my project
parents inherit from. I commented out the javadoc plugin section.
Thanks,
John
Wendy Smoak-3 wrote:
On 7/22/07, jp4 [EMAIL PROTECTED] wrote:
I was wondering if there is an easy way to skip javadoc generation
with the parameters value during build, instead of spring having to
resolve it.
jp4 wrote:
I have found a solution that works well for me. I use spring in
conjuction with a bootstrap variable called env. When I start my
container in development env=dev in production it's env=prod. I then use
)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:975)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:453)
Thanks,
JP4
--
View this message in context:
http
How do you refer to the new plugin in your pom.xml file? I thought that a
project of packaging typewar/type will automatically use the default war
plugin... How did you override this behavior?
jp4
Max Cooper wrote:
My project was using a modified version of the war plugin for a while. I
I have patched the Maven War Plugin locally and installed it into my local
repository with mvn install. I bumped the version from 2.0.1 to 2.0.2. It
works fine when installed in the local repository, but when I upload to the
development repository, other developers can't seem to get it to work.
this and it
works with a hard-coded location, but I need a better solution. Is there a
way to get a specific dependency location to an ant script... For example,
could I specify this jar file as a dependency and pass it's location to the
ant script?
jp4
--
View this message in context:
http://www.nabble.com
the repository location via the
localRepository property.
Eric
On 9/19/06, jp4 [EMAIL PROTECTED] wrote:
Does anyone know if there is a variable which contains the location of
the
local repository. I am working with jibx and in order to create my jibx
binding classes, I have to extract
POM?
Thanks,
jp4
--
View this message in context:
http://www.nabble.com/Method-for-synching-Devlopment-Repository-to-Remote-Repository-tf2548291s177.html#a7102345
Sent from the Maven - Users mailing list archive at Nabble.com
I have been searching for the Maven2 equivalent of the ant depend task but
I can't seem to find it. Can someone help me out with a link?
--
View this message in context:
http://www.nabble.com/Maven-equivalent-of-ant-%3Cdepend%3E-optional-task-tf2568454s177.html#a7159353
Sent from the Maven -
pom file to do this, but I don't want all of my projects to include
everything in the parent pom. Is there a way to import or include a
dependency in your pom... So for example, define a file with common-lang
dependency and include that in all pom files that need to reference it?
Thanks,
jp4
:
On 11/3/06, jp4 [EMAIL PROTECTED] wrote:
I have been searching for the Maven2 equivalent of the ant depend task
but
I can't seem to find it. Can someone help me out with a link?
Everything in Maven centers around the build lifecycle.
http://maven.apache.org/guides/introduction
Exactly what I was looking for and it works quite well!
Thanks,
jp4
Wendy Smoak-3 wrote:
On 11/3/06, jp4 [EMAIL PROTECTED] wrote:
I have a client with many different maven projects. I am trying to
figure
out a way to manage the versions of common libraries across these
projects
I have used the maven assembly plugin before to build an executable jar file
that contains all of the necessary runtime libraries. In order to run the
app all you have to do is type java -jar foo.jar arg1 arg2...
If this sounds like something you want, I can post the pom.xml
jp4
David
I was hoping to get a nightly build so that I can see if my unit test cases
will run twice when I run mvn site. I am hoping it's fixed in the new
version, but I haven't been able to find a link to the nightly builds.
Thanks,
jp4
--
View this message in context:
http://www.nabble.com/Where
know
why the build takes so long. Any feedback would be greatly appreciated.
jp4
--
View this message in context:
http://www.nabble.com/mvn-site-running-test-cases-twice-tf2571386s177.html#a7168325
Sent from the Maven - Users mailing list archive at Nabble.com
not sure.
Thanks,
jp4
Wendy Smoak-3 wrote:
On 11/3/06, Wendy Smoak [EMAIL PROTECTED] wrote:
On 11/3/06, jp4 [EMAIL PROTECTED] wrote:
I was hoping to get a nightly build so that I can see if my unit test
cases
will run twice when I run mvn site. I am hoping it's fixed in the new
?
Thanks,
jp4
Wendy Smoak-3 wrote:
On 11/3/06, jp4 [EMAIL PROTECTED] wrote:
I am using the surefire report plugin as well as coberatura, javadoc and
checkstyle.. When I do a mvn site it runs my test cases twice.
Does it happen if you remove the Cobertura plugin? We use surefire,
javadoc
would want to clean, compile, instrument, test, install create site
docs. Has anyone found a workaround?
Thanks,
jp4
Wendy Smoak-3 wrote:
On 11/7/06, jp4 [EMAIL PROTECTED] wrote:
I removed the coberatura plugin and unit test cases run only once...
Here is
what I have in my pom
I am interested in what you did. We use CC as well. Any info you can
provide would be greatly appreciated. This is very important as we have a
huge codebase and would like to identify all errors every night (NOT JUST
THE FIRST ONE!)
Thanks,
jp4
Jon SlinnHawkins wrote:
TestFailureIgnore
and integration
tests. Has anyone done this successfully, if so can you please share your
pom file?
thanks,
jp4
--
View this message in context:
http://www.nabble.com/Using-Cargo-and-Cobertura-to-get-in-container-code-coverage-tf2639446s177.html#a7367963
Sent from the Maven - Users mailing list archive
merge the unit test case files with the ones that run in container?
thanks,
jp4
--
View this message in context:
http://www.nabble.com/Deploying-clover-instrumented-war-using-cargo-tf2644958s177.html#a7383666
Sent from the Maven - Users mailing list archive at Nabble.com
if anyone has had the same issue, and if so how did you resolve
it? Like I said before, all of the artifacts are built properly see below,
but the foo-1.0-clover.aar isn't installed in the repository properly.
target/foo-1.0.aar
target/clover/foo-1.0-clover.aar
Thanks,
jp4
--
View this message
. This works fine if I do a mvn clean then a
mvn install, but if I do a mvn clean install, the last thing that happens is
the delete. Is there any way to have this run before any of the modules are
built?
Thanks,
jp4
--
View this message in context:
http://www.nabble.com/Clearing-out-local-repository
it via the command line like -Dmaven.test.skip=true.
Thanks,
jp4
--
View this message in context:
http://www.nabble.com/Can-you-compile-test-cases-without-running-them-tf3016005s177.html#a8375655
Sent from the Maven - Users mailing list archive at Nabble.com
I just ran mvn clean install -Dtest=foo where foo is not a valid test and
this seems to do what I want. If anyone has a cleaner way, please let me
know.
jp4 wrote:
I would like to be able to compile my test cases without actually running
them. I use maven.test.skip=true but that seems
?
Thanks,
jp4
--
View this message in context:
http://www.nabble.com/Multi-Project-Module-Order-tf3021371s177.html#a8391433
Sent from the Maven - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED
, jp4 [EMAIL PROTECTED] wrote:
Recently I have had some issues with version management where we upgrade
a
particular artifact to a new version, but some how, not all projects
reference the new version. I have tried to mitigate this by making use
of
the dependencyManagement section which
the site documentation to be fully integrated so
that I can easily navigate to sub modules and view aggregated reports. Any
help would be greatly appreciated.
Thanks,
jp4
--
View this message in context:
http://www.nabble.com/Site-Documentation-in-a-Multi-Project-tf3065703s177.html#a8526690
Sent
clovered
files are not deployed to the development repo.
Any insight would be greatly appreciated.
Thanks,
jp4
--
View this message in context:
http://www.nabble.com/Are-clovered-files-supposed-to-be-deployed-to-the-remote-repo--tf3143783s177.html#a8714082
Sent from the Maven - Users mailing
. It is kinda of a chicken and
egg scenario. I want the power of inheriting dependencies from
dependencyManagement as well as plugin configurations, but I have to have a
better way to deal with updates to the maven-build pom.xml file. Any
suggestions would be greatly appreciated.
Thanks,
jp4
project to inherit from both the data access pom as well as the
projectA pom. Is there any way to do this? Or is there a different
approach to achieve the desired results?
Thanks,
jp4
--
View this message in context:
http://www.nabble.com/POM-Inheritance-tf3164691s177.html#a8779117
Sent from
I still haven't found a good solution for this and I was hoping to spark some
discussion with a follow up post.
jp4 wrote:
I was wondering if there is any way to achieve multiple pom inheritance
with maven. I have created several pom abstractions (i.e. data access
which includes
to redefine the spring and hibernate
dependencies as well as plugins in each data access project. I can do that,
but I wanted to explore a more elegant solution before resorting to that.
Any help would be greatly appreciated.
Thanks,
jp4
--
View this message in context:
http://www.nabble.com
I have been doing some reading and it looks like the pluginManagement
section will allow me to achieve part of what I want to do with reusing
plugin configurations.
jp4
jp4 wrote:
I have posted about this question several times before but haven't
received many responses. I am hoping
thoughts our ideas would be greatly appreciated.
jp4
jp4 wrote:
I have been doing some reading and it looks like the pluginManagement
section will allow me to achieve part of what I want to do with reusing
plugin configurations.
jp4
jp4 wrote:
I have posted about this question
This is exactly what I was looking for. I didn't realize that you could
include a typepom/type as a dependency. This makes things much cleaner.
Thanks again,
jp4
Eric Redmond wrote:
Abstract it? I don't understand. The JDBC pom is just a seperate project.
Like this:
JDBC POM
I am trying to find a way to specify the next version to be used by the maven
release plugin on the command line.
Basically, I have a project that is currently at version 1.0.9-SNAPSHOT and
would like the next release to be 1.1.0-SNAPSHOT after the 1.0.9 version is
released. I saw another
I have a project (common-data-access) of type pom that is used to group a set
of common libraries for reuse. In this case, I group all libraries that I
need for a data access project. In each data access project in include
common-data-access as typepom/type. I have encountered two issues and I
Wayne,
Thanks for the reply. What you have described makes sense. I guess I am
just looking for a way to avoid including the same test and provided scoped
dependencies in multiple projects that follow essentially the same design
patterns.
Thanks,
jp4
Wayne Fay wrote:
What you're
sure that the
release versions are not overwritten. Right now, they are both writing to
the same location, which is not optimal.
Any ideas?
Thanks,
jp4
--
View this message in context:
http://www.nabble.com/Versioning-Site-Documentation-tf3648383s177.html#a10190677
Sent from the Maven - Users
?
Thanks,
jp4
Wendy Smoak-3 wrote:
On 4/25/07, jp4 [EMAIL PROTECTED] wrote:
I was wondering if there is a way to deploy the site documentation to two
different locations so that it is versioned properly...
For example,
http://www.foo.com/project1/1.0-SNAPSHOT
http://www.foo.com/project1
I have found a solution that works well for me. I use spring in conjuction
with a bootstrap variable called env. When I start my container in
development env=dev in production it's env=prod. I then use spring to
resolve properties based on the environment. For example, a property file
would
,
jp4
--
View this message in context:
http://www.nabble.com/Filtering-Changes-Jira-Report-By-Version-tf3719358s177.html#a10406319
Sent from the Maven - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL
/plugin
/plugins
Thanks,
jp4
--
View this message in context:
http://www.nabble.com/Install---Deploy-an-artifact-generated-with-Assembly-Plugin-tf3960408s177.html#a11238491
Sent from the Maven - Users mailing list archive at Nabble.com
Tim,
That was exactly what I was looking for.
Thanks!
John
Tim Kettler wrote:
John,
you can attach the jar file with the attach:artifact goal from
build-helper-maven-plugin [1] over at the mojo project.
-Tim
[1] http://mojo.codehaus.org/build-helper-maven-plugin/
jp4 schrieb
46 matches
Mail list logo