Failed to fine a pom file. - please help

2009-07-09 Thread Sam Wun
Hi, I was trying to install an RESTeasy example, but got some errors when Maven tried to download a pom file. This example I want to install: /usr/resteasy-jaxrs-1.1.GA/examples/spring-hibernate Getting the following errors: spring-hibernate # !mv mvn clean install [INFO] Scanning for projects...

Re: Failed to fine a pom file. - please help

2009-07-09 Thread Anders Hammar
According to the Resteasy docs, it should be at the jboss maven repo. But it's missing. I guess you should file a jira. /Anders On Thu, Jul 9, 2009 at 08:19, Sam Wunswun2...@gmail.com wrote: Hi, I was trying to install an RESTeasy example, but got some errors when Maven tried to download a

Re: Using UmlGraphDoc with Maven

2009-07-09 Thread Jeff Mutonho
Thanks Paul , but I still seem out of luck. I downloaded UmlGraph version 4.8 and installed it as mvn install:install-file -Dpackaging=jar -DartifactId=UmlGraph -Dversion=4.8 -Dfile=C:/devenv/UMLGraph-4.8/lib/UmlGraph.jar -DgroupId=gr.spinellis -DgeneratePom=true then reconfigured the javadoc

RE: Using UmlGraphDoc with Maven

2009-07-09 Thread Mohan KR
I have using both UMLGraph and Apiviz, at least with APIViz you don't need to 'install' the UMLgraph, it is available from jboss repo. Of course, both of them require the dot.exe to be available in the classpath. http://code.google.com/p/apiviz/ Thanks, mohan kr -Original Message-

Re: Cookbook

2009-07-09 Thread Arnaud HERITIER
On Thu, Jul 9, 2009 at 7:30 AM, Peter Horlock peter.horl...@googlemail.comwrote: The priority for a while has been this book: http://tr.im/rnFW Look for the repo book to get a little thicker over the next month, and then expect the m2eclipse book Why working on the Nexus book? Nexus is

Re: Cookbook

2009-07-09 Thread Arnaud HERITIER
How about a +1 to make then fully-finished :) you want to take the lead ?? :-)

RE: Using UmlGraphDoc with Maven

2009-07-09 Thread Jason Chaffee
UmlGraph is in the central repo: docletorg.umlgraph.doclet.UmlGraphDoc/doclet docletArtifact groupIdorg.umlgraph/groupId artifactIddoclet/artifactId version5.1/version /docletArtifact Jason

RE: Using UmlGraphDoc with Maven

2009-07-09 Thread Jason Chaffee
see http://repo2.maven.org/maven2/org/umlgraph/ Jason From: Jason Chaffee [jason.chaf...@zilliontv.tv] Sent: Thursday, July 09, 2009 12:45 AM To: Maven Users List Subject: RE: Using UmlGraphDoc with Maven UmlGraph is in the central repo:

General purpose source generation plugin?

2009-07-09 Thread Lewis, Eric
Hi Am I missing something or is there no general purpose source generation plugin? I've written some plugins which generate files using Velocity, and that works well. However, I think that having to write a plugin every time that I want to generate a file is kind of overkill. So, do you know

Re: Using UmlGraphDoc with Maven

2009-07-09 Thread Jeff Mutonho
Thanks for all your responses. I've made progress. It now looks like my problem is with Graphviz's dot.exe program. It crashes even from the command like when I do something as simple as dot -V . Says it failed to initialize properly..blah blah ...the usual Windows stuff :) Will let you know what

Re: Cookbook

2009-07-09 Thread Barrie Treloar
On Wed, Jul 8, 2009 at 10:05 PM, Tim O'Brientobr...@discursive.com wrote: I announced the book as an open source project (Creative Commons ND-NC-BY) in April.   It took us that long to clear up some lingering questions about licensing.  Here's the announcement: http://tr.im/rnDc If you want

How to instruct maven look for local repository first?

2009-07-09 Thread Sam Wun
Hi, I want to setup maven to look for resteasy-maven-import pom file in the local repository. Here is the file in my local repository: # !find find . -name resteasy-maven-import* ./repository/org/jboss/resteasy/resteasy-maven-import

Re: How to instruct maven look for local repository first?

2009-07-09 Thread Anders Hammar
If you look at the error message you see that the problem is that the parent of resteasy-maven-import (org.jboss.resteasy:resteasy-jaxrs-all:pom:1.2.RC1) can't be found. The resteasy-maven-import artifact is indeed found in the local repo. /Anders On Thu, Jul 9, 2009 at 11:51, Sam

Re: How to instruct maven look for local repository first?

2009-07-09 Thread Sam Wun
Oh yeah. I need to to change my glasses. :p On Thu, Jul 9, 2009 at 8:16 PM, Anders Hammarand...@hammar.net wrote: If you look at the error message you see that the problem is that the parent of resteasy-maven-import (org.jboss.resteasy:resteasy-jaxrs-all:pom:1.2.RC1) can't be found. The

Assemblies?

2009-07-09 Thread Jim Collings
I have a *.war file that is already constructed. All I want to do is Zip it together with some OpenSSO jars and an installation script. Problem is that I don't have a sufficient understanding of how the assembly file tools work. They don't seem to behave in a standard manner. Anyone know where I

Add a file to JAR *AFTER* compile?

2009-07-09 Thread Chris303
Hi I have the following directory structure. src --main java resources --META-INF services --processorFiles javax.annotation.processing.Processor When I build my jar I want to be able to copy the javax.annotation.processing.Processor file to the META-INF/services

Add a directory to an assembly?

2009-07-09 Thread Jim Collings
So what I want to produce is a zip file that contains: An installation script A directory with OpenSSO files for the app server. Possibly a directory with the app server itself. Problem: I can't, for the life of me, figure out how to copy and zip a directory into an assembly. I've been trying to

Re: Add a file to JAR *AFTER* compile?

2009-07-09 Thread Anders Hammar
I guess you could use the copy goal of the maven-dependency-plugin to do that. The trick would be to bind it to a phase that's after the compile phase (see http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Lifecycle_Reference). /Anders On Thu, Jul 9, 2009 at 13:26,

Dependencies missing from classpath

2009-07-09 Thread dave.pickard
I've built a Resource Adaptor and have a pom file that also builds and installs a separate client jar into my local repository. This all seems to work fine. I've then got a separate Web Service which has a dependency on the client jar file. The problem is that the client jar isn't added to the

Re: Using UmlGraphDoc with Maven

2009-07-09 Thread Roman Kournjaev
Hi I have made a similar effort to make the graphitz work a year ago. Took me a day or so. Since then not only the build takes longer , but also no one has ever looked at these uml diagrams at all. :-) From my point of view its just a waste of time. Roman On Thu, Jul 9, 2009 at 12:11 PM, Jeff

Re: Add a file to JAR *AFTER* compile?

2009-07-09 Thread Chris303
Ok thanks. I think I am going to back step then. I was doing all this to get around an apparant maven bug, but I dont want to hack into a deeper hole. I will make a post regarding my original problem first. Thank You. Chris Anders Hammar wrote: I guess you could use the copy goal of the

Problem building Jar for JDK6 Annotation Processor.

2009-07-09 Thread Chris303
According to the API, when creating a JAR which contains compile time an Annotation Processor it should follow the following structure. uk --foo bar --SomeAnnotationProcessor META-INF --services javax.annotation.processing.Processor And the javax.annotation.processing.Processor file

Re: Using UmlGraphDoc with Maven

2009-07-09 Thread Jeff Mutonho
On Thu, Jul 9, 2009 at 2:41 PM, Roman Kournjaev kournj...@gmail.com wrote: Hi I have made a similar effort to make the graphitz work a year ago. Took me a day or so. Since then not only the build takes longer , but also no one has ever looked at these uml diagrams at all. :-) :) Have you

Re: Using UmlGraphDoc with Maven

2009-07-09 Thread Roman Kournjaev
I googeled for it right now. Is it worth reading ? On Thu, Jul 9, 2009 at 5:10 PM, Jeff Mutonho ejbeng...@gmail.com wrote: On Thu, Jul 9, 2009 at 2:41 PM, Roman Kournjaev kournj...@gmail.com wrote: Hi I have made a similar effort to make the graphitz work a year ago. Took me a day or

Reporting Plugins Not Inheriting Versions

2009-07-09 Thread Jeff Storey
Hi, I have a few reporting plugins defined in the reporting section of my POM. According to http://docs.codehaus.org/display/MAVENUSER/Reporting+Plugins, when I invoke the goals from the command line, the configurations from the reporting sections should be used. The configurations are in fact

Reporting Plugins Not Inheriting Versions

2009-07-09 Thread Jeff Storey
Hi, I have a few reporting plugins defined in the reporting section of my POM. According to http://docs.codehaus.org/display/MAVENUSER/Reporting+Plugins, when I invoke the goals from the command line, the configurations from the reporting sections should be used. The configurations are in fact

Checkstyle

2009-07-09 Thread Adam Purkiss
This has been likely asked before but do we know when checkstyle maven plugin will be updated or how I can make it use the current version of checkstyle. Checkstyle without generic support among other things is really pointless as it barfs all over my code

Re: Checkstyle

2009-07-09 Thread Wayne Fay
This has been likely asked before but do we know when checkstyle maven plugin will be updated or how I can make it use the current version of checkstyle. Checkstyle without generic support among other things is really pointless as it barfs all over my code Search the Maven User archives at

mvn assembly:assembly won't package jars and ears, but mvn package will

2009-07-09 Thread David Weintraub
We have a project we're converting over to Maven. The structure is a bit convoluted: Project Root apps.war: Builds apps.war aimwebservices: Builds aimwebservices.war ear: Builds adinventory.ear. Contains all other modules projects adplanning: Builds adplanning.jar base

RE: Reporting Plugins Not Inheriting Versions

2009-07-09 Thread Mohan KR
Yup..got bitten by it..As a best practice you have to lock down the plugin version in the reporting section, it is *not* propogated from the pluginManagement I believe. (at least not in 2.0.9), I believe there is a JIRA issue to have a reportingManagement section or supposed to be fixed in 3.0.x

Unable to find resource...

2009-07-09 Thread Yang Zhang
I used install-file to install some jars of non-mavenized projects into my local repository. However, when building my dependent project, I keep getting (e.g.): Downloading: http://repo1.maven.org/maven2/org/apache/zookeeper/zookeeper/3.2.0/zookeeper-3.2.0.pom [INFO] Unable to find resource

Re: mvn assembly:assembly won't package jars and ears, but mvn package will

2009-07-09 Thread Tim O'Brien
David, It looks like com.solbright.adinventory.projects.base:jar:jar:2.1.2-SNAPSHOT can't be found in the local repository. Instead of running assembly:assembly by itself, try: mvn install assembly:assembly Better yet, why not just bind the assembly goal to the package phase of the project

Site generation tutorials?

2009-07-09 Thread David C. Hicks
Is there a decent tutorial out there anywhere on how to build the project site within Maven? I've found nothing that I would consider useful. MDG is rather short on details, too. I've got a multi-module project that I'm trying to get the site built and deployed for. It seems to build, but

Re: Unable to find resource...

2009-07-09 Thread Wayne Fay
messages from mvn, even though the build proceeds to work.  What's the right way to get rid of these downloads and warnings? You did not install the pom files along with the Jars. Check the documentation of the install plugin for the parameter -- I believe it is -DgeneratePom=true. Wayne

maven-site-plugin creating incorrect URLs

2009-07-09 Thread J . T . Halliley
Only on a UNIX (Solaris) build, I'm getting a target/site/index.html file with funky links to the generated pages: h5Project Information/h5 ul li class=none a href= ../export/local/build/development/fsb-components/ImagingConnector/?? Summary/a /li li class=none a href=

possible bug in maven release plugin

2009-07-09 Thread is_maximum
Hi I am using maven release plugin version 2.0 beta 9 this plugin works just fine with Subversion but after executing release:perform all the svn metadata will be removed or maybe corrupted and the project no longer will be updated from svn Is this a bug? do I have to report an issue? - --

RE: Site generation tutorials?

2009-07-09 Thread Martin Gainty
seems specific to web-application basedir or build folder parameters what is the J2EE Server you are using? did you supply all the necessary environment and .properties? for example in building axis in adb-codegen/pom.xml i have project basedir=. !-- later on i use the basedire which is current

Unable to find resource...

2009-07-09 Thread Yang Zhang
I used install-file to install some jars of non-mavenized projects into my local repository. However, when building my dependent project, I keep getting (e.g.): Downloading: http://repo1.maven.org/maven2/org/apache/zookeeper/zookeeper/3.2.0/zookeeper-3.2.0.pom [INFO] Unable to find resource

install-file -Dsources vs. -Dclassifier=sources

2009-07-09 Thread Yang Zhang
For install-file, what's the difference between using -Dsources=... and -Dclassifier=sources Dfile=...? It seems that the latter is the given example way to attach sources to a jar. I tried using -Dsources=..., and that doesn't seem to do anything/make any changes anywhere under ~/.m2/.

Copy goal result to given path

2009-07-09 Thread Carlos Ortiz
Hi, Is there any way to copy all package goal result to a single path for a multimodule project for example a pom with 3 modules each module is a single jar , so i like to be copy at C:\target\module1.jar, C:\target\module2.jar, C:\target\module3.jar instead of c:\module1\target\module1.jar ...

Getting source code for existing JARs

2009-07-09 Thread Singhal, Pulkit
Hello, I wanted to know if maven can be used to fetch source code for existing jars on a system? Can I simply point maven to a jar on my system and expect it to do its best to fetch the source code for the correct version according to my jar from its global repository? Can I do this via an

org.xml.sax.SAXNotRecognizedException: Feature: http://xml.org/sax/properties/lexical-handler

2009-07-09 Thread Rajashekar Kurelli
Hi, I am getting the following error when trying to run JUnit test classes using maven on some web services developed using axis. org.xml.sax.SAXNotRecognizedException: Feature: http://xml.org/sax/properties/lexical-handler at org.apache.axis.AxisFault.makeFault Any help is

Excluding all jboss provided

2009-07-09 Thread daniel.green
Do I have to go through and manually mark each dependency that jboss already includes as provided or is there a way to inherit something that does this for me? Perhaps a list? -- View this message in context: http://www.nabble.com/Excluding-all-jboss-provided-tp24418333p24418333.html Sent from

Re: Excluding all jboss provided

2009-07-09 Thread Anders Hammar
Starting with Maven 2.0.9 there is a possibility to import another pom. That pom could have the dependencyManagement you're talking about. However, I don't think that such a pom already exists, so you need to create it yourself. However, when that's done you could reuse it. More info:

Re: Copy goal result to given path

2009-07-09 Thread Anders Hammar
Not sure what you want to accomplish, but the way to do this (sort of) is to create a forth module (or possibly in the top pom) where you copy the artifacts of the three modules through the dependency plugin (http://maven.apache.org/plugins/maven-dependency-plugin/copy-dependencies-mojo.html).

Re: Getting source code for existing JARs

2009-07-09 Thread Anders Hammar
Hi, Not the magically way I think you're asking for, no. Not to my knowledge anyhow. What you could do, is to try to find out what artifact you have an then, if you're lucky, the source code might exist in a repository (central for instance). One way to find out what artifact you have is to use

Re: Unable to find resource...

2009-07-09 Thread Wayne Fay
I used install-file to install some jars of non-mavenized projects into my local repository.  However, when building my dependent project, I keep getting (e.g.): I replied to this several hours ago in another thread that you started with the same subject. Any particular reason you sent this

RE: Getting source code for existing JARs

2009-07-09 Thread Martin Gainty
take a look at maven-emma http://emma.sourceforge.net/maven-emma-plugin/cvs-usage.html maven scm:checkout-project -Dmaven.scm.method=cvs -Dmaven.scm.cvs.module=plugins/maven/maven-emma-plugin/

Re: Maven 1.0.2 Errors

2009-07-09 Thread Dunstall, Christopher
No one has seen this at all? Chris On 9/07/09 2:53 PM, Dunstall, Christopher cdunst...@csu.edu.au wrote: Hi, Lately, I've been getting some really bizarre behaviour from running junit tests in Maven 1.0.2. The tests were written in Eclipse, where they run fine. However, when I run a maven

Re: Maven 1.0.2 Errors

2009-07-09 Thread Wayne Fay
No one has seen this at all? Very few people are running M1 at this point, IME. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Re: Maven 1.0.2 Errors

2009-07-09 Thread Dunstall, Christopher
So does that mean M1 is no longer supported? C On 10/07/09 10:06 AM, Wayne Fay wayne...@gmail.com wrote: No one has seen this at all? Very few people are running M1 at this point, IME. Wayne - To unsubscribe, e-mail:

Re: Getting source code for existing JARs

2009-07-09 Thread Barrie Treloar
On Fri, Jul 10, 2009 at 5:25 AM, Singhal, Pulkitpulkit.sing...@hp.com wrote: Hello, I wanted to know if maven can be used to fetch source code for existing jars on a system? Can I simply point maven to a jar on my system and expect it to do its best to fetch the source code for the correct

Re: Add a directory to an assembly?

2009-07-09 Thread Dirk Olmes
Jim Collings wrote: So what I want to produce is a zip file that contains: An installation script A directory with OpenSSO files for the app server. Possibly a directory with the app server itself. Problem: I can't, for the life of me, figure out how to copy and zip a directory into an

Re: Maven 1.0.2 Errors

2009-07-09 Thread Wayne Fay
So does that mean M1 is no longer supported? There are just a lot fewer people on this list using M1 than in the past. So don't be surprised when it takes longer than 24 hrs to get a response to an M1 question. And, you may never get a response, but that's true for M2 also. Wayne

Re: Maven 1.0.2 Errors

2009-07-09 Thread Dunstall, Christopher
I'll wait and see if someone out there happens to see my email and knows an answer. Thanks for taking the time to answer me anyway. :) Chris On 10/07/09 1:47 PM, Wayne Fay wayne...@gmail.com wrote: So does that mean M1 is no longer supported? There are just a lot fewer people on this list

Online Poll for Maven Cookbook

2009-07-09 Thread Peter Horlock
Hi, I can't wait to see the Maven cookbook from Tim O'Brien - but Tim said he's going to work more on the Definitve guide and the m2eclipse book first, after he has worked on the nexus book. So if the cookbook will ever appear, it will be the last in line! :-( Let's change that! :-) I've started