Currently all builds from continuum are showing the time as *UTC* (GMT). How
do I configure this to be Sydney time?
much appreciated,
geoff
Thomas,
Why don't you add a parent pom in the root dir which your code dir pom
extends? (ie make you code dir a module of your root pom).
Then you could get rid of --non-recursive off the argument build list and
you would get a build everytime you checked in some docco.
Just as a matter of
Hi all,
I am using the XMLBeans Maven Plugin in a couple of projects, but using
this plugin in combination with Eclipse is giving me a headache. I was
just wondering if somebody has already solved it.
The layout of my project is a little like this:
project
+--- pom.xml
+---
Well, the subject says it all, doesn't it? ;-)
I wonder if it is possible to execute maven 2-stuff from within IDEA
IntelliJ?
I know about
MevenideIdeaIntegration
(http://www.intellij.org/twiki/bin/view/Main/MevenideIdeaIntegration)
and
MavenPlugin
Hi Wilfred,
Yes I had the same problem and I think I have a working solution. The key is,
that I wrote an additional plugin, that would generate a jar containing the
generated sources and classes from xmlbeans. My normal project now includes
this project.
The process is like this:
The normal
Hi friends,
I want to install a jar in my local repo.
mvn install -f pom_components.xml
The problem: In the pom_components.xml I have a dependency with a variable
${maven.build.parent}
Now I thought I can write following:
mvn install -f pom_components.xml -Dmaven.build.parent=sys
But it
Check out the build-helper:attach-artifact goal:
http://mojo.codehaus.org/build-helper-maven-plugin/attach-artifact-mojo.html
On 5/5/06, Jason Chaffee [EMAIL PROTECTED] wrote:
Currently, I am using the antrun plugin during the package phase to
create a self-extraction archive by concating a
My structure is as you had mentioned
Root
pom.xml
src/site/site.xml (with ${modules})
Module A
pom.xml
src/site/site.xml (with ${parentProject} )
the missing part was ${modules} ${parentProject} which i have added and
removed
menu ref=modules / from my root site.xml, but
Which version maven-site-plugin you use ?
AFAIK, this is only in the snapshot version.
Solutions :
- build it from svn
- add http://cvs.apache.org/maven-snapshot-repository/ in your plugin
repositories
- Olivier
-Message d'origine-
De : RobJac [mailto:[EMAIL PROTECTED]
Envoyé : vendredi
I have a requirement where in i want the site created for my child project to
be placed in a specified location in under the parent project. I have used
reporting
outputDirectorytarget/site/outputDirectory
/reporting in my child pom xml as of now which is placing the child site
under
We have a ejb-backend that's currently buildt with ant, so now and then
I manually use deploy:deploy-file -Dversion=x.y.z-SNAPSHOT
-Dpackaging=ejb-client ... to deploy a new version of the interfaces to
our local repo. This seems to work out fine; with multiple versioned
snapshot client-jars
Hi Christian,
I was heading in a similar direction, but I figured that having a jar
packaging type of pom would still convince the Eclipse plugin to add a
project reference, right? Or did you change your pom to a pom packaging
pom?
BTW Is your Maven Plugin available as open source?
Thanks,
I don't think I understand why you did this. The normal xmlbeans
plugin will produce a jar with the xmlbeans-generated code by default.
I think Wilfred's problem is just that the eclipse:eclipse is giving
him a project-dependcy for the sibling projects. Since Eclispe isn't
generating the
So, at the end of your workaround you have:
1. An EAR with the jars in the root
2. War(z) with a META-INF/MANIFEST.MF using the jars in #1
Sounds easy enough; in theory.
I have been in configuration limbo for the past day; can you send me a
example of your maven-war-plugin?
Cheers,
Christiaan
foremost is the making of ejb-jar.xml optional, as par with the spec. There
is already a patch for this in JIRA...
second - generation of persistence.xml perhaps (in-container
persistence.xmlshould only contain the data-source name, unit-name
(can be ${
project.name}) and a few properties -
Hi Stephan,
It's a question of distributing your resources. If u do have a separate project
for your xsds and xmlbeans output, then you are right and the stuff my plugin
does is not necessary. In my approach I did have the xsd in the same project,
where I use the generated classes. This did
Hi All,
I tried to setup an irc notification on continuum maven 1 project using the
notifier configuration page, but It wasn't able to send the notification in the
irc channel. The documentation only shows the settings when configuring the
notifier in the pom.xml. Just wondering if there are
Hi Stephen,
Wilfred, I think you just need to run mvn install on the xmlbeans
project, and then run eclipse:eclipse on only the subproject so that
it uses the dependency in your local repository, instead of the
Eclipse project.
The problem with that approach is that all of the other
What is the architecturally sound recommended way to migrate a simple
Jelly script (preGoal/postGoal) for Maven 1 into a plugin for Maven 2?
We have a simple jelly script defined in our maven.xml with pre- and
post- goals defined for the 'war:war-resources' goal which does things
like copy
It worked like a charm.
Thank you !
Dário
Edwin Punzalan wrote:
When you want to put run assembly from inside the pom, use the goal
attached instead of assembly
Dario Luis Coneglian Oliveros wrote:
Hi there,
I've noticed a weird behaviour with the mave-assembly-plugin
(2.1-SNAPSHOT)
I really don't get what you want. Could you explain more precisely
On 5/4/06, bryan hansen [EMAIL PROTECTED] wrote:
I am creating a custom archetype and am not seeing a
way to have folders carried throught the archetype. I
have a source file in the resources directory such as:
Ok here goes. I am using a custom archetype to create
an AppFuse style project. We create a lot of small
projects in our organization and we want the directory
structure to be the same. There will be a view,
service, and model directory in every application.
These directories contain some basic
Anyone know of a plugin to generate a uml diagram from the java classes
and include it in the documentation? This would be immensely useful to
me.
--
Dan Adams
Software Engineer
Interactive Factory
617.235.5857
-
To
Yes, these issues would be great to get set up. Though the current
failure on non-existence of the ejb-jar file is the major issue, imho.
My company refuses to use maven until there is built in support for
ejb3. I know, it's silly since it boils down to patching the ejb
plugin with the patch on
Hi,
It is possible to automatically activate a profile testing a property existance
(tag profile/activation/property). But is it possible to automatically activate
another profile when this same property does not exist ? This would be very
usefull.
For exemple :
profiles
!-- Delivery mode
+1 name the reverse-engineering UML diagram plugin as cough up fur
ball.
-Original Message-
From: Dan Adams [mailto:[EMAIL PROTECTED]
Sent: Friday, May 05, 2006 7:11 AM
To: 'Maven Users List'
Subject: [m2] generating uml documentation
Anyone know of a plugin to generate a uml diagram
Cool, please submit and I'll check it.
s/
On 5/1/06, Stefan Arentz [EMAIL PROTECTED] wrote:
The subject pretty much summarizes it .. it've modified the
maven-ear-plugin-2.2-SNAPSHOT to generate JEE5 style
application.xmldescriptors. I'll be happy to submit this.
S.
--
.::You're welcome
Hi,
That would be cool to have a setting that make the eclipse plugin make a single
eclipse project that holds the modules of a Maven 2 multi-module project. That
would make a better integration with Subversion plugins for Eclipse...
What do you think of this ?
Thank you for your answer.
I see. I have never tried it myself but it should work. One thing you
might consider is that right now the archetype plugin doesn't care
about an empty directory (I think it is a bug) and so you have to put
a dumb java file in the directory in order to make it work.
On 5/5/06, bryan hansen
Yes I believe that's MEJB-6, and I too would love to see those patches
applied so ejb-jar.xml is made optional.
Assuming you do write some code for the persistence.xml generation
Arik, I hope you'll contribute it back. Even if the patch is not
applied to maven-ejb-plugin right away, some of us
Indeed.
It would be great if the patch from MEJB-6 would be applied asap.
Everybody who needs this should vote on the issue [1] so that it gets the attention of the
developers.
-Tim
[1] http://jira.codehaus.org/browse/MEJB-6
Todd Orr schrieb:
Yes, these issues would be great to get set
I'm just running whatever is released just now under maven 2.0.4. I have
nothing in my poms to tell it to use a different site plugin so ...
Thanks.
-- Lee Meador
On 5/4/06, Arik Kfir [EMAIL PROTECTED] wrote:
which version of the site plugin are you using? I'm using the trunk
version,
and I
Sounds like a great idea, Dan. Tell us when you've got it working, and
I'll be happy to test it. (In other words, I know of no such plugin at
this time.) ;-)
Wayne
On 5/5/06, Sean Hennessy [EMAIL PROTECTED] wrote:
+1 name the reverse-engineering UML diagram plugin as cough up fur
ball.
Christian,
If you were asking me...
I have no jars in the wars.
I have no jars in the ejb jars.
I have all jars (and wars) in the ear root.
The manifest in the wars does NOT refer to any of the jars in the ear.
I have a manifest in the ejb jars referring to the jars (in the ear) that
the ejbs
Is there a bug with the axistools-maven-plugin or am I doing something wrong?
I'm using m2 and the following:
build
plugins
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdaxistools-maven-plugin/artifactId
configuration
urls
Notice that the root of the outputDirectory tag is the folder in which the
current pom lies.
Try using the path ../target/site to get it into the parent folder's
target.
The problem with this is that it makes implicit assumptions about the
relationships (in location) of the parent and child
Maven 2 centralizes build flow control thru its lifecycle which has hooking
points for you to intercept
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
For your case, you want bind your goals to pre package and the post main
package
which are test phase and
irc notifier is independant of project type and where it's defined.
What did you define for irc notifier?
Emmanuel
Fritz Oconer a écrit :
Hi All,
I tried to setup an irc notification on continuum maven 1 project using the notifier configuration page, but It wasn't able to send the
On 5/5/06, RobJac [EMAIL PROTECTED] wrote:
I have a requirement where in i want the site created for my child project to
be placed in a specified location in under the parent project.
Maven will do this automatically when you deploy the site. If you
don't want the subdirectory name to match
While we transition our projects to Maven 2, I'd like to be able to
deploy artifacts built by Maven 2 to our internal Maven 2 repository as
well as our internal Maven 1 repository for those project that haven't
migrated yet. However, the distributionManagement element in the pom
will only allow
I would use a synchronization script between the two repositories.
This is what Apache do.
On 5/5/06, David Jackman [EMAIL PROTECTED] wrote:
While we transition our projects to Maven 2, I'd like to be able to
deploy artifacts built by Maven 2 to our internal Maven 2 repository as
well as our
It seems to me that a lot of documentation in the site.xml file
duplicates data from the pom.
I've tried putting things like ${project.version} and ${project.url}
in site.xml, but it is not expanded.
Are there any other magic markers like ${reports}? Is there a way to add others?
--
Howard M.
Well, at some point I may actually make one but it seems like someone
will probably beat me to it. There appears to be one for maven 1 but not
for maven 2. Since there are ant tasks for XUD/umlgraph then it's
conceivable that it would relatively easy to make an ant maven 2 plugin.
But the chances
What are the differences between ${pom.foo} and ${project.foo}? Is
${pom.foo} a reference to something in the local module, and
${project.foo} a reference to the containing project? Head's kind of
spinning on this.
--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator
There doesn't seem to be an equivlant to pluginManagement and
dependencyManagement for configuring reports in child projects.
--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Jakarta HiveMind
Professional Tapestry training,
See http://jira.codehaus.org/browse/MNG-1931
Wayne
On 5/5/06, Howard Lewis Ship [EMAIL PROTECTED] wrote:
There doesn't seem to be an equivlant to pluginManagement and
dependencyManagement for configuring reports in child projects.
--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java
Well, it should work... If I put a folder under the
archetype resources directory such as:
src/main/resources/archetype-resources/src/main/java/services
I would expect it to then put the ${packageName}
directory structure in front of it and it doesn't.
Any ideas of what I should try? The
On 5/5/06, Dan Adams [EMAIL PROTECTED] wrote:
Anyone know of a plugin to generate a uml diagram from the java classes
and include it in the documentation? This would be immensely useful to
me.
Sort of... you can use UmlGraph as an alternate doclet with the Javdoc
plugin. There's an example
JBoss AOP needs .aop suffix for jars.
how can i do that?
thanks, Roland
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
You could branch in your scm and maintain two pom.xmls, but you would
have to merge to the branch constantly to make sure your legacy branch
copy kept up to date. Do you use continuum or another continuous build
server?
Kris
-Original Message-
From: David Jackman [mailto:[EMAIL
We have a number of projects which we build nightly using maven. I have
grouped these together using modules so that i can build deploy them
all at once with one command (mvn assembly:assembly deploy).
The problem is that the build fails because the assembly:assembly target
requires all
I think there needs to be some additional POM elements that allows a
parent POM to provide defaults to a child POM that are different from
the values used by the parent POM itself.
Here's an example:
In my parent POM, I want to say
urlhttp://tapestry.apache.org/tapestry5//url
But I want all
I want to add my assembly task to one of my parent poms, as follows:
?xml version=1.0 encoding=UTF-8?
project
modelVersion4.0.0/modelVersion
groupIdcom.vcint.pom/groupId
artifactIdserver-app/artifactId
version0.0.1-SNAPSHOT/version
packagingpom/packaging
build
Todd Orr schrieb:
I understood that ejb3 functionality will not be built into the
ejb-plugin until the spec is final. It looks like it's all set
(http://www.theserverside.com/news/thread.tss?thread_id=40199). When
can we expect the ejb3 integration in the plugin?
From: Tim Kettler [EMAIL
for project that requires assembly, bind assembly:attached to the package
phase, then you run
maven deploy
-D
On 5/5/06, Jake Pezaro [EMAIL PROTECTED] wrote:
We have a number of projects which we build nightly using maven. I have
grouped these together using modules so that i can build
How does that work if both repositories are using different layouts (one
is default and the other is legacy)?
-Original Message-
From: Alexandre Poitras [mailto:[EMAIL PROTECTED]
Sent: Friday, May 05, 2006 9:50 AM
To: Maven Users List
Subject: Re: [m2] Deploying to more than one
I'm using CruiseControl now. I'd rather not build the project twice if
I can help it...
-Original Message-
From: Bravo, Kris [mailto:[EMAIL PROTECTED]
Sent: Friday, May 05, 2006 10:09 AM
To: Maven Users List
Subject: RE: [m2] Deploying to more than one repository
You could branch in
On 5 May 2006, at 03:03, Maria Odea Ching wrote:
Hi Rob,
I think you should put the plugin configuration in the build
section and execute mvn javadoc:javadoc.
Hi. Thanks for the reply.
I did try this first, but got the same result.
If it's in the reporting section, you should execute mvn
I have some jars in my classpath. How can I find out what dependencies
put them there?
--
Dan Adams
Software Engineer
Interactive Factory
617.235.5857
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
On some things that happens automatically. The child's additional path
element gets added to the default from the parent.
I do not remember which do it and which dont. One that seems to do it is the
scm url. Another is the deployment url.
-- Lee Meador
On 5/5/06, Howard Lewis Ship [EMAIL
mvn -X will show a textual tree view of the dependencies as they are
added during the build
Wayne
On 5/5/06, Dan Adams [EMAIL PROTECTED] wrote:
I have some jars in my classpath. How can I find out what dependencies
put them there?
--
Dan Adams
Software Engineer
Interactive Factory
On 5/5/06, Wendy Smoak [EMAIL PROTECTED] wrote:
On 5/5/06, Dan Adams [EMAIL PROTECTED] wrote:
Anyone know of a plugin to generate a uml diagram from the java classes
and include it in the documentation? This would be immensely useful to
me.
Sort of... you can use UmlGraph as an alternate
I can't get this to work. Looking back at previous posts, it
appears there might be a bug.
Do I need to build maven-javadoc-plugin from source? If so, could
somebody let me know where this can be found.
What I have is a parent project (pom packaging) and several
subprojects (jar
Is there a default policy or setting for report plugins to aggregate
reports from the modules?
I know the javadoc plugin should support that via
plugin
artifactIdmaven-javadoc-plugin/artifactId
configuration
aggregatetrue/aggregate
/configuration
/plugin
On 5/6/06, Lee Meador [EMAIL PROTECTED] wrote:
On some things that happens automatically. The child's additional path
element gets added to the default from the parent.
I do not remember which do it and which dont. One that seems to do it is the
scm url. Another is the deployment url.
Hm...
Okay, what about having CruiseControl call call a script with the
following:
$mvn clean deploy
$mvn -f pom_legacy.xml deploy
Where pom_legacy.xml has the alternate repos defined. Then you could
compile once, deploy twice...
Kris
-Original Message-
From: David Jackman [mailto:[EMAIL
No idea, but I know this is what Apache do. A developer should be able
to tell you more.
On 5/5/06, David Jackman [EMAIL PROTECTED] wrote:
How does that work if both repositories are using different layouts (one
is default and the other is legacy)?
-Original Message-
From: Alexandre
Hi
Java Web User Group, London, UK is holding the eighteenth birds-of-a-feather at
the fabulous Waxy O'Connor pub in the West End of London from 7pm.
This will be a Pre-JAVAONE meet up and there is Kitty (whip around of cash
of £32.30 for drinks ). The venue is a little nostalgic for us
I have been working on an enhanced archetype concept
http://jira.codehaus.org/browse/ARCHETYPE-33
maybe it will get picked up
bryan hansen [EMAIL PROTECTED] wrote:
Well, it should work... If I put a folder under the
archetype resources directory such as:
thanks,
release:prepare -Dusername=myid =Dpassword=mypassword
did the trick
Alexandre Poitras [EMAIL PROTECTED] wrote:
There is a mistake there, the plugin uses username (user.name is
the OS user in Java).
On 5/4/06, Andrew Kreps wrote:
I'm not using SVN, but on the Maven site I
The maven-core artifact has a META-INF/plexus/components.xml that defines the
default implementations for all the components. One can create a plugin that
has it's own component.xml override and if a POM has this plugin configured
with extention-true then the override will occur.
I would
Wow, that may be my problem when doing documentation releases for
mojo.
If it is, look for more frequent releases from the project soon. ;)
Kris
-Original Message-
From: Aaron Anderson [mailto:[EMAIL PROTECTED]
Sent: Friday, May 05, 2006 3:00 PM
To: Maven Users List
Subject: Re: svn
I'm having a VERY odd compilation problem and am at a loss for why it would
occur. We're in the process of moving from Maven v1.1 to Maven 2. We ported
the project.xml files over to pom.xml, and succeeded in getting the build
going. Unfortunately, the new archive was failing to run.
After
On 5/5/06, Sean McNamara [EMAIL PROTECTED] wrote:
After chasing my tail for the last week, I took a look at the classfiles that
were giving us a problem in a hex editor, and see that the actual classfiles
differ in terms of the major and minor numbers in the classfile.
I only have a single
Hello all,
We are having problems getting Maven to pull dependencies from our in office
repo (maven-proxy). This is what happens. We have a few projects, A, B, C, D,
and E. A is parent to B-E. C-E all depend on B. D depends on C. I deploy all
projects, A-E, from my desktop to our in office
One other thing..
I see a trend in that all of our projects are snapshots. I remember reading
that you can disable snapshot dowloading from a given repo. Could this be my
problem? If so, how do I enable it for our repo?
-- Forwarded Message --
Subject: Dependency issues with
I fixed it! I had to enable snapshots for the in-office repo through a default
profile in my settings.xml. That cleared everything!
-- Forwarded Message --
Subject: Fwd: Dependency issues with in office repo...
Date: Friday 05 May 2006 4:19 pm
From: Clifton Craig [EMAIL
Mr. McNamara,
More information please:
- Which JVM do you have installed?
- When you say failing to run, under the same VM on the same machine,
or on another machine with what is assumed to be the same JVM?
One hypothesis, the default version for the jar-maven-plugin is getting
in your way.
Correction compile version, not jar version
-Original Message-
From: Bravo, Kris
Sent: Friday, May 05, 2006 5:38 PM
To: Maven Users List
Subject: RE: Odd Compilation Issue
Mr. McNamara,
More information please:
- Which JVM do you have installed?
- When you say failing to run,
Well, then I'd suggest just manually removing the project dependency
setting the repository dependency.
Alternatively, you can try to add target/generate-sources as a
source folder in the XSD project. It's not perfect, in that there
will be a lot of errors shown about not being able to resolve
Grats!
Fastest self-turnaround ever! :)
-Original Message-
From: Clifton Craig [mailto:[EMAIL PROTECTED]
Sent: Friday, May 05, 2006 5:10 PM
To: users@maven.apache.org
Subject: Fwd: Dependency issues with in office repo...
I fixed it! I had to enable snapshots for the in-office repo
thanks dan. my assembly config is in a parent pom, and when i try to configure
the binding (i was using assembly:assembly, don't know if that make a
difference) i could not install or deploy the pom due to the below error. is
there a way to stop stop this or do i need to configure the
Jake, the below structure works for me
parent
pom.xml
child-1
pom.xml
child-2
pom.xml
.
child-assembly
pom.xml bind assembly:attached to package phase ( you need to
get the assembly plugin from svn and build it your self )
On 5/5/06, Jake Pezaro [EMAIL PROTECTED]
On Fri, 2006-05-05 at 14:20 -0700, Sean McNamara wrote:
I'm having a VERY odd compilation problem and am at a loss for why it would
occur. We're in the process of moving from Maven v1.1 to Maven 2. We ported
the project.xml files over to pom.xml, and succeeded in getting the build
going.
I think this would be a worthwhile addition to JIRA. I'm not sure if
it's already in there. I know it was pointed out as an issue a while
ago and we were going to look at changing the behaviour from automatic
append to controlled appending by expressions like you've highlighted
in a future
${pom.foo} = ${project.foo} = ${foo}
2.1 will need to document which is correct and deprecate the others.
I'd been using ${project.foo} myself for consistency with the plugin
API.
- Brett
On 5/6/06, Howard Lewis Ship [EMAIL PROTECTED] wrote:
What are the differences between ${pom.foo} and
You need a snapshot of the plugins from SVN for this (though I am
working on the releases right now). Only JXR and Javadoc support it as
its a piece of functionality that must be implemented for each plugin
at a time.
The logic says that if aggregate = true and project is not the root
project,
We have a proper model for this in the upcoming release, and
${reports} is deprecated in favour of menu ref=reports / for
example to make it easier to use the XSD, etc.
I'm not sure what elements you find yourself repeating - most of them
are defaulted to the values from the project and should
Right.
The technique in JXR and Javadoc is going to be similar to PMD and
taglist. Same for checkstyle too.
Surefire report will be somewhat different as it has to merge xml
files instead of just changing the input source directories.
- Brett
On 5/6/06, Torsten Curdt [EMAIL PROTECTED] wrote:
89 matches
Mail list logo