Hi,
I'm new with continuum and using 1.1 BETA version. I'm using pom.xml files
for adding new projects to the continuum. But continuum dont use this
pom.xml files instead of this files uses pom.xml files in SCM (we are using
subversion for SCM). This dont provide continous integration.
In this
Hi
Did you try to manually download pom.xml to file system on machine where
is continuum installed and then load file from file system?
Regards,
Denis
-Original Message-
From: Dariusz Nowak [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 05, 2007 4:12 PM
To:
Hi Emmanuel,
The File is as attached. Thanks for the help.
Anshula
Emmanuel Venisse wrote:
Can you send your logs?
Anshula a écrit :
Hi Emmanuel,
Acutally right now I am just building, there are no unit tests added as
of
now. The build does not take more than 1-2 minutes, I tried
Ibrahim,
From what you wrote, it looks like you want continuum to build the project
_before_ you commit it to subversion, right?Continuum looks at the scm/ part
of your pom.xml to find the project source code. Continuum checks out the source
code from the subversion repository because that is
Hi all,
I'm writting a maven plugin.
I have a goal running on the phase pre-integration-test. For a continuous
integration context, in this goal, I want to deploy external artefacts,
available on a repository, so they are marked as provided in the section
dependencies of the current
Hi,
I am having trouble deploying a 'tar.gz' assembly of a parent project
using the deploy goal.
The parent project has a number of child module projects.
Essentially I am running the following on the parent project:
mvn package assembly:assembly deploy
and what is happening is that all
Hello,
I'm writing a shared utility project that uses backport-util-concurrent.
This dependency has 3 versions, for java 1.2/1.3, java 1.4 and Java 5.
How to set my POM dependencies so that projects that use my lib get the
expected backport in classpath ?
For now the only way I've found is to
Hi,
Evan Toliopoulos schrieb:
Hi,
I am having trouble deploying a 'tar.gz' assembly of a parent project
using the deploy goal.
The parent project has a number of child module projects.
Essentially I am running the following on the parent project:
mvn package assembly:assembly deploy
Am Dienstag, 4. September 2007 schrieb Eric Wood:
Folks:
I'm new to maven and I'm looking for a good reference to how to set up a
j2ee application using maven 2.0. Are there and good documents or
examples out there that I could use to get started?
See http://www.sonatype.com/book/j2ee.html
Hi all
I am trying to deploy ejb using maven and websphere application server?
Can
anybody please tell me which cargo plugin is required? I know there are
cargo jboss and weblogic plugins available but does anybody know
whether
any Cargo Maven plugin is available for websphere?
I know this jdk activation strategy but IMHO this is not safe :
I'm myself using Jdk 1.5 on my computer but set the maven-compiler-plugin
for target jre beeing 1.3 or 1.4. I don't want to change my JAVA_HOME evey
time I start a new project, and maven2 requires Java 1.4 so this strategy
cannot be
Nicolas,
You can defined profile according to the used JDK. In these profile you should
defined a dependencyManagement in which you define your artifact version to use:
profile
idjdk1.4/id
activation
jdk1.4/jdk
/activation
dependencyManagement
...
Hi Carlos,
It seems that Q is only available with Eclipse 3.3. Unfortunately, all our
workstations are currently using Eclipse 3.2.2.
Could you confirm that 3.3 is the actual minimum version of Eclipse ? Could
I hope Q to be available on Eclipse 3.2.2 in the future ?
Regards,
Bernard
Carlos
2007/9/5, Bernard Lupin [EMAIL PROTECTED]:
Hi Carlos,
It seems that Q is only available with Eclipse 3.3. Unfortunately, all our
workstations are currently using Eclipse 3.2.2.
Could you confirm that 3.3 is the actual minimum version of Eclipse ?
Could
I hope Q to be available on Eclipse
Sure I can, but the whole point is that I don't want to add extra arguments to
the mvn release:prepare invocation. I want to configure my poms in such a way
that a default prepare/perform cycle will run the way I want it.
Disabling junit tests on release:perform is just one of the things I want
Hello!
My questions concerns the assembly-plugin (see
http://maven.apache.org/plugins/maven-assembly-plugin/)
Is there a way to install the assembly's created during the package - phase to
the local repository?
I like to refer the assembly in a other project ...
Thanks for your help!
Yes, and the answer was given an hour ago to someone else's post. To quote:
Hi,
Evan Toliopoulos schrieb:
Hi,
I am having trouble deploying a 'tar.gz' assembly of a parent project
using the deploy goal.
The parent project has a number of child module projects.
Essentially I am running the
I'm sorry, i subsribed to the list about 15 min. ago ;)
The solution seems not to fulfill my needs:
I've a commons-project and this is splitted up into subprojects by
packagenames. This commons-project is completly independend of the projects
which need to include it (into an ear-file). I'd
Hi,
Marcel Schutte schrieb:
Sure I can, but the whole point is that I don't want to add extra arguments to
the mvn release:prepare invocation. I want to configure my poms in such a way
that a default prepare/perform cycle will run the way I want it.
Disabling junit tests on release:perform
I guess you have to split up the commons-project into multiple modules
and then just install them like a normal artifact. Why use the assembly
plugin for such tasks?
With regards,
Nick Stolwijk
Matthias Marchart wrote:
I'm sorry, i subsribed to the list about 15 min. ago ;)
The solution
Not entirely certain if this will help or not, but could you define a
property and reference that instead?
i.e.
property
myversion1.0-SNAPSHOT/myversion
/property
then using ${myversion} will always return you that version
Andy
On 4 Sep 2007, at 08:42, PeterNilsson wrote:
Hi,
Sorry
Yes, right.
Perhaps, using activation based on property/value is better. In each profile
you define your dependency Management, the maven-compiler-plugin target :
profile
idjdk1.4/id
activation
property
namejdk/name
value1.4/value
/property
Wayne,
It looks like 'mvn -U package' followed by a 'mvn clean' and a 'mvn
package' again did the trick.
Thanks for your help.
Werner
Wayne Fay wrote:
Try mvn help:effective-pom to see all the various configuration
options you've set. Also try mvn -U package to perhaps update some
of your
Now, that would be great - if it worked.
When trying this in Netbeans 5.5.1, Maven 2 project support 2.3.4:
java.lang.NullPointerException
at
org.codehaus.mevenide.netbeans.customizer.RunJarPanel.checkAssemblyPlugin(RunJarPanel.java:337)
at
Hi Tim,
I misunderstood the instructions for deploy ... this works for me now :)
Thanks a lot!
Matthias
Original-Nachricht
Datum: Wed, 05 Sep 2007 12:05:26 +0200
Von: Tim Kettler [EMAIL PROTECTED]
An: Maven Users List users@maven.apache.org
Betreff: Re: assembly - plugin
buts its different code... the whole point - and i would do this without
maven - is the the release perform checks out a clean version of the source
code and builds its and tests it.
It happens occasionally that release:perform does actually fail unexpectedly
even though the release:prepare
Hi,
I am having trouble deploying a 'tar.gz' assembly of a parent project using the
deploy goal.
The parent project has a number of child module projects.
Essentially I am running the following on the parent project:
mvn package assembly:assembly deploy
and what is happening is that all
I've checked the stacktrace and it's not clear to me how a NPE could
get there. Does it happen for you all the time? can you try on a
sample quickstart project created from archetype?
I'm personally using Nb 6.0 + mevenide 3.0.x (close to what ships on
netbeans AU for milestone 10) and use this
Take a look at the dependency plugin. There are some artifact filters that work
on scope. These are being moved to a common location so that plugin developers
can use them.
-Original Message-
From: Deneux, Christophe [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 05, 2007 3:29 AM
The solution to my problem with jetty6 and cargo-maven2-plugin was to
add the following systemProperties element to the container
configuration to the jetty6 container's configuration element:
container
containerIdjetty6x/containerId
Hi all,
I have a multi project build in the standard directory structure. I'm
using subversion, and all my submodules will be built with the same version
as the parent. I can perform a prepare successfully, however when I perform
the release, the modules aren't built in the correct order based
Hi,
I use the following to deploy my site:
pom.xml:
distributionManagement
site
idcedarsoftWeb/id
nameCedarsoft Web/name
urlscp://cedarsoft.org/var/customers/webs/jschneider/cedarsoft.org/url
/site
/distributionManagement
my settings.xml looks like that:
servers
Do you have more than one item in your settings.xml with id
cedarsoftWeb? I have encountered the problem when I also had a mirror or
repository with the same id, then it wouldn't find the password. My
solution was to postfix all my servers with .server (i.e.
cedarsoftWeb.server) and use that
No,
I have just one server setting with that name.
Johannes Schneider
Nick Stolwijk wrote:
Do you have more than one item in your settings.xml with id
cedarsoftWeb? I have encountered the problem when I also had a mirror or
repository with the same id, then it wouldn't find the password. My
Yes, that would work. The problem is that the release plugin will not update
that property, so
we get a manual step when doing a release.
Peter
Andrew Williams-5 wrote:
Not entirely certain if this will help or not, but could you define a
property and reference that instead?
i.e.
ok, so mvn package in core creates a target/MyProj-.tar.bz2 file.
First, a question, why are you creating a tar.bz2 instead of a jar? Just
wondering.
I assume you are using assembly plugin to generate this tar.bz2 file. If so,
you should install this artifact into your repo. (Or you could
Brian,
If you use the maven-dependency-plugin on the commande-line, it works fine.
But, as my case, if you declare it in your pom to execute the goal resolve on
the phase pre-integration-test, the dependencies with scope provided are
not displayed :
plugin
I am trying to automate the build of an EJB project that was generated
in Eclipse 3.2.2
using the Web Tools Platform (WTP 1.5.4) wizard for ejbdoclet projects.
This WTP service is based on xdoclet 1.3.2 (I see that in the project
facets).
I get a failure when trying to use the plugin
Hello,
Here is some sample POM that exposes what could be done to separate
tests into different groups. Note that the same things could be done
using the groups tag for testNG. The interesting thing is that
execurtions can be merged (eg. mvn -Ptest1,test2 test) to group
several subgroups.
project
Do you have this directory $HOME/.ssh in your file system ?
--
Olivier
-Message d'origine-
De : Nick Stolwijk [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 5 septembre 2007 16:07
À : Maven Users List
Objet : Re: site-deploy asks for password...
Do you have more than one item in your
Hi!
I have a number of projects in my reactor.
- Project A requires project B with scopecompile/scope
- Project B requires project A with scopetest/scope
So this is not really the classical cyclic dependency. Nevertheless, I get
[INFO] The projects in the reactor contain a cyclic reference:
Hi,
the graph is calculated based on the projects building the artifacts,
not the artifacts themself. The artifatcs don't appear out of thin air
;), to build them the project they belong to must execute.
In your case: To make B, A:test must be available. So A must execute
before B... but
I think you probably want to look into creating a test-jar and
adding a dependency on that in both projects.
Wayne
On 9/5/07, Torsten Schlabach [EMAIL PROTECTED] wrote:
Hi!
I have a number of projects in my reactor.
- Project A requires project B with scopecompile/scope
- Project B
I've changed the AbstractPluginPackagingMojo.java to accept 'binary-plugin':
code
...
if ((packaging.equals(pom)) /*|| (packaging.equals(binary-plugin))*/) {
...
/code
and changed the package and install phase in the components.xml:
package
I have a project using the groovy maven plugin to do some scripting.
I can get access to my project, and its dependencies from a project
variable.
I can get access to the instance of the local repository by passing
${localRepository} in a property
What I want to do is, for a dependency, find
Bernard, you're right, Eclipse 3.3 and Java 5 are required, and 3.2.x
it's not likely to be supported in the future, as 3.3 has been already
out for around 3 months.
http://code.google.com/p/q4e/wiki/Installation
On 9/5/07, Bernard Lupin [EMAIL PROTECTED] wrote:
Hi Carlos,
It seems that Q is
Thanks for pointing that out. I will reconsider my choice.
In the mean time, I've been doing my homework and have found that parameters
that have a different meaning in different mojos should also be named
differently. For references and an improvement request see
Hello,
I am investigating the multipage report generation abilities of
maven. There seems to be a SinkFactory inteface for creating new Sink
objects, that could be used in an AbstractMavenReport. Does it work ?
Can someone points me to an example that uses this feature ?
Thanks in advance,
--
You've never said why you need this, so it is possible there are
better ways to do what you're trying to do that would not require the
manual step at release. Perhaps you can explain the reason behind this
whole thing?
Wayne
On 9/5/07, PeterNilsson [EMAIL PROTECTED] wrote:
Yes, that would
Yes, I do.
I tried to use the private key authentication:
server
idcedarsoftWeb/id
usernamejohannes/username
privateKey/home/johannes/.ssh/id_dsa/privateKey
/server
That works... Really strange.
Johannes Schneider
LAMY Olivier wrote:
Do you have this directory
Except in mattress or matrimony or mad or maverick where the 'a' is
pronounced as in dad.
English is funny because we stole words from almost every other language on
the globe so any rule tends to have lots of exceptions. We just keep the
pronunciation or some mangled version of it from the other
Is there an easy way to really perform an integration build with Maven 2
(easily)?
I'm wondering if there isn't a simple way to say, Hey, build with the
tip revision of everything.
Hello,
I am currently using Maven 2 and today I noticed that all the jars are
built 1 hour earlier then the current time.I see that in the Maven
documentation that there is a timezone tag that you can use to set
your timezone. I want to set this in my settings.xml so that when we
switch to
One more detail:
Deploying works with the same username ans password (other id).
So I think it might be related to the site plugin.
Johannes Schneider
Johannes Schneider wrote:
Hi,
I use the following to deploy my site:
pom.xml:
distributionManagement
site
idcedarsoftWeb/id
Ibrahim,
It's not very clear what you mean. Could you give a more detailed
example of what you would like?
David
On 5 Sep 2007, at 14:54, albateos wrote:
Hi,
I'm new with continuum and using 1.1 BETA version. I'm using pom.xml
files
for adding new projects to the continuum. But
I understand the other packaging types, but I'm a little confussed by
the pom packaging. What is the significance of this package type. What
does it trigger.
Eric
Thanks again Maria.
I looked into the code for the maven-deploy-plugin and it does not seem
to be a trivial matter for someone unfamiliar with the code base to fix
this.
So here is my plea to the maven-deploy-plugin dev team
Please, please, provide a SNAPSHOT release that addresses
I noticed that jar built by source:jar includes resources. Is there any
reason for this? Is there any way to prevent it?
--
Daniel Siegmann
FJA-US, Inc.
512 7th Ave. 15th Flr. New York, NY 10018
(212) 840-2618 x139
-
To
On 9/5/07, Siegmann Daniel, NY [EMAIL PROTECTED] wrote:
I noticed that jar built by source:jar includes resources. Is there any
reason for this?
I surely hope it does! They are added to the jar file, which makes them sources.
Is there any way to prevent it?
Don't put the resources into a
In build result page, choose a build result with timeout ant take the build id,
then go to the build-output-directory and send us the content of the build
output you'll find in this directory.
Emmanuel
Anshula a écrit :
Hi Emmanuel,
The File is as attached. Thanks for the help.
Anshula
Hi,
I have a project which is structured like this:
+- parent
|
+- core
|
+- webapp
(In practice, it's a little bit more complex, but the picture is
sufficient to show the use case.)
When running the javadoc plugin, I get the javadocs of the separate
Resources are packaged into the standard jar. Why do they need to be in
the standard jar as well?
~Daniel
-Original Message-
From: Jochen Wiedmann [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 05, 2007 3:04 PM
To: Maven Users List
Subject: Re: source:jar includes resources?
On
On Sep 5, 2007, at 3:18 PM, Siegmann Daniel, NY wrote:
Resources are packaged into the standard jar. Why do they need to
be in
the standard jar as well?
Huh? What two different jars are you referring to? You said 'standard
jar' twice...
--
Joshua ChaitinPollak
Software Engineer
Kiva
I wish to create my own archetype for Maven2, admittedly I am a nOOb, and
this seems way more difficult than it should be.
I want my directory structure to be:
src--
com.mycompany.project.dao
com.mycompany.project.dao.hibernate
com.mycompany.project.model
Oops. :-[ Sorry, I meant to say: since resources are packaged into the
standard jar, why should they be in the *sources* jar as well?
~Daniel
-Original Message-
From: Joshua ChaitinPollak [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 05, 2007 3:27 PM
To: Maven Users List
Subject:
Hello,
As the name implies, the packaging pom is for projects consisting only
of a pom. This is of great use for:
- company/group wide configuration
- multi-projects builds
- dependencies grouping
- ...
Take a look at
Hello,
This is most probably not possible with the javadoc plugin alone, but
this effect could possibly be achieved using javadoc:jar goal and
maven-dependency-plugin's unpack goal. This is untested however :)
HTH
--
OQube software engineering \ génie logiciel
Arnaud Bailly, Dr.
\web
The better question is why should they NOT be in the sources jar as
well? You need them to successfully build the binary, right? So don't
you think the sources jar should have all necessary source files, and
not just the subset of code files?
Wayne
On 9/5/07, Siegmann Daniel, NY [EMAIL
I want to include xalan jar from my repository, into the TAR assembly.
I have:
dependencySets
dependencySet
scopecompile/scope
!-- BEGIN: Artifact Matching Includes/Excludes --
includes
includexalan:xalan/include
I see your point. However, I would like the option to include *only* the
code files. I am using the sources jars only for attachment in Eclipse
(for javadoc and debugging). The resources are redundant in this case.
This isn't a problem, but I could see it being rather annoying in the
presence of
You could certainly file an RFE in Jira and perhaps someone will agree
with you and implement it. Or you could implement it yourself and
submit a patch.
Wayne
On 9/5/07, Siegmann Daniel, NY [EMAIL PROTECTED] wrote:
I see your point. However, I would like the option to include *only* the
code
On Sep 5, 2007, at 10:31 AM, Wayne Fay wrote:
ok, so mvn package in core creates a target/MyProj-.tar.bz2
file.
First, a question, why are you creating a tar.bz2 instead of a jar?
Just wondering.
Our application has many additional files required in addition to the
jar, including
Done: http://jira.codehaus.org/browse/MSOURCES-22
Though I take it I'm the only one who sees any value in this feature.
Well, I suppose if it becomes problematic in the future, I'll attend to
it then.
Thanks everyone for the time you took to reply.
--
Daniel Siegmann
FJA-US, Inc.
512 7th Ave.
Perhaps not the only one, but certainly the first that's bothered to
complain about it ;-). Thanks for the RFE.
Wayne
On 9/5/07, Siegmann Daniel, NY [EMAIL PROTECTED] wrote:
Done: http://jira.codehaus.org/browse/MSOURCES-22
Though I take it I'm the only one who sees any value in this feature.
By using this and an ant script I was able to accomplish what I needed
to do. Thanks for the advice. It's a hack though, and rather messy.
I found a relevant issue in JIRA:
http://jira.codehaus.org/browse/MASSEMBLY-125. If anyone else cares
about this feature, I'd encourage you to vote for this
Hey guys,
just a quick note, I uninstalled M2Eclipse and installed Q4E and gave
it a shot. All the core functionality seems to be there (dependancy
management is the big one for me) and importing from a project pom
seems to work (although It didn't seem to import a multilayer
project, I
I'd previously gotten this sort of thing to work by setting up the
archetype to look like:
.../archetype-resources/src/main/java/sub
In your case sub would be dao, model, etc. I'd had some problems with
early versions of the archetype plugin, but as long as you're using
1.0-alpha-4 or later, it
You should be able to do it with dependency to unpack the sources and
then assembly:single to zip up the folder. I have unfortunately had to
do this many times.
-Original Message-
From: Siegmann Daniel, NY [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 05, 2007 6:13 PM
To: Maven
Hello All,
I want to configure continuum such that for every nightly build (for which i
have defined a seperate cron expression using the administration - schedule
option) if an error occurs an email is sent to the notifiers (as in the pom)
whereas i wouldnt want issue any notification for the
Thanks for giving it a try Joshua, see comments inline
On 9/5/07, Joshua ChaitinPollak [EMAIL PROTECTED] wrote:
Hey guys,
just a quick note, I uninstalled M2Eclipse and installed Q4E and gave
it a shot. All the core functionality seems to be there (dependancy
management is the big one for
On Sep 5, 2007, at 7:12 PM, Carlos Sanchez wrote:
Thanks for giving it a try Joshua, see comments inline
On 9/5/07, Joshua ChaitinPollak [EMAIL PROTECTED] wrote:
Hey guys,
just a quick note, I uninstalled M2Eclipse and installed Q4E and gave
it a shot. All the core functionality seems to be
Are you sure that you are using XDoclet 1.3.2 and not 1.2.3? I do not see a
version 1.3.x on the XDoclet home page.
In my projects that use XDoclet, I specify:
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdxdoclet-maven-plugin/artifactId
executions
execution
Thanks,
Though it still is not working. I get the following error:
Failed to create assembly: Artifact:
com.emagineinternational:sms-transceiver-mq:jar:6.5.1-SNAPSHOT (included
by module) does not have an artifact with a file. Please ensure the
package phase is run before the assembly is
Dave,
did you ever find out a proper way to do this? Assembly (dependencySet)
doesn't support classifiers, sigh...
Kalle
On 2/22/07, Dave Hoffer [EMAIL PROTECTED] wrote:
According to the maven-assembly-plugin website it does not handle
collecting and packaging javadoc jars like it does for
84 matches
Mail list logo