Re: Find artefact

2008-07-08 Thread Martin Höller
On 07 Jul 2008, buters wrote: Thank you very much Martin, but this is not a solution. Some artifact with same artifactId can have a different grouId. That's true. But where's the problem? The MvnIndexes idea is good, but e.g. dependency groupIdantlr/groupId

Re: Nexus 1.0.0-beta-4 or 1.0 final?!

2008-07-08 Thread Eugene Kuleshov
Peter Horlock wrote: Are you using the stable version, or the latest and greatest? I am using the stable version, and it seems to have problems, it fucked up my entire eclipse 3.4, loading slowly, showing non existing errors, and so on - I then moved back to Eclipse 3.3... Peter, can

Re: Add Generated Src to IDE build path?

2008-07-08 Thread Eugene Kuleshov
You normally don't need build helper plugin, when using properly implemented Maven plugin. Plugins like jaxb, plexus, and number of others are automatically adding generated sources to the project. When such project is imported into the IDE, those implicitly added source folders are

Re: [ANN] Maven Site Plugin 2.0-beta-7 Released

2008-07-08 Thread Rémy Sanlaville
I put it in JIRA so it won't be forgotten: http://jira.codehaus.org/browse/MPLUGIN-124 Handsome ! So, if I understand, the site goal of the maven-site-plugin is a build mojo. My bad, I though that it was a reporting mojo. Yes, it is a build plugin. But it's easy to think of it as

ci notifiers

2008-07-08 Thread John Coleman
Hi, Is it possible only to get notifications of release builds and filter out notifications of snapshot builds? I guess this might even be a continuum questions. TIA John Eurobase International Limited and its subsidiaries (Eurobase) are unable to exercise control over the content of

Re: Find artefact

2008-07-08 Thread buters
Sorry Matinh, it was a silly thing to do. Errors were because I'm using Artifactory with Tomcat and Tomcat was not started. Tomcat runs normally im background, but yesterday it didn't. Sorry and againg thank you. antlr.jar was a wrong example. But jbossall-client-4.2.2.GA.jar [0]

Re: Find artefact

2008-07-08 Thread Martin Höller
I don't know Artifactory, but see it's documentation how to add remote repositories to it. This is a common task so it should be documented. If you are not using Artifactory, just add a repository entry to your settings.xml [0] and Maven will find it if you specify the correct

RE: Building for different environments - how do _you_ do it?

2008-07-08 Thread Artamonov, Juri
Hi EJ, Have you managed with the item you listed? Sorry for the delay but here is the answer on your question. Environment configuration file is in xml format. I use modello for getting for once readers and writes and xml schema for xml file I use. For having inheritance mechanism I simply use

Re: ignore missing web.xml war plugin

2008-07-08 Thread Rémy Sanlaville
Unfortunately, I don't think that it's possible at the moment. But we are looking for the same feature (war overlay also). For the moment we have to create a basic web.xml. I haven't look if an issue is loading or not for this feature. Rémy

Re: ci notifiers

2008-07-08 Thread Wendy Smoak
On Tue, Jul 8, 2008 at 1:58 AM, John Coleman [EMAIL PROTECTED] wrote: Is it possible only to get notifications of release builds and filter out notifications of snapshot builds? I guess this might even be a continuum questions. Subscription info for the Continuum mailing lists can be found

assembly:assembly manifestmainClass does not generate Main-class in MANIFEST.MF

2008-07-08 Thread David Brown
Hello Maven gurus and users, I have a pom.xml to generate an executable jar-with-dependencies. The pom.xml creates everything expected except the MANIFEST.MF with Main-class: defined. The executable jar will work but I have to unjar the jar to a temporary directory, edit the MANIFEST.MF for the

jaxws-maven-plugin failure on non Sun SDK

2008-07-08 Thread Henri Gomez
Hi to all, We still get errors with jaxws-maven-plugin when were using a non Sun JDK. DEBUG] jaxws:wsgen args: [-d, C:\workspace\slib-ws-core-service\target\classes, -cp,

Re: Class resources in a maven archetype

2008-07-08 Thread Phillip Lord
PL == Phillip Lord [EMAIL PROTECTED] writes: PL I've been trying to create a maven archetype. The problem that I am PL having is that I am using a class resource. So, for example, if I have a PL artifact.xml which looks like this PL archetype PL idarchetype-r-tool/id sources

RE: Lock down of plugin versions

2008-07-08 Thread Brian E. Fox
What you're saying sounds reasonable, I agree. Still waiting for Enforcer 1.0 release to take advantage of requirePluginVersions, though :-) Any updates, Brian? No, sorry. I am unable to replicate the issue I saw once at a customer site, so I might just move forward with another beta release.

question about scm:tag

2008-07-08 Thread sachin . x . mahajan
Hi, I am using scm:tag to create tag. I am running this command maven scm:tag -Dmaven.scm.tag=RELEASE_121 -Dmaven.scm.message=jiranumber -Dmaven.scm.username=xyz -Dmaven.scm.password=xyz This command is failing due to pre-commit hook. We have a pre-commit hook to add jira number as a comment

gmaven classloading issues

2008-07-08 Thread Kallin Nagelberg
I'm encountering some really strange classloading issues with the gmaven plugin. I am executing it to generate some sources for a project of mine, and the script I wrote calls some classes in a dependency. I get all sorts of exceptions saying classnotfound. I debugged it, and found that the

Re: [m2] Jetty 6 Plugin does not recognize custom webapp source directory

2008-07-08 Thread zalym
Hi, I have the same issue. What if I have to make the jetty plugin aware of additional resources other than src/main/webapp Please let me know Adrian Herscu-2 wrote: Hi, What if I have an additional webapp source folder, like: plugin

release plugin without SCM

2008-07-08 Thread Kallin Nagelberg
Is there a way to use the release plugin without invoking the SCM activities? (I'm using SVN) The release plugin doesn't seem to be compatible with my project's branching strategy for a number of reasons: 1) It seems to always want to release from the trunk. Sometimes we need to release from

explode EAR

2008-07-08 Thread Nicola Benaglia
Hi, I like to obtain an exploded EAR directory instead of a packaged EAR. How can I do that, please? Regards, nic - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Cross project refactoring in Eclipse with maven integration

2008-07-08 Thread Smith, Stephen R
Now that I have maven handling my dependencies, how do I do cross Eclipse project refactoring or references or declarations. When my projects were linked, I could refactor a method in one project and dependent projects would be modified as well. It seems that once the project dependencies in the

Re: Find artefact

2008-07-08 Thread buters
Thank you very much matinh. I've finally got what I want. The problem was if an artifact is not located in the central repository then it takes more time as normally to search. I've thought that it is a closed loop and aborted the prozess. But in reality Maven has searched for the artifact. Now

Re: release plugin without SCM

2008-07-08 Thread Kallin Nagelberg
Maybe I should clarify: My project structure is like this: myproject +--module1 +--module2 +--nonmodule1 so the SVN path is something like http://svnserver/myproject/trunk. I happen to be working on a branch now, so i checked out from http://svnserver/myproject/branches/branch1. How would I

Re: classpath in jar manifest

2008-07-08 Thread afsilva
Hi, My configuration is in the attached file. http://www.nabble.com/file/p18345472/pom.xml pom.xml Thanks for the response. Dennis Lundberg-2 wrote: What's your configuration? afsilva wrote: Hi this is an old message, I guess the problem is suposed to be solved. But the fact is

Release Plugin:Perforce and ClientSpec

2008-07-08 Thread Gopal Patwa
I am using this relase plugin 2.0-beta-8-SNAPSHOT first time, When I did dry run it fine but it fails in release:prepare Goal I tried this options from command line mvn -X release:prepare -Dusername=gpatwa -Dpassword=gpatwa -Dmaven.scm.perforce.clientspec.name=gpatwa Interestingly event I

Re: Release Plugin:Perforce and ClientSpec

2008-07-08 Thread Gopal Patwa
And even release:rollback fails [INFO] [release:rollback] [DEBUG] Executing p4 -d C:\gpatwa_perforce\geneva\redbridge\fulfiller -p perforce:1666 -u gpatwa -P ** edit pom.xml [INFO] [ERROR] BUILD ERROR [INFO]

a simple zip assembly

2008-07-08 Thread Kallin Nagelberg
Hi, I'm trying to build a simple distribution with the following layout: + |---bin |---libs There are some scripts in the bin folder that build a classpath using the lib folder. It should be distributed as a ZIP. One caveat: Initially it is built as a template. That is, there is a core

Re: release plugin without SCM

2008-07-08 Thread Tom Huybrechts
The plugin at https://svn.dev.java.net/svn/hudson/branches/tom/plugins/staging/maven-stagingrelease-plugin/ has a set-version goal, which you could use to create your own release process. On Tue, Jul 8, 2008 at 5:57 PM, Kallin Nagelberg [EMAIL PROTECTED] wrote: Is there a way to use the release

multiple WAR overlays

2008-07-08 Thread Kallin Nagelberg
I have an artifact which uses 2 wars as an overlay. I wonder if there's a way to choose which web.xml to use, or in general, which one should take priority in the case of conflicts.

Re: multiple WAR overlays

2008-07-08 Thread Kallin Nagelberg
It seems like this should do the trick: http://maven.apache.org/plugins/maven-war-plugin/overlays.html On Tue, Jul 8, 2008 at 3:39 PM, Kallin Nagelberg [EMAIL PROTECTED] wrote: I have an artifact which uses 2 wars as an overlay. I wonder if there's a way to choose which web.xml to use, or in

Re: explode EAR

2008-07-08 Thread Gopal Patwa
This might help http://maven.apache.org/plugins/maven-ear-plugin/examples/unpacking-a-module.html Nicola Benaglia-3 wrote: Hi, I like to obtain an exploded EAR directory instead of a packaged EAR. How can I do that, please? Regards, nic

Re: classpath in jar manifest

2008-07-08 Thread Dennis Lundberg
Reporting your configuration here, since this list dumps all attachments. plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId version2.2/version configuration finalName${project.build.finalName}/finalName

Re: Release Plugin:Perforce and ClientSpec

2008-07-08 Thread Gopal Patwa
More Debug Log [INFO] Checking in modified POMs... [DEBUG] Executing p4 -d C:\gpatwa_perforce\geneva\redbridge\fulfiller -p perforce.liquid.com:1666 -u gpatwa -P ** submit -i [DEBUG] SCM path in pom: //geneva/redbridge/fulfiller [DEBUG] Executing: p4 -p perforce.liquid.com:1666 -u

Re: a simple zip assembly

2008-07-08 Thread Kallin Nagelberg
One problem I'm having is obtaining the initial template ZIP. I managed to deploy the template artifact, which is of type JAR. I don't care about the JAR, but it also deploys my ZIP. Apparently 'zip' isn't a valid package type. Now I want to unpack that to use in another project. I want to use

maven-jaxb-plugin 1.1

2008-07-08 Thread lists
Hello, My maven project used to download all dependencies like a charm, but recently I hear complaints from people who start from scratch that the project fails to download the jaxb compiler: The pom for my plugin is downloaded but the jar itself seems to be missing. I get the following

assembly plugin includes duplicates

2008-07-08 Thread Kallin Nagelberg
I have an assembly descriptor that looks like the following code. There are duplicate libraries in 'target/dependencies' and 'target/core-bl-template/unpack/lib'. This results in duplicate JARs being zipped up at xxx.zip/lib . Is there a way to prevent this? assembly idbin/id formats

Re: classpath in jar manifest

2008-07-08 Thread Wayne Fay
I suspect your problem is due to improper capitalization: manifestEntries Class-pathresources//Class-path /manifestEntries I believe this should be Class-Path. Wayne - To

Re: Cross project refactoring in Eclipse with maven integration

2008-07-08 Thread Michael McCallum
using m2eclipse you can install the snapshots and refresh deps... the plugin will link the projects... you know because the dep shows a folder instead of a jar On Wed, 09 Jul 2008 03:35:44 Smith, Stephen R wrote: Now that I have maven handling my dependencies, how do I do cross Eclipse

Re: classpath in jar manifest

2008-07-08 Thread Barrie Treloar
On Wed, Jul 9, 2008 at 7:44 AM, Wayne Fay [EMAIL PROTECTED] wrote: I suspect your problem is due to improper capitalization: manifestEntries Class-pathresources//Class-path /manifestEntries I believe this should be Class-Path. This is what I

Re: Cross project refactoring in Eclipse with maven integration

2008-07-08 Thread Eugene Kuleshov
Michael McCallum-3 wrote: using m2eclipse you can install the snapshots and refresh deps... the plugin will link the projects... you know because the dep shows a folder instead of a jar Actually you don't need to install snapshots to local repository as m2eclipse can resolve