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 thre
your spring xml
> files 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". W
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 eas
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
g/build-helper-maven-plugin/
>
> jp4 schrieb:
>> I use the assembly plugin to create an executable jar file that contains
>> all
>> of it's dependencies. The file name is
>> foo-1.0-SNAPSHOT-jar-with-dependencies.jar. I would like to be able to
>> install thi
ST.MF
assembly
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 Nabbl
hanks,
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: [
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
?
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,
>> htt
make 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 -
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
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 pom. I have encountered two issues and I
was hopin
This is exactly what I was looking for. I didn't realize that you could
include a pom 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
So how to you use this abstract jdbc pom file? Do you include it as a
dependency in your data access modules?Do you use it as the parent of
your data access modules?
jp4
Eric Redmond wrote:
>
> Yeah, I do this quite a lot - for example, to abstract jdbc
> implementations
>
thoughts our ideas would be greatly appreciated.
jp4
jp4 wrote:
>
> I have been doing some reading and it looks like the
> section will allow me to achieve part of what I want to do with reusing
> plugin configurations.
>
> jp4
>
> jp4 wrote:
>>
>> I hav
I have been doing some reading and it looks like the
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 th
The solution may be that I have 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
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
&g
ata
access 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
Sen
ach things. 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.
Th
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
e 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
; OK I've also been waiting for an answer on this. Anyone know?
>
> On 1/15/07, 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, n
?
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
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 t
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
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-repos
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 me
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
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 at
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
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...
>> H
org.codehaus.mojo
cobertura-maven-plugin
Any ideas? Looks like the test cases get run during instrumentation?
Thanks,
jp4
Wendy Smoak-3 wrote:
>
> On 11/3/06, jp4 <[EMAIL PROTECTED]> wrote:
>
>> I am using the surefire report plugin as well as co
I am 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
>&
now I 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 Nabbl
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
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
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
R);
}
}
Wendy Smoak-3 wrote:
>
> On 11/3/06, jp4 <[EMAIL PROTECTED]> wrote:
>
>> I have been searching for the Maven2 equivalent of the ant task
>> but
>> I can't seem to find it. Can someone help me out with a link?
>
> Everything in Maven centers
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,
I have been searching for the Maven2 equivalent of the ant 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 - Users ma
NOT on
unit test failure. Basically, I was hoping to run all of our unit tests,
run a site generation report and then fail the build. I was hoping that
this would give us a much easier way to view unit test errors (via site
docs). Does anyone know how to do this?
Thanks,
jp4
--
View this
the SUPER 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
s a plugin); You can find 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
>> lo
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.nabbl
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.
How do you refer to the new plugin in your pom.xml file? I thought that a
project of packaging war 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 wh
eExecutor.bindLifecycleForPackaging(DefaultLifecycleExecutor.java:1011)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:975)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleE
48 matches
Mail list logo