Hi all,
When we create a proxy connector, for releases and snapshot we can select
ignore or disable.
What is the difference ???
cheers,
Arnaud
--
..
Arnaud HERITIER
..
OCTO
Hi,
Apparently this does not work for my project. It stil does not update the
versions in the dependencies. Using either $(pom.version} or $(project.version}
with our without dependencyManagement still does not solve the issue.
Just to be sure:
project Main
module A (dependent on module B)
Hi all,
I've noticed that if I modify then deploy a parent pom with packaging pom
(without changing its version), then If another person run mvn compile on a
child project of that parent (with updatePolicy set to always)) maven
doesn't see the modified parent pom.
How is it possible?
Perhaps the
Hi,
Recently, I developed a Java-based maven plugin intended to run in the test
phase of the maven build instead of the standard surefire-plugin. It has
just one goal, 'test'. When I configured my project's POM to include my
plugin for the testing phase and made sure the POM doesn't refernce
Hi,
as Brett told you on the dev list, just use the skip parameter to
disable surefire execution. The surefire plugin is bound to the
lifecycle by the default packagings and can't be removed.
-Tim
Kalyan Akella schrieb:
Hi,
Recently, I developed a Java-based maven plugin intended to run in
Hi,
Don't put ANY versions in child poms EXCEPT for the parent version. If
module B depends on module A, declare the version of module A and B in the
common parent pom dependency management section (your main project if I
understand right), with ${project.version}. There should only be one
Why does nobody answer? I haven't asked the moon...
However, I have encountered another strange problem.
It is the second time that I try to schedule a NIGHTLY build, I do a svn
change before going home (18:00) so as triggering a nightly build set in
this way:
NIGHTLY goal: clean deploy site
Raffaele a écrit :
Why does nobody answer? I haven't asked the moon...
hehe, we reply when we can ;)
However, I have encountered another strange problem.
It is the second time that I try to schedule a NIGHTLY build, I do a svn
change before going home (18:00) so as triggering a nightly
Hi,
Ok I've figured out, to be able to generate module website in the
stageDirectory/module-A
I've to overwrite the distributionManagment in the first parent-A. If you
put the distributionManagment in the
parent-B maven uses inheritance and the path will be
stageDirectory/parent-A/module-A.
Yes, i'm running 1.1-alpha-2.
I'll retry with latest version as you suggest then I'll let you know.
Thanks again, regards.
Raffaele
Emmanuel Venisse wrote:
Raffaele a écrit :
Why does nobody answer? I haven't asked the moon...
hehe, we reply when we can ;)
However, I have
Raffaele a écrit :
Hi all,
because of lack of documentation, and as you can see in the many threads in
this mailing list about the above subjcet, I ask here to Continuum team to
help all of us to use correclty without doubts and surprises the project
group build definition and project build
Hi all,
I reply to this thread because I'm also using artifactory and I have a
similar problem, this one:
I have a multi module project:
toolkit-parent - pom with packaging pom NOT VERSIONED ON SVN
|-- common - pom with packaging jar VERSIONED ON SVN
|-- domain
I did delete all the versions in the coordinates and dependencies of the
childpom's (except for the parent which is an explicit definition --
0.0.1-SNAPSHOT not ${project.version}) and added
dependencyManagement for all modules with ${project.version}.
However performing a release:prepare still
Hi,
Here is an multi-module example :
project-parent/
module1/
module2/
The module1 generates 2 artifacts, one with classifier client.
The module2 depends on this artifiact client.
When I run : mvn install from project-parent, during compilation of the
module2, classes from the
module1
Each time I have encoutered this behaviour, i used Java ANT Task (antrun
plugin) to launch sources generation or a plugin calling a external class
(eg. WSDL2Java)
Saloucious wrote:
Hi,
Here is an multi-module example :
project-parent/
module1/
module2/
The module1
Raffaele a écrit :
Hi all,
I reply to this thread because I'm also using artifactory and I have a
similar problem, this one:
I have a multi module project:
toolkit-parent - pom with packaging pom NOT VERSIONED ON SVN
|-- common - pom with packaging jar VERSIONED
Hi,
I try to use the exclude syntax for the surefire plugin, exactly as
described in
http://maven.apache.org/plugins/maven-surefire-plugin/examples/inclusion-exclusion.html
Now, I have this added to the plugins section of the build section:
plugin
Hi!
On 28. October 2007 jdijkmeijer wrote:
Hi i'm quite new to Maven, and I'm currently looking into some existing
code/poms to genereate a ear project
Read the coresponding chapters in the really good books
Better Builds with Maven from DevZuZz [1] and Maven: The Definitive
Guide from
On Tue, October 30, 2007 11:59 am, maarten roosendaal wrote:
I did delete all the versions in the coordinates and dependencies of the
childpom's (except for the parent which is an explicit definition --
0.0.1-SNAPSHOT not ${project.version}) and added
dependencyManagement for all modules with
Hi Arnaud,
Joakim created this document a couple of weeks ago :)
http://docs.codehaus.org/display/MAVENUSER/Archiva+Proxy+Policies
-Deng
Arnaud HERITIER wrote:
Hi all,
When we create a proxy connector, for releases and snapshot we can select
ignore or disable.
What is the difference
On 29. October 2007 Mark Russell wrote:
I am about to release my first maven plugin. I was looking at the
maven-release-plugin. This seams to do what I want. does it work with
CVS?
Yes it does.
If so where is the documentation for this?
It uses maven's SCM infrastructure. See [1] for
Hello,
i use the Changelog Plugin for Maven 2.07 so far without Problem.
But how to setup it right that the Developer Activity Report will
be filled ?
Our Repository is SVN, an i use version 2.1 of the Plugin without
any configuration yet:
plugin
Um, not sure. Whats the packaging on module A? If its not a jar, you must
make sure its installed, by as Graham said configuring the release plugin in
the parent pom's build section as follows.
plugin
groupIdorg.apache.maven.plugins/groupId
I don't understand the first remark. It shouldn't matter what packaging it is
(jar, war, ejb, sar) should it?
I configured the release plugin just as posted but the result remains the same.
Here is the log:
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] MainProject
I use maven to build my web application (war). I have two tomcat
installations: unit test installation, which has a datasource that points to
unit test db (this db gets predefined data populated by dbUnit), and
development installation, which uses development database.
In my build I want to
Amen to that. I've gotten so frustrated at the lack of basic file support
that I've written my own plugin for such elementary goals as
file:create
file:mkdir
file:copy
file:move
file:append
file:delete
file:rmdir
Robert Egan
jimpo
jimpo [EMAIL PROTECTED] wrote, in part, on 10/30/2007 08:26:03
AM:
rantSeems like I am spending days finding out how to do simple things
like copying a file, things that I could have done in a few minutes
using
ant /rant
Then use ant, seriously.
The maven-antrun-plugin is designed for those
Hi
We are using maven2.0.6 and SVN in our project. Now the requirement is
we need to create a list of all the developers who have cheed-in the
files in the SVN in a day. And this report will be generated each n
every day by EOD. Now as it is given on apache site that
maven-scm-plugin is used for
Hello,
i use the Changelog Plugin for Maven 2.07 so far without Problem.
But how to setup it right that the Developer Activity Report will
be filled ?
Our Repository is SVN, an i use version 2.1 of the Plugin without
any configuration yet:
plugin
scm:changelog print the output on the command line and not to a file.
Maybe the changelog plugin would be better for you:
http://maven.apache.org/plugins/maven-changelog-plugin/
Emmanuel
Vishal Pahwa a écrit :
Hi
We are using maven2.0.6 and SVN in our project. Now the requirement is
we need
Hi guys,
We have a multi-module project; we are using 1.0.0-SNAPSHOT as version for
every module. We are trying to have a release at the end of every week, so
our releases get the following form: 1.0.0-Wxx. In time we realized we need
to branch the project before releasing it so we have some time
Hi *,
I'm trying to use JUnitPerf (1.9.1) with an EJB client.
I'm using Maven 1.1 with JDK 5 (latest 013).
Everything seems to go as planned except towards the end of the JUnit test
(Even with a SINGLE thread), where I get:
[junit] Exception in thread main
On Monday 29 October 2007 05:46:25 pm Yan Huang wrote:
Hello Folks,
If I want to run the same unit test cases against a list of DBs within a
single build, is there a way to configure it in pom.xml? Basically, let's
say I want to run the tests against oracle, sybase and mysql in sequence
Trry mvn -X to get more details. Also, check the Surefire output in
target/surefire-reports.
Wayne
On 10/30/07, Henning Sprang [EMAIL PROTECTED] wrote:
Hi,
I try to use the exclude syntax for the surefire plugin, exactly as
described in
On 10/29/07, Mark Russell [EMAIL PROTECTED] wrote:
I am about to release my first maven plugin. I was looking at the
maven-release-plugin. This seams to do what I want. does it
work with CVS? If so where is the documentation for this?
http://maven.apache.org/plugins/maven-release-plugin/
thanks to both or you for your help
Wendy Smoak wrote:
On 10/29/07, Mark Russell [EMAIL PROTECTED] wrote:
I am about to release my first maven plugin. I was looking at the
maven-release-plugin. This seams to do what I want. does it
work with CVS? If so where is the documentation for this?
running:
maven 2.0.4
win xp pro sp2
java 1.5.0_05
maven-surefire-plugin 2.2
when i execute mvn test -X the classpathElements, in order, that surefire
spits out are:
- target/classes
- target/test-classes
- dependency jars (both jar and test-jar)
Does that mean that the classloader will first
The Continuum team is pleased to announce the Continuum 1.1-beta-4 release
Highlights are:
* lot of bug fixes
* A new page to view the build queue
* Customization of mail subject
You can grab the latest release from the download page :
I hope maven2 can provide such function in the future release. is it on the
future requirement list for maven2?
On 10/30/07, Steve Ebersole [EMAIL PROTECTED] wrote:
On Monday 29 October 2007 05:46:25 pm Yan Huang wrote:
Hello Folks,
If I want to run the same unit test cases against a list
I am attempting to mavenize a project whose purpose is to update a
binary data structure from old versions to a current version. Each
version provides an update tool from the previous version so it's a
combination of these tools.
There is always something slightly different with each version so
Hi all,
I'm trying to test doxia as a alternative to the docbkx maven plugin. But
when
i try to launch simply the example I've the followed error :
java.lang.NoClassDefFoundError:
org/apache/maven/doxia/module/site/manager/SiteModuleManager
at java.lang.Class.getDeclaredFields0(Native
Actually it's working fine... I was able to do the branch, after many hours
of pain...
The problem that I noticed is that , if there is even a small problem during
the release:branch, I'm being left with all the changes commited in
Subversion. Of course, mvn release:rollback doesn't work so I'm
Where should abstract test case or utility classes that are only used by
test case be placed?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
If you're only using them in one project/module, you can put them
anywhere under src/test/java.
If you intend to use them across multiple modules, you should probably
build a test-jar module with your Abstract test classes and then
depend on it in your other modules.
Wayne
On 10/30/07, Brandon
Hello,
I am trying to automate my tagging process in Subversion through Maven and
I am running into issues. I am not sure I am using Maven correctly to do
this so I wanted to ask the question here...
Basically, I have a POM for my project and it has the scm connection
information as well as
perhaps you should think about this differently... create a deployer for
tomcat that looks at your repository and deploys the latest release or if you
_really_ have to the latest snapshots...
i have found that using cargo is much better if I use the real war as
an 'underlay' which the test war
release:prepage tags
release:perform builds from tag and deploys to repo...
On Wednesday 31 October 2007 08:31, Mark_E wrote:
Hello,
I am trying to automate my tagging process in Subversion through Maven
and I am running into issues. I am not sure I am using Maven correctly to
do this so I
I would highly recommend that you tag your projects X.Y and when you build
branches introduce the .Z
maven treats the -SSS specially and makes it less e.g.
X.Y.Z-A X.Y.Z
which obviously causes odd behaviour..
I use versions like 1.0, 1.1, 1.2
and patches being builds off branches being
Hello,
How can I troubleshoot the maven-changelog-plugin? I defined scm in my
pom.xml and declared to use maven-changelog-plugin in reporting as below.
However, I still don't see any report coming out of that. Any ideas? I'm
using Perforce.
plugin
This is the error I'm getting when doing a mvn release:rollback (after a mvn
release:branch).
Did anybody encountered this specific error before ?
..
[INFO]
[INFO] Building Maven 2 Example
[INFO]
What did you try to launch?
Please provide us with more details about what you are trying to do.
Yann Davin wrote:
Hi all,
I'm trying to test doxia as a alternative to the docbkx maven plugin. But
when
i try to launch simply the example I've the followed error :
Hello,
I've observed that mvn site forces the invoke of generate-sources phase
for a project. Is there a way to prevent it? Is there a way that the site
generation can be limited to generate the specified reports without going
through extra steps?
Thanks
Yan
Hello,
I declared maven-javadoc-plugin under reporting session on the top level
of pom and have several modules defined in there as well. I noticed that
when I run mvn javadoc:jar from the top level, the javadoc jar is not
generated for the modules. However, when I run inside individual module,
I've just create a simple .pom + book.xml just to be able to try the example
http://maven.apache.org/doxia/book/index.html
so it's just copy paste (with of course minimal information in the .pom
file)
when I try a :
mvn pre-site
I have the error previously described.
The .pom file is
Did you follow the instructions [1] on the website?
Do you get any of the three reports?
If so which ones, and what do they contain?
[1] http://maven.apache.org/plugins/maven-changelog-plugin/usage.html
Mac-Systems wrote:
Hello,
i use the Changelog Plugin for Maven 2.07 so far without
http://maven.apache.org/plugins/maven-changelog-plugin/faq.html
Yan Huang wrote:
Hello,
How can I troubleshoot the maven-changelog-plugin? I defined scm in my
pom.xml and declared to use maven-changelog-plugin in reporting as below.
However, I still don't see any report coming out of that. Any
Dear Yan,
I am new to maven, but I guess I know the answer, :-)
plugin
artifactIdmaven-javadoc-plugin/artifactId
configuration
aggregatetrue/aggregate
/configuration
/plugin
Regards,
David
- Original Message
From: Yan Huang
OK, there is a problem with th dependency-chain in the doxia 1.0-alpha-9
release. We are currently voting on alpha-10 which fixes this problem.
If you want to use it right away you can try with the latest
1.0-alpha-10-SNAPSHOT.
Yann Davin wrote:
I've just create a simple .pom + book.xml
nope. that aggregate tag is used for generating one aggregated javadoc for
all modules. what i want is to generate one javadoc.jar for each module.
On 10/30/07, David [EMAIL PROTECTED] wrote:
Dear Yan,
I am new to maven, but I guess I know the answer, :-)
plugin
If we cannot specify different filter on multipackaging, then what is point
packaging exactly same packages twice.
Tim Kettler wrote:
mailming schrieb:
This is a great approach, and I do see the ear-plugin package twice.
However, after server testing, I c the filters in the profile
My work around solution is in the end of install specify deploy:deploy-file
mvn install deploy:deploy-file
Then in the pom specify
plugin
artifactIdmaven-deploy-plugin/artifactId
version2.3/version
jimpo wrote:
Hi,
yes, this is something I have actually started to use as a basic principle.
In src/main/resources and src/test/resources there is a config file
jdbc.properties which defines the connection details. It has properties such
as
jdbc.username=${jdbc.username}
Hi,
Can someone point out a link to me where it explains how to attach the
source code and the javadocs to the installed JARs?
I remember seeing those instructions on the maven.apache.org site, but
can't seem to find it (even with google).
Thanks,
Yaakov.
I solved my Problem:
In wrapper.conf you can set wrapper.java.maxmemory
regards,
Jens
Hello,
after around 100 Build suddenly Continuum throws an OOM Error.
I havent any special config made, the Error happens when i open the
Build Result.
Well the Result to display is quite big, anyway that
It isn't possible for the moment.
What type of script do you want to run?
Emmanuel
Martin Alejandro Villalobos a écrit :
Hello.
I want to run a shell script after each build of Continuum.
Some body know if there is some way for do it?
Thanks.
Martin.
On 10/28/07, Wendy wrote:
On 10/28/07, Eric D Nielsen [EMAIL PROTECTED] wrote:
I have some integration tests that I want to run as part of the build
verification process. These tests have to hit a database. I've been using
Maven 2 based filtering to inject some properties into the
Hello.
I want to run a shell script after each build of Continuum.
Some body know if there is some way for do it?
Thanks.
Martin.
Hi all,
Following the export procedure at
http://maven.apache.org/continuum/documentation/1_1/installation/upgrade.html,
the export seems to hang at this point:
bash-3.00$ java -Xmx512m -jar data-management-cli-1.1-beta-3-app.jar
-buildsJdbcUrl
Emmanuel Venisse wrote:
The Continuum team is pleased to announce the Continuum 1.1-beta-4 release
Highlights are:
* lot of bug fixes
* A new page to view the build queue
* Customization of mail subject
You can grab the latest release from the download page :
Hi,
I've unzipped beta4, run it, and it asks to create the admin
user. I do that, and it goes to what seems like it should be system
configuration, but it requires login. I then attempt to login as
admin (which was just created) and for a minute it looks like it was
about to
I'm a little confused over how multiple build definitiions on different
schedules interact within a project. After reading several threads
it looks like my understand was correct, yet my installation doesn't
seem to behave as expected.
I have three schedules set up:
Hourly
Every four hours
71 matches
Mail list logo