Re: Release Failure

2006-05-24 Thread Jakub Pawlowicz
Hi Andrew, I'm using the latest version available on ibiblio - ie 2.0-beta-4. I'll try to use beta-3 and beta-5-SNAPSHOT, and post some feedback here. Regards, Jakub On Wed, 24 May 2006 16:21:27 -0700, Andrew Kreps wrote > What version of the release plugin are you using? I found that I had > l

Re: Notifier from command line

2006-05-24 Thread dan tran
note that custom sendmail plugin can only send notification when build success. -D When build fail, maven exists right away wiout On 5/24/06, Max Cooper <[EMAIL PROTECTED]> wrote: The free Better Builds With Maven book available from Mergere has an example plugin that does some kind of email

Re: Notifier from command line

2006-05-24 Thread Max Cooper
The free Better Builds With Maven book available from Mergere has an example plugin that does some kind of email notification. This might serve as a good base for your own custom email notification plugin. See section 5.4.2 of the book: http://www.mergere.com/m2book_download.jsp -Max Wayne F

Re: Notifier from command line

2006-05-24 Thread Wayne Fay
You can configure Continuum to only build "on demand" instead of an hourly or daily build, if you want. In short, no, you cannot do what you want with Maven out of the box. You will have to write a plugin to support this or write a shell script to call Maven to do the build and then email the res

Re: Cobertura reports 0% for some classes

2006-05-24 Thread Allan Ramirez
You can also execute the clean in the command prompt with "mvn clean cobertura:clean cobertura:cobertura" -allan Jason Chaffee wrote: You can add the clean execution to the cobetura plugin executions to delete the .ser file during mvn clean. clean

Re: mvn deploy:deploy problem

2006-05-24 Thread Allan Ramirez
There is no file been set to your artifact. Try to execute mvn deploy only -allan Raymond N. Ritz wrote: All, When attempting to use mvn deploy:deploy or even if I try mvn deploy:deploy-file I am getting an error that reads "The packaging for this project did not assign a file to the build

Re: generated test sources

2006-05-24 Thread Cyrille Le Clerc
Hello Ingo, According to maven-antrun-plugin documentation, you should use and . My understanding is that and will be ignored if they don't raise errors. Extract from maven-antrun-plugin doc : * url : http://maven.apache.org/plugins/maven-antrun-plugin/usage.html * Extract : " adds a sin

Re: WEB-INF resources in test

2006-05-24 Thread Max Cooper
I don't have an answer, but I have some comments that may help you find a solution... jdwyah wrote: My tests need to access the templates in WEB-INF/freemarker If I configure my directory with the standard src/main/java src/main/webapp/WEB-INF/freemarker/myTemplate.ftl src/main/resources/appl

Re: Release Failure

2006-05-24 Thread Andrew Kreps
What version of the release plugin are you using? I found that I had less trouble when specifying the 2.0-beta-4 version rather than 2.0-beta-5-SNAPSHOT. On 5/24/06, Jakub Pawlowicz <[EMAIL PROTECTED]> wrote: Hi everyone, I'm facing the same problem with my project. Have anybody solved this p

Re: Notifier from command line

2006-05-24 Thread Alexandre Poitras
Well it should not be hard to write a plugin using JavaMail since all the information can already be injected from the pom. On 5/24/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Thanks for your reply But i don't want to use any CI tool , coz my builds are based on only request and there are

Re: Notifier from command line

2006-05-24 Thread raghurajan . x . gurunathan
Thanks for your reply But i don't want to use any CI tool , coz my builds are based on only request and there are some other reason we don't want to use any CI tool thats why i'm looking for some way to send notification mail from command line Thanks, Raghu "ben short" <[EMAIL PRO

Re: Notifier from command line

2006-05-24 Thread ben short
Maven Continuum can send notifications about the outcome of builds. But i guess you want to inform people that a new release is available and they should update their dependancies or use the -U flag. On 5/24/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi All, I googled lot but never got a

Notifier from command line

2006-05-24 Thread raghurajan . x . gurunathan
Hi All, I googled lot but never got answere for this Is this possible to send build notification when we do command line build in maven like when i run " mvn clean deploy" from command line , if something fails / build success it should send a notificaiton to notifiers specified in pom or som

Re: Version of current Mojo

2006-05-24 Thread G. B.
Trygve Laugstøl-5 wrote: > > > InputStream is = > this.getClass().getResource("/META-INF/maven/groupid/artifactid/pom.properties") > > oh yess I forgot about that file. Thanks a lot! Guillaume -- View this message in context: http://www.nabble.com/Version+of+current+Mojo-t1674737.html#a4549

Re: How to update maven plugins

2006-05-24 Thread Lee Meador
http://jira.codehaus.org/browse/CONTINUUM-711 On 5/24/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: mvn -U is actually the best way because the plugin registry isn't optimal yet ( http://maven.apache.org/guides/introduction/introduction-to-plugin-registry.html) and will be refactored in maven

Re: CVS Checkout fails with "Username isn't defined."

2006-05-24 Thread ertnutler
Thanks for your response. I've pasted the stack trace below. Build Error: org.apache.maven.continuum.scm.ContinuumScmException: Error while up

Re: [M2]EAR deploy... anyone has an example of pom.xml with jboss4

2006-05-24 Thread Marco Mistroni
hello, it's easier to deploy your ear directly into jboss directory, if this is what you ar elookiin gfor.. org.apache.maven.plugins maven-ear-plugin ExpenseControl ejbs

Re: mvn clean and mvn install vs. mvn clean install

2006-05-24 Thread Max Cooper
Post the build output that shows the failure. -Max Ingo Düppe wrote: hi, what is the difference between to separate calls of "mvn clean" and then "mvn install" to one call of "mvn clean install". I thought these calls would be equals, but the second one fails within my project. Regards Ing

WEB-INF resources in test

2006-05-24 Thread jdwyah
My tests need to access the templates in WEB-INF/freemarker If I configure my directory with the standard src/main/java src/main/webapp/WEB-INF/freemarker/myTemplate.ftl src/main/resources/applicationContext.xml test/main/resouces/--nothing here-- My tests that require applicationContext.xml w

Re: [M2] ERROR deploy - Deployable failed to finish deploying within the timeout period [20000].

2006-05-24 Thread Leo L
Thx again Wayne! U right! I´ll try the cargo´s user list. See you. 2006/5/24, Wayne Fay <[EMAIL PROTECTED]>: This is not really a Maven question -- instead its a Cargo problem/issue. If you are lucky, some kind Cargo user/dev will see your post here, but you should probably cross-post it to

Re: [M2] ERROR deploy - Deployable failed to finish deploying within the timeout period [20000].

2006-05-24 Thread Wayne Fay
This is not really a Maven question -- instead its a Cargo problem/issue. If you are lucky, some kind Cargo user/dev will see your post here, but you should probably cross-post it to the Cargo Users list if you want a response. Wayne On 5/24/06, Leo L <[EMAIL PROTECTED]> wrote: Hi! When i run

Re: Need information on maven proxy

2006-05-24 Thread ben short
Gautham, Here is a maven-proxy.properties file that I have used... GLOBAL SETTINGS # This is where maven-proxy stores files it has downloaded repo.local.store=./repo #The port to listen on - not used if loaded as a webapp port= #This is the base area that all files are loa

Re: [M2]EAR deploy... anyone has an example of pom.xml with jboss4

2006-05-24 Thread Leo L
Thx Wayne!!! I saw the thread and helps a lot... i solved that problem but came another... I asked for the list. Subject: Deployable failed to finish deploying within the timeout period [2]. if u can help... Regards Leo 2006/5/24, Wayne Fay <[EMAIL PROTECTED]>: This has been discussed

Re: Need information on maven proxy

2006-05-24 Thread ben short
Gautham, Yes sorry I should of checked that the links worked. The codehaus site has been down, i saw that the page was back and assumed that the links to the config files would work. Ben On 5/24/06, Gautham Pamu <[EMAIL PROTECTED]> wrote: Hi Ben, I have tried to access that link already...I a

[M2] ERROR deploy - Deployable failed to finish deploying within the timeout period [20000].

2006-05-24 Thread Leo L
Hi! When i run mvn install to deploy my EAR, i get this fatal error: [INFO] Deployable failed to finish deploying within the timeout period [2]. The Deployable state is thus unknown. ... but when i saw in my c:/jbossHome/.../deploy... my EAR was copied to there. I realized that happens when

Re: Need information on maven proxy

2006-05-24 Thread Gautham Pamu
Hi Ben, I have tried to access that link already...I am getting 404 error D'oh 404 The requested resource cannot be found. Referer: http://maven-proxy.codehaus.org/Configuration You are running release 1.1.3 (build-1.1-119 2006-04-10), please report your release number when reporting bugs. T

How to update maven plugins

2006-05-24 Thread Lee Meador
When I want to update maven 2 plugins (normally) I do a "mvn -U " and all the plugins needed for that target are evaluated and, perhaps, updated. I am running Continuum in its own place with its own settings.xml and its own repository. I can update things by going to a continuum working folder an

Re: Does Maven bundle jars & resources into a single target?

2006-05-24 Thread Wayne Fay
In short, no, this is not the regular use case for Maven. But you can certainly create a package like this using the Assembly plugin. Search the User list for "jar-with-dependencies" for details. Wayne On 5/24/06, Mike Markovich <[EMAIL PROTECTED]> wrote: Hi All, I'm trying to figure out what

mvn clean and mvn install vs. mvn clean install

2006-05-24 Thread Ingo Düppe
hi, what is the difference between to separate calls of "mvn clean" and then "mvn install" to one call of "mvn clean install". I thought these calls would be equals, but the second one fails within my project. Regards Ingo -

Does Maven bundle jars & resources into a single target?

2006-05-24 Thread Mike Markovich
Hi All, I'm trying to figure out what output I should ultimately expect from Maven. My question, does Maven have the capability to put everything needed to run an application in one place or is a follow up script needed to actually produce an executable application? It seems this should be done

RE: Cobertura reports 0% for some classes

2006-05-24 Thread Jason Chaffee
You can add the clean execution to the cobetura plugin executions to delete the .ser file during mvn clean. clean clean -Original Message- From: Jamie Bisotti [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 24, 2006

mvn deploy:deploy problem

2006-05-24 Thread Raymond Ritz
All, When attempting to use mvn deploy:deploy or even if I try mvn deploy:deploy-file I am getting an error that reads "The packaging for this project did not assign a file to the build artifact" . I am trying to use the deploy command to release a jar into our local repository. I have done t

mvn deploy:deploy error

2006-05-24 Thread Raymond Ritz
All, When attempting to use mvn deploy:deploy or even if I try mvn deploy:deploy-file I am getting an error that reads "The packaging for this project did not assign a file to the build artifact" . I am trying to use the deploy command to release a jar into our local repository. I have done t

Re: Release Failure

2006-05-24 Thread Jakub Pawlowicz
Hi everyone, I'm facing the same problem with my project. Have anybody solved this problem by now? Regards, Jakub On May 16, 2006, at 2:22 AM, Chas Douglass wrote: I was successfully using "mvn release:prepare" on Friday. After the upgrades and problems over the weekend I'm assuming somethi

Re: how do you set up your filters for deploying?

2006-05-24 Thread Wayne Fay
I just use a profile for each environment, and then provide properties for each env in the profile, and filter my configuration files etc during the build so the proper settings are placed in each config file during the filter step. Then I run "mvn package -P {environment}" to build the proper pac

Re: generated test sources

2006-05-24 Thread Ingo Düppe
hi dan, the build-helpder-maven-plugin works fine to me. But currently I have to configure it for all my submodule projects. How can I configure the plug in in my top-level project for all my modules? Regards Ingo My current configuration in the module projects: org.codehaus.mojo

Re: how do you set up your filters for deploying?

2006-05-24 Thread Kris Nuttycombe
The approach that I've taken is to specify my deployment target on the command line and have separate filters for each possible target. Here's the relevant section of POM: ${artifactId}-${targetHost}-${version} src/main/filters/${targetHost}.properties

Re: M2 - Convention for deploying jars needed at run time.

2006-05-24 Thread Wayne Fay
Please provide more details. What kind of project are you building -- J2EE webapp with EJB and WAR? Swing fat client? Something else entirely? The answer will depend on what type of project you are building and other details that we can't know until you tell us about them. Wayne On 5/24/06, Mik

Re: [M2]EAR deploy... anyone has an example of pom.xml with jboss4

2006-05-24 Thread Wayne Fay
This has been discussed on the User list more than once, here's a thread you should look at, provides configuration details and urls to pages on the Cargo site that should help: From: Anshuman Srivastava <[EMAIL PROTECTED]> Date: Apr 26, 2006 8:22 AM Subject: Deployment of war file using JBOSS Pe

managing dependings for a library

2006-05-24 Thread Dan Adams
For a library that will be used in other projects, how do you make it so that if you exclude a dependency in the project that the exclusion is kept when the library is used in another project? -- Dan Adams Software Engineer Interactive Factory 617.235.5857 --

mvn deploy:deploy problem

2006-05-24 Thread Raymond N. Ritz
All, When attempting to use mvn deploy:deploy or even if I try mvn deploy:deploy-file I am getting an error that reads "The packaging for this project did not assign a file to the build artifact" . I am trying to use the deploy command to release a jar into our local repository. I have done t

Re: Dependeny tree

2006-05-24 Thread Carlos Sanchez
or in the maven project-info report On 5/24/06, Wim Deblauwe <[EMAIL PROTECTED]> wrote: run mvn -X, the complete build-up ofthe dependencies is in there (while not very readable, but the information is there) regards, Wim 2006/5/24, Roland Asmann <[EMAIL PROTECTED]>: > > Hi, > > Could someo

how do you set up your filters for deploying?

2006-05-24 Thread Dan Adams
I'm interested in knowing how people normally set up their filters for a web app. I need deploy multiple versions. one for testing normally in jetty, one for a staging server, and one for a live server. Any suggestions or places to read up on it? -- Dan Adams Software Engineer Interactive Factory

Re: Dependeny tree

2006-05-24 Thread Wim Deblauwe
run mvn -X, the complete build-up ofthe dependencies is in there (while not very readable, but the information is there) regards, Wim 2006/5/24, Roland Asmann <[EMAIL PROTECTED]>: Hi, Could someone tell me if it is possible to have Maven print the dependency tree for an artifact? I am gett

Dependeny tree

2006-05-24 Thread Roland Asmann
Hi, Could someone tell me if it is possible to have Maven print the dependency tree for an artifact? I am getting a couple of libraries transitive, but I have no clue as to which direct dependency of mine does this... And while I'm on the subject, could somebody explain to me how Maven would r

Re: Need information on maven proxy

2006-05-24 Thread Jeff Jensen
FYI: The Configuration page links to the files are still broken (The requested resource cannot be found. Referer: http://maven-proxy.codehaus.org/Configuration). I obtained it by following the fisheye links (hopefully it is current - last changed by Carlos 6 months ago, it says). -Original M

[M2] not being able to connect to secondary repo causes build to fail

2006-05-24 Thread Ian Springer
In addition to the central repo, I have an internal repo configured. This repo is on a VPN. When I am not connected to this VPN and I run mvn, if there are any deps that are not already in my local repo, the build fails as follows: Downloading: http://jbonqa04.staging.atl.jboss.com/jon/maven2/java

[M2]EAR deploy... anyone has an example of pom.xml with jboss4

2006-05-24 Thread Leo L
Hi everyone! I have a problem to deploy my App. with cargo plugin and jboss4. I saw the cargo documentation and i didnt get what i´m looking for. I would like to see any pom.xml with the configuration for deploying the ear into jboss4.0.2 using cargo plugin for maven 2. Any help would be great...

RE: How to prevent from deploying the same version of artefact twice?

2006-05-24 Thread Sean Hennessy
If one attempts to adopt the SCM recommendation / goal of separate development, unit test, integration, QA, and production environments it requires that developers be able to select ( through Maven profiles) any of the environments in order to reproduce and resolve behaviors (problems). The realiza

Re: How to prevent from deploying the same version of artefact twice?

2006-05-24 Thread ben short
Juri, It was a possible work around for the original poster who didnt want to use snap shots. Although Olivier's suggestion was better, imo. Ben On 5/24/06, Artamonov, Juri <[EMAIL PROTECTED]> wrote: Also just small question. What is the reason and benefit to have two repositories if release

RE: How to prevent from deploying the same version of artefact twice?

2006-05-24 Thread Artamonov, Juri
Also just small question. What is the reason and benefit to have two repositories if released versions can also be with SNAPSHOTS versions? -Original Message- From: Artamonov, Juri [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 24, 2006 7:12 PM To: Maven Users List Subject: RE: How to pre

RE: How to prevent from deploying the same version of artefact twice?

2006-05-24 Thread Artamonov, Juri
Thank you very much, Fay, for your comprehensive answer. Best regards, Juri. -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 24, 2006 7:01 PM To: Maven Users List Subject: Re: How to prevent from deploying the same version of ar

Re: NullPointerException in Release Plugin 2.0-beta-4

2006-05-24 Thread Mark Hobson
Was an issue raised for this? On 23/05/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote: Yup, solves the problem thank. On 5/23/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: > I think you'll can fix your pb if you define the version of the extension in your pom. > File an issue about it and w

Re: How to prevent from deploying the same version of artefact twice?

2006-05-24 Thread Wayne Fay
Juri, he's suggesting the following approach: 1. Set up a Maven prerelease repository. Your developers etc will deploy artifacts here so they will need read/write access. 2. Set up a Maven release repo. Your developers will only use this repo to pull down dependencies, so they will need read-only

Re: Trying to run goal site

2006-05-24 Thread Wayne Fay
Rajesh, I'm not sure, I just know that using system scoped dependencies is generally a bad idea, and seems to have caused problems with previous versions of the site plugin. Upgrade to the latest site plugin -- for some reason, I seem to recall it being fixed -- but I don't use system scoped dep

M2 [surefire-report-plugin] output frames

2006-05-24 Thread Michael Masters
Is there a way to have surefire output reports using frames? I was hoping for framed output like the junit ant task. thanks, Mike

RE: Classpath in ant scripts in an Ant mojo

2006-05-24 Thread Margaret Martin
Willie, I've found that if I make the task's jars dependencies on the antrun plugin, then the taskdefs resolve just fine. Hope this helps - -margaret -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Willie Vu Sent: Wednesday, May 24, 2006 3:02 AM To: users

Re: Cobertura reports 0% for some classes

2006-05-24 Thread Jamie Bisotti
On 5/24/06, D D <[EMAIL PROTECTED]> wrote: Hi, I am using the cobertura plugin, with the configuration set as documented. But the report shows that some classes that should have been covered have a 0% rate (the others are fine). I cannot see any connection between those classes that are not cov

Re: Trying to run goal site

2006-05-24 Thread rajesh978
Yes, if I remove the system scoped dependencies that error goes away. What is the problem ? Using any system scoped dependencies? Wayne -- View this message in context: http://www.nabble.com/Trying+to+run+goal+site-t1584728.html#a4543084 Sent from the Maven - Users forum at Nabble.com.

M2 - Convention for deploying jars needed at run time.

2006-05-24 Thread Mike Markovich
Greetings, What is the conventional approach for including jars needed at run time during deployment? To put it another way, I have jars specified as dependencies in the pom with a scope of "runtime". But the jars don't show up in the repository I specified in the tag of the pom. The target ja

Re: Version of current Mojo

2006-05-24 Thread Trygve Laugstøl
G. B. wrote: Hi, How can I, inside my class that extends AbstractMojo, print my own version. (This applies to all Maven-built JAR artifacts) Maven will add a properties file containing a few very useful bits from the POM into a properties file that you can load like this: InputStream is =

Re: Compiling sub-modules/artifacts in different jdks...

2006-05-24 Thread Wendy Smoak
On 5/24/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Is anyone aware of a way to compile artifacts or even sub-modules under different JDKs? I have an EJB that I compile under 1.5 but I want to generate the ejb-client compiled under 1.4 (there's nothing in the interfaces or DTOs that are 1.

Cobertura reports 0% for some classes

2006-05-24 Thread D D
Hi, I am using the cobertura plugin, with the configuration set as documented. But the report shows that some classes that should have been covered have a 0% rate (the others are fine). I cannot see any connection between those classes that are not covered. I saw in the traces that these classe

Re: Compiling sub-modules/artifacts in different jdks...

2006-05-24 Thread Tim Kettler
You can always use something like: org.apache.maven.plugins maven-compiler-plugin 1.4 1.4 to compile code for a specific jvm version. But this will use the jdk maven was started with to compile the code. Don't know if this is good enough for you. -Tim [EMAIL PROTECTED]

Re: Need information on maven proxy

2006-05-24 Thread Clifton Craig
Malcolm, I have no experience using ntlmaps so I dunno what to tell you. You can look at an article I posted on my blog here: http://codeforfun.wordpress.com It explains a common got'cha when setting up normal HTTP proxies. (The same problem I got hung up on.) -

Re: Need information on maven proxy

2006-05-24 Thread Clifton Craig
Gautham, Your welcome. If your setting up the config file for the first time then take a look at the article I just posted to my Blog: http://codeforfun.wordpress.com I detail an important piece for people dealing with HTTP proxies. Also, as in the above reply I include a link to where you can

RE: ejb-client and transitive dependencies

2006-05-24 Thread Daryl.Dwyer
If your client is itself an EAR, one solution, albeit ugly is to explicitly exclude those jars from the client-side EAR... In the client-side EAR's POM... ... maven-ear-plugin my-db-lib my-db-lib t

Compiling sub-modules/artifacts in different jdks...

2006-05-24 Thread Daryl.Dwyer
Is anyone aware of a way to compile artifacts or even sub-modules under different JDKs? I have an EJB that I compile under 1.5 but I want to generate the ejb-client compiled under 1.4 (there's nothing in the interfaces or DTOs that are 1.4-incompatible) so that 1.4-based clients can call it. Any

cannot find plugin

2006-05-24 Thread Torsten Curdt
Lots printed (see below) ...but I still cannot figure out why it actually failed. It says "using locally found snapshot" ...and then cannot find the plugin!?! ...any why is repository "central" disabled? I have this in my pom apache-snapshots

Re: [m2] multi project build failure [repost]

2006-05-24 Thread Piéroni Raphaël
thanks, will try tonite 2006/5/24, javed mandary <[EMAIL PROTECTED]>: Looks like for artifact: rafale.wingsofglory wings-of-glory-model you need to set the version number , try using ${parent.project.version} in your sub-modules. hope that helps, javed On 5/24/06, Piéroni Raphaël <[E

Re: Version of current Mojo

2006-05-24 Thread G. B.
javed mandary wrote: > > Add this as global variable to your MOJO: > /** > * @parameter expression="${project}" > * @required > */ > private MavenProject project; > > > Then get your version number simply by performing: > project.getVersion(); > > thanks but that will

Re: Version of current Mojo

2006-05-24 Thread javed mandary
Add this as global variable to your MOJO: /** * @parameter expression="${project}" * @required */ private MavenProject project; Then get your version number simply by performing: project.getVersion(); cheers, Javed On 5/24/06, G. B. <[EMAIL PROTECTED]> wrote: Hi, How

Re: [m2] multi project build failure [repost]

2006-05-24 Thread javed mandary
Looks like for artifact: rafale.wingsofglory wings-of-glory-model you need to set the version number , try using ${parent.project.version} in your sub-modules. hope that helps, javed On 5/24/06, Piéroni Raphaël <[EMAIL PROTECTED]> wrote: Any one ? 2006/5/18, Piéroni Raphaël <[EMAIL PR

[m2] multi project build failure [repost]

2006-05-24 Thread Piéroni Raphaël
Any one ? 2006/5/18, Piéroni Raphaël <[EMAIL PROTECTED]>: Hello, I have a strange failure of my buld in multi project (multi module in new parlance) : When i do : in the parent module : mvn -N install, then in each module mvn -install : it works fine. When i do : in the parent module : mvn i

Version of current Mojo

2006-05-24 Thread G. B.
Hi, How can I, inside my class that extends AbstractMojo, print my own version. thanks. Guillaume -- View this message in context: http://www.nabble.com/Version+of+current+Mojo-t1674737.html#a4540163 Sent from the Maven - Users forum at Nabble.com.

RE: Surefire and UnsupportedClassVersionError [RESOLVED]

2006-05-24 Thread Adam Hardy
I had an Oracle JRE 1.3 on the PATH which was causing the issue - Sherlock Holmes would have deduced that earlier, since I have the latest JDK but an UnsupportedClassVersionError means I was not using the latest, so there had to be another java on my path. Mea culpa. Thanks for the help, especia

Re: Why does Maven 2 keep trying to download stuff that i put in my local repository

2006-05-24 Thread Stefan Arentz
On 5/12/06, Wayne Fay <[EMAIL PROTECTED]> wrote: Reinstall the file and specify -DgeneratePom=true. The source of the problem is a misleading message that you get when an artifact is missing. Missing: -- 1) javaee:javaee:jar:3.0 Try downloading the file manually from the project we

RE: Problem with maven-site-plugin

2006-05-24 Thread Jorge Alberto Rodrigues
I am getting the same error. Ugh! Jorge From: "alexis parratte" <[EMAIL PROTECTED]> Reply-To: "Maven Users List" To: users@maven.apache.org Subject: Problem with maven-site-plugin Date: Wed, 24 May 2006 11:44:18 +0200 Hi, I have a problem with maven-site-plugin this is the log: [INFO]

Problem with maven-site-plugin

2006-05-24 Thread alexis parratte
Hi, I have a problem with maven-site-plugin this is the log: [INFO] [INFO] Scanning for projects... [INFO] [INFO] Building Dematerialisation de la

Re: ejb-client and transitive dependencies

2006-05-24 Thread Tim Kettler
Hi, I have two modules defined: my_ejb_client (jar) and my_ejb_implementation (ejb). Then declare a dependency to the client module in the rich-client module and the ejb implementation module. So the rich-client is totaly decoupled from the bean implementation. That said. This is with EJB 3.0

Re: Problems wtih TestNG / JBossSeam / surefire plugin / partially OT

2006-05-24 Thread Marco Mistroni
hello, sorryi accidentally pressed 'send ' before ocmpleting message I Know this is partially OT because it ha sto do with jboss-seam but i was wondering if someone has already seen this.. hi all, i am writing a jboss-seam application ... i have always used jboss-seamCR2 jars, and everything w

Problems wtih TestNG / JBossSeam / surefire plugin

2006-05-24 Thread Marco Mistroni
hi all, i am writing a jboss-seam application ... i have always used jboss-seamCR2 jars, and everything worked fine during my tests (where i ambooting the microcontainer).. then i moved to jboss-seamCR3

RE: Cobertura WSAD java.lang.NoSuchMethodError: java.lang.String : me thod split(Ljava/lang/String;)[Ljava/lang/String; not found

2006-05-24 Thread SlinnHawkins, Jon (ELS)
Doh! Wasn't starting WSAD with the 1.4.2 JVM, seems a slight typo in the command line doesn't get flagged and defualts to 1.3.1 All working now Thanks Jon -Original Message- From: SlinnHawkins, Jon (ELS) [mailto:[EMAIL PROTECTED] Sent: 24 May 2006 10:32 To: Maven Users List Subject:

Re: How to prevent from deploying the same version of artefact twice?

2006-05-24 Thread ben short
Juri, Im sorry i dont understand what you are asking Ben On 5/24/06, Artamonov, Juri <[EMAIL PROTECTED]> wrote: Hi Ben, what do you mean under prelease and release sites? What is the site here? -Original Message- From: ben short [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 23, 2006

Re: Additional Repository

2006-05-24 Thread ben short
Ok here is a better explanation of what I did. I have a ubuntu linux box running apache 1.3 Create directorys /var/mvn Create a mvn user and group with home dir of /var/mvn. chown -R mvn:mvn /var/mvn Edit /etc/mime.types add md5 sha1 to the text/plain and add the following line text/xml po

RE: How to prevent from deploying the same version of artefact twice?

2006-05-24 Thread Artamonov, Juri
Hi Ben, what do you mean under prelease and release sites? What is the site here? -Original Message- From: ben short [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 23, 2006 3:05 PM To: Maven Users List Subject: Re: How to prevent from deploying the same version of artefact twice? Ah i se

RE: Surefire-2.2-SNAPSHOT and UnsupportedClassVersionError - more info

2006-05-24 Thread Adam Hardy
When I run 'mvn test', I get a stacktrace from the surefire-booter saying UnsupportedClassVersionError as follows. This is a recap of my minimal project which I'm going to use as the base for a bug in jira. [INFO] Surefire report directory: C:\Projects\cortex\back-end\target\surefire-reports org.

maven repository manager?

2006-05-24 Thread Wouter de Vaal
Hi, Can anybody update me on the workings of maven repository manager? I've downloaden the book Better Builds with Maven and on page 200 it mentions it should be available on http://maven.apache.org/repository-manager but this url is unavailable. After googling the only thing I can find is the tr

ejb-client and transitive dependencies

2006-05-24 Thread Matthias . Germann
Hi, I habe a problem with transitive dependencies when a project depends on a ejb artifact (ejb-client). My system consists of a client application (i.e. a rich client) which uses a ejb server application. The ejb server application needs some other artifacts for the server side processing (i.

Re: Problems with EMMA

2006-05-24 Thread Jorg Heymans
i tried getting emma to run on m2 for a few hours as well without success. I ended switching to cobertura because of its flawless m2 integration. HTH Jorg On 5/24/06, alexis parratte <[EMAIL PROTECTED]> wrote: Hi, I tried to use emma plugin for maven 2 and now when i execute mvn test, i have s

Cobertura WSAD java.lang.NoSuchMethodError: java.lang.String: me thod split(Ljava/lang/String;)[Ljava/lang/String; not found

2006-05-24 Thread SlinnHawkins, Jon (ELS)
Hi All, I'm using Cobertura to perform some coverage tests. I am running Maven from inside WSAD 5.1.1 using the external tools mechanism (I'm assuming the Eclipse plugin won't work with WSAD) When from WSAD I get the following exception. [INFO] [cobertura:instrument] [INFO] Cobertura 1.7 -

RE: Surefire and UnsupportedClassVersionError - more info

2006-05-24 Thread Adam Hardy
Hi Marco, I can't download the surefire plugin any of those repositories (see below). Could you email me the jar and the pom? Reason: Unable to download the artifact from any repository org.apache.maven.plugins:maven-surefire-plugin:pom:2.0-SNAPSHOT from the specified remote repositories: c

RE: How to prevent from deploying the same version of artefact twice?

2006-05-24 Thread Plygawko Dariusz \(Centrala PZUSA\)
Ok, thank You -Original Message- From: ben short [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 23, 2006 3:05 PM To: Maven Users List Subject: Re: How to prevent from deploying the same version of artefact twice? Ah i see what you are saying. Assuming that your developers are using svn (

Problems with EMMA

2006-05-24 Thread alexis parratte
Hi, I tried to use emma plugin for maven 2 and now when i execute mvn test, i have some test failures every time whereas when i don't use emma the tests runs well. And when i tried to execute tests in eclipse with Junit, this one try to use com/vladium/rt/RT whereas this package does not exists o

Re: NAR Plugin Problems

2006-05-24 Thread GaryC
Hi Mark, Many thanks for the quick reply. I've looked at - and do currently use - the maven native plugin, but I came across the NAR plugin and it looked like it handled header file dependencies and multiple platforms in a more convenient way. If someone else suggests anything obvious I'm doing

Re: Need information on maven proxy

2006-05-24 Thread ben short
You probably want the 0.2 version http://maven-proxy.codehaus.org/Configuration On 5/23/06, Gautham Pamu <[EMAIL PROTECTED]> wrote: Hi Clifton, Thanks for responding to my question. I have downloaded the war distribution and dropped it in tomcat. Could you send me the sample maven-proxy.proper

Re: Surefire and UnsupportedClassVersionError - more info

2006-05-24 Thread Marco Mistroni
Hello Adam, can you try this pom.xml (obviously you'd need to change it for your modules) and btw, can you clear your m2 repository so that jars get downloaded from scratch again? 4.0.0 ExpenseControl 1.0 project pom project apache.snapshots http://cvs.ap

Classpath in ant scripts in an Ant mojo

2006-05-24 Thread Willie Vu
I'm using Maven 2.0.4. I am developing a plugin using Ant script. A task is declared using . The task class is contained in one of the artifacts of the pom.xml of the project that uses this Ant mojo plugin. An error occurred that the task class is not found. It seems like Maven doesn't resolv

Re: RE : Surefire Stacktrace

2006-05-24 Thread Cybernd
One of the major problems of all maven related products is the documentation. Maybe maven is brilliant. But who cares when its just some kind of black box. Many developers avoid maven because of the worse documentation. Maybe its intuitive for maven-developes but its not really intuitive vor deve

Re: [m2] [maven-release-plugin] Unknown file status: 'X' as a result of 'mvn release:prepare'

2006-05-24 Thread Emmanuel Venisse
http://jira.codehaus.org/browse/SCM-208 Mike Perham a écrit : Yes, you need to enter a JIRA bug in the Maven SCM project with this detail. -Original Message- From: Dario Luis Coneglian Oliveros [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 23, 2006 2:53 PM To: Maven Users List Subject:

  1   2   >