Hi guys,
i'm just starting to play around with maven as a candidate for our whole
build/deploy system for java applications.
we're been programming so far using Perl, packaging with Rpm on Fedora and
Deploying it though a local yum repository.
We still haven't decided if we could ditch the
The Mojo team is pleased to announce the release of the JAXB 2.1 Plugin,
version 1.3.
This plugin is able to create the object graph from XSDs or DTDs based on the
JAXB 2.1 implementation.
With this release it's also possible create a schemafile for sources.
See the plugin's site for
I may want to try using wagon-maven-plugin to ship your rpm to a
location at your yum server. note wagon plugin knows about scp but
not yum infrastructure
On Fri, Nov 6, 2009 at 2:36 PM, eyal edri eyal.e...@gmail.com wrote:
Hi guys,
i'm just starting to play around with maven as a candidate
It is not that difficult to write your own maven plugin to achieve this.
You'll probably want to depend on JSch.
File transfer via SCP/SFTP is easy with JSch, and then you can execute
the make command to re-index the repository... although you probably
would prefer to skip the make and instead
Stephen, i just typed faster then you in 2 seconds :-)
On Mon, Nov 9, 2009 at 12:59 AM, Stephen Connolly
stephen.alan.conno...@gmail.com wrote:
It is not that difficult to write your own maven plugin to achieve this.
You'll probably want to depend on JSch.
File transfer via SCP/SFTP is easy
Thanks for the detailed answer!
i'll look into it and let you know the progress.
Cheers,
Eyal.
On Mon, Nov 9, 2009 at 10:59 AM, Stephen Connolly
stephen.alan.conno...@gmail.com wrote:
It is not that difficult to write your own maven plugin to achieve this.
You'll probably want to depend
In case you hadn't guessed, I have code for similar ... though it's
not deploying rpms to an rpm repository, rather deploying a custom
deployable to a propriatory server ;-)
2009/11/9 Dan Tran dant...@gmail.com:
Stephen, i just typed faster then you in 2 seconds :-)
On Mon, Nov 9, 2009 at
And that snippet is all I can copy and paste under OS license ;-)
2009/11/9 Stephen Connolly stephen.alan.conno...@gmail.com:
In case you hadn't guessed, I have code for similar ... though it's
not deploying rpms to an rpm repository, rather deploying a custom
deployable to a propriatory
Hi!
I am using the torque plugin for maven and I am trying to set goal-specific
configurations but when I run the goal. Maven can't find the parameters.
When I do a global configuration, everything works. Like this:
plugin
groupIdorg.apache.torque/groupId
On Mon, Nov 9, 2009 at 06:42, maven apache apachemav...@gmail.com wrote:
Add a dependency to that and it will end up in the lib folder. Create
that extra jar artifact with a classifier in the Sa project.
If so I will have to jars under the lib,and this two jars own some same
classes,
The id param could be anything. It's just your name/id of the binding.
/Anders
On Mon, Nov 9, 2009 at 10:41, Ludwig Magnusson lud...@itcatapult.comwrote:
Hi!
I am using the torque plugin for maven and I am trying to set
goal-specific
configurations but when I run the goal. Maven can't
Hello,
I would like to create an archetype with a default directory structure.
After the directories are created, I'd like the archetype to execute a
Perl script. How can I do this?
Thanks, Csaba
-
To unsubscribe,
2009/11/9 Ludwig Magnusson lud...@itcatapult.com:
Hi!
I am using the torque plugin for maven and I am trying to set goal-specific
configurations but when I run the goal. Maven can't find the parameters.
When I do a global configuration, everything works. Like this:
plugin
Thank you very much.
-Original Message-
From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com]
Sent: den 9 november 2009 11:45
To: Maven Users List
Subject: Re: Specific goal gonfiguration in maven does not work
2009/11/9 Ludwig Magnusson lud...@itcatapult.com:
Hi!
I am
Hi,
I have Eclipse ganymede installed and I downloaded m2eclipse plugin to
enable eclipse manage eclipse projects.
The download was successfully but I can install projects. It kept saying
this:
constituent12:
This is a question for the m2eclipse user list. But, you need to run Eclipse
with a JDK, not a JRE. You're doing that wrong. What you need to do is
explained here:
http://www.jguru.com/forums/view.jsp?EID=1367369
/Anders
On Mon, Nov 9, 2009 at 12:49, lekkie lekkie.ay...@gmail.com wrote:
Hi,
Hi there,
Post build, I'm building a zip file using the assembly plugin and for some
reason when the archive is unzipped on the target machine all directories have
777 permissions i.e. drwxrwxrwx.
This only happens on our production build server, on our dev CI server the
archive is produced
A new question on this subject.
If I have several goals for the same plugin that I want special
configuration for and all are run from the command line, not part of any
phase. Is that possible?
Maven complains when I define 2 executions with iddefault-cli/id since
two executions can't have the
Hi,
anyone knows if the jdbc driver is available via maven repository? and
what's its groupid?
I downloaded the sqljdbc4.jar from Microsoft and set a 'system' dependency,
is that the only way to do it?
dependency
groupIdcom.microsoft.sqlserver.jdbc/groupId
2009/11/9 Ludwig Magnusson lud...@itcatapult.com:
A new question on this subject.
If I have several goals for the same plugin that I want special
configuration for and all are run from the command line, not part of any
phase. Is that possible?
only if the configuration requirements of each
I´m having this same problem while subscribing do m2eclipse mailing list.
maven apache wrote:
2009/11/7 Brian Fox bri...@infinity.nu
On Fri, Nov 6, 2009 at 3:48 AM, maven apache apachemav...@gmail.com
wrote:
2009/11/6 Olivier Lamy ol...@apache.org
BTW you can use m2e user ml
Thanks.
That resolved the JDK problem.
I'll post my other questions on the m2eclipse forum.
Anders Hammar wrote:
This is a question for the m2eclipse user list. But, you need to run
Eclipse
with a JDK, not a JRE. You're doing that wrong. What you need to do is
explained here:
mvn install:install-file
or
mvn deploy:deploy-file (if you have a repository manager, and you should)
are the correct ways to do this
systemPath is deprecated
2009/11/9 eyal edri eyal.e...@gmail.com:
Hi,
anyone knows if the jdbc driver is available via maven repository? and
what's its
Hello,
I have a very simple question regarding archetypes. I've created my own
basic archetype, and in archetype-resources/src/main/java/App.java I
wrote the following:
package $xxx
Installed the archetype, created a new project with it and also added
the -Dxxx=abc parameter... and it
Orthogonal? You mean that the all have different parameters?
Well I'm using the torque plugin and sad to say that is not the case.
Example: the parameter outputDir exists for several goals even though the
output is not the same at all for the different goals.
I don't think that maven is like ant.
Looks like I'm doing something very wrong, cause I followed that
tutorial and it still won't work.
In class com.cosylab.App.java I defined this:
String name = ${xxx};
note that I've also tried doing it like this:
String name = $xxx;
So it's just a simple project. I've created an
Thanks but I have sadly not yet joined the real world of Maven 2. I'm using
maven 1.1. Given this, any ideas about my questions?
- Dave
Dan Tran wrote:
by default maven2 runs in reactor mode ( equivalent of maven 1 multi
project )
so what you are looking for is
mvn deploy
The Mojo team is pleased to announce the release of the JBoss Maven Plugin
version 1.4.
http://mojo.codehaus.org/jboss-maven-plugin/
Some notable features in this release include improvements to the start-and-wait
mojo and general improvements to the plugin configuration. The plugin site has
You may want to look at the exec-maven-plugin which can execute programs
outside of Maven:
http://mojo.codehaus.org/exec-maven-plugin/
-Original Message-
From: Gajo Csaba [mailto:csaba.g...@cosylab.com]
Sent: Monday, November 09, 2009 5:13 AM
To: Maven Users List
Subject: Maven
I'm familiar with that plugin, but what I'm asking is completely
different. I want to create an archetype, and when I create a new
project based on that archetype, the archetype should invoke an external
script.
So the archetype would create the basic directory structure and files,
and when
Hi
I'm trying to activate resources filtering by using properties in the pom.
I've done several tests but the magic is still not happening ;)
To be absolutely sure of what is happening i've created a brand new empty
webapp with maven archetype.
My webapp tree is :
/pom.xml
/src/... (usual
If your sub-projects are of type jar then multiproject:install will run
jar:install automatically on all configured sub-projects.
See http://maven.apache.org/maven-1.x/plugins/multiproject/goals.html
HTH,
-Lukas
laredotornado wrote:
Hi,
I'm using Maven 1.1. I have model and service
i found the plexus source distro at
http://plexus.codehaus.org/source-repository.html
but when referencing plexus-utils i see a consistent error message of cannot
locate plexus-component-metadata
i noticed there is a hardcoded reference to .metadata in
org.codehaus.plexus.util.AbstractScanner
Nope - there are no markers created. Period.
Good thinking though!
Any other suggestions what may be wrong with this artifact? It opens just fine
in winzip.
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For
Sorry - and thank you!
Any suggestions or is this (confirmed as a) a bug?
-Original Message-
From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On Behalf Of
Anders Hammar
Sent: Saturday, November 07, 2009 2:07 AM
To: Maven Users List
Subject: Re: system scoped
I'm having the same problem. I've also received messages saying I've
subscribed but have seen no traffic in the past few weeks. Could someone
associated with the list (Jason Van Zyl, maybe) prod the administrators
there to make sure it's working as expected?
Thanks,
Damon
-Original
Don't think it's a bug, it's you using it the wrong way.
As I understand you, you have a dependency to some archive which you unpack.
In the same project you have a system scope dependency which points at some
jar that gets unpacked from the dependency above. Don't think that would
work and I
Below are the contents of my service/project.properties file ...
maven.multiproject.type=javaapp
maven.javaapp.jar.name=${pom.artifactId}-${pom.currentVersion}.jar
maven.javaapp.mainclass=myco.dor.dmv.driver.youthful.AddressFileProcessor
maven.javaapp.type=jar
maven.compile.target=1.5
What is
I have several projects which can't be converted over to maven right now,
mostly because of time constraints. The artifacts of these projects will be
used in a maven project. I'd prefer not to install them into my repository,
so I am trying to create a file system repository which points to a
Ah, you're using JBoss EAP? I have quite some experience from that I we had
to build our own JBoss EAP repo for a customer. What a pain to get all the
dependencies right... Never the less, it's the way to go I think.
It might be of interest for you that there is a JBoss jira for creating an
EAP
On Mon, Nov 9, 2009 at 12:00 PM, monkeyden monk...@monkeyden.com wrote:
I have several projects which can't be converted over to maven right now,
mostly because of time constraints. The artifacts of these projects will be
used in a maven project. I'd prefer not to install them into my
I just ran into a problem with the import scope feature. It does not
resolve properly. I.e.
Project B uses import scope feature on Project A.
Project C uses import scope feature on Project B.
Project C cannot build because it says that A does not exist.
I'm using maven 2.1.0, has this been
Well, that's interesting - here's the thing - if you use opensource, community
edition version of jboss, then you can depend on the jboss repository.
If, however, you depend on the commercial version, patches (to both files and
jars) are delivered in a different fashion (from what I can tell).
I assume that project B builds just fine?
Never had import dependency in two levels like you have, so I don't know if
it's a known bug being fixed. Try Maven 2.2.1 and see, or search jira!
/Anders
On Mon, Nov 9, 2009 at 20:15, David Hoffer dhoff...@gmail.com wrote:
I just ran into a problem
Yes, building project B is just fine...I thought I had a working solution
using import scope. Then other developers in our company tried building C
and reported the failure. What I note in the console error is:
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
Unable
to
Thanks but I have sadly not yet joined the real world of Maven 2. I'm using
maven 1.1. Given this, any ideas about my questions?
You really should/must move to Maven2 asap. There is almost no good
reason to remain on M1, and the pain of migrating to M2 is pretty
minor vs the immediate
Thanks again - yes - spot on.
We've also recycled some scripts (so ours call the run script) so we
physically need more than just the dependencies.
-Original Message-
From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On Behalf Of
Anders Hammar
Sent: Monday, November
Sorry, no. I would investigate why it's looking in central first of all
though.
/Anders
On Mon, Nov 9, 2009 at 20:25, David Hoffer dhoff...@gmail.com wrote:
Yes, building project B is just fine...I thought I had a working solution
using import scope. Then other developers in our company
Ah, and as always. It might help building a very simple project to reproduce
this. Removing all unimportant parts. If it then works, you know it's not a
Maven bug. If it still doesn't work, you have an example that reproduces the
issue that you can attach to the jira. That increases the likelihood
Vote on this:
https://jira.jboss.org/jira/browse/JBPAPP-1935
/Anders
On Mon, Nov 9, 2009 at 20:30, EJ Ciramella ecirame...@upromise.com wrote:
Thanks again - yes - spot on.
We've also recycled some scripts (so ours call the run script) so we
physically need more than just the dependencies.
Sadly, the decision to move to maven 2 is beyond my control. I know the
company has plans for it, but for now this is the hand I was dealt.
If you have any insights into the question posed, I am grateful. - Daev
Wayne Fay wrote:
Thanks but I have sadly not yet joined the real world of
Good idea for sure.
I tried maven v2.2.1 and it had the same problem. I'm going to try to use A
as my parent for now. A is more than I want/need as my parent but should
work.
-Dave
On Mon, Nov 9, 2009 at 12:39 PM, Anders Hammar and...@hammar.net wrote:
Ah, and as always. It might help
monkeyden wrote:
I have several projects which can't be converted over to maven right now,
mostly because of time constraints. The artifacts of these projects will
be
used in a maven project. I'd prefer not to install them into my
repository, so I am trying to create a file system
This was happening cause we never were using jnlp download servlet, the
project earlier was just using jnlp files only.
This use versions of the jar in the jnlp. Configure project to use jnlp jars
which i could not find any where on maven so i added them to my local repo
but you should find
in case anyone is interested plexus-components is a bit of a red-herring
the required Plexus classes are now located in plexus-io
more importantly plexus is not located in either the repo1.maven.org or
people.apache.org repositories
so you'll need to reconfigure the Plexus plugins to point to
2009/11/9 Martin Gainty mgai...@hotmail.com:
in case anyone is interested plexus-components is a bit of a red-herring
the required Plexus classes are now located in plexus-io
more importantly plexus is not located in either the repo1.maven.org or
people.apache.org repositories
so you'll
Sorry about that, the new page was wrong and I just fixed it. The
correct list is still on codehaus:
user-subscr...@m2eclipse.codehaus.org
On Mon, Nov 9, 2009 at 9:21 AM, Damon Silver damon.sil...@diio.net wrote:
I'm having the same problem. I've also received messages saying I've
subscribed
I would expect an error, I can only suggest attaching a debugger to
the plugin and see what's going on.
On Mon, Nov 9, 2009 at 9:06 AM, EJ Ciramella ecirame...@upromise.com wrote:
Nope - there are no markers created. Period.
Good thinking though!
Any other suggestions what may be wrong with
yes it doesn't work of used more than once.
I came across it yesterday. I had two execution blocks, unpacking two
diff jars at two diff phases. only one of them was unpacked and there
was no error.
I ended working around it by chanding the second goal to copy. I then
unjar ed it using antrun.
Just set overWrite=true
On Mon, Nov 9, 2009 at 4:12 PM, Sony Antony sony.ant...@gmail.com wrote:
yes it doesn't work of used more than once.
I came across it yesterday. I had two execution blocks, unpacking two
diff jars at two diff phases. only one of them was unpacked and there
was no
Yes, the dependency report does completely bypass the normal
repository mechanism and thus Nexus. This needs to be fixed, but noone
has attempted it yet that I know of.
On Thu, Nov 5, 2009 at 9:56 PM, Stevo Slavić ssla...@gmail.com wrote:
Using Nexus already. Any advices what needs to be
For this very reason, I've set up my builds to only build the full
dependency report when I specify it - normally for nightly and release
builds. It keeps my development and continuous integration builds short
and sweet. It's a simple thing to activate a profile for the longer
builds to produce
Any help please?
-Mensaje original-
De: Exposito Aguilera, Francisco
Enviado el: viernes, 06 de noviembre de 2009 12:54
Para: 'Maven Users List'
Asunto: Doubt about how create archetype
I am trying to create an archetype with this structure:
ProjectName
src/main/java
Hi Francisco,
Try by creating the project you would like to have and
call mvn archetype:create-from-project on it.
You will get the archetype project in target/generated-sources/archetype.
In that directory you will find the
src/main/resources/META-INT/maven/archetype-metadata.xml file that
64 matches
Mail list logo