Eclipse: How to create a Simple Project type

2008-06-10 Thread Chris_Graham
Hi all. How can we get maven to create a simple eclipse project (not a Java one)? Ie, get it to generate a .project file: ?xml version=1.0 encoding=UTF-8? projectDescription nameBlah/name comment/comment projects/projects buildSpec/buildSpec natures/natures

Re: Checking for updates of versioned dependencies

2008-06-10 Thread [EMAIL PROTECTED]
It is indeed seriously strange. That URL should correspond to: groupIdeclipse.org.eclipse.core/groupId which is probably why the maven build isn't finding it. But that's a very weird groupId. And it doesn't match what is in the metadata files in the repository. Looks like the eclipse group

Re: Checking for updates of versioned dependencies

2008-06-10 Thread Martin Höller
Hi! Simon, I think you are wrong here. If I unstand correctly, the repository's base URL ist http://repo1.maven.org/eclipse, just like the base URL for central is http://repo1.maven.org/maven2. Thus, the URL http://repo1.maven.org/eclipse/org/eclipse/core/ should correspond to the groupId

Re: Checking for updates of versioned dependencies

2008-06-10 Thread [EMAIL PROTECTED]
Ah, you're quite right Martin. It's too early in the morning :-) So it appears that eclipse has its own repository on the repo1.maven.org server, rather than using the standard maven2 repository on that server (aka central). I wonder why. Anyway, that repository is not the built in central repo.

Re: Checking for updates of versioned dependencies

2008-06-10 Thread manish
Hi all, Thanks for your help with the detective work! We are using the Codehaus Maven Proxy (http://maven-proxy.codehaus.org/), which abstracts away links to several other repositories including central and the eclipse one. In addition, we link to the codehaus and atlassian repositories via our

Re: Excluding packages and classes from jar

2008-06-10 Thread Peter Horlock
Hi Rémy, thanks for your reply. I also tried mvn package -Pmyflag, but this did't work out either - btw -p SPACE FLAG is what is said on the maven docu site: http://maven.apache.org/guides/introduction/introduction-to-profiles.html : mvn groupId:artifactId:goal -P profile-1,profile-2 However,

problem deploying files in the snapshots repository

2008-06-10 Thread Ionut S
Hi, We are in the process of setting up our maven repositories. We already installed Archiva and we have now 2 repositories: internal and internal.snapshots. However, when we are deploying the application we get an error saying: Uploading:

RE: Excluding packages and classes from jar

2008-06-10 Thread Jörg Schaible
Hi Peter, what is the complete configuration for the plugin? Have a look at mvn help:effective-pom. Remember, that the configuration is merged from the (inherited) pluginManagement section. Note, that in other plugin configuration with includes/excludes the exclude is ignored, if an include is

Re: Excluding packages and classes from jar

2008-06-10 Thread Tim Kettler
Hi, Peter Horlock schrieb: Hi Rémy, thanks for your reply. I also tried mvn package -Pmyflag, but this did't work out either - btw -p SPACE FLAG is what is said on the maven docu site: http://maven.apache.org/guides/introduction/introduction-to-profiles.html : mvn groupId:artifactId:goal -P

Release:branch from a tag

2008-06-10 Thread nicklist
I am trying to create a branch from a tag with the release plugin. I have a checkout from trunk and try the following command: mvn release:branch -Dtag=TestProject-1.4 -DbranchName=TestProject-1.4.x s -DupdateBranchVersions=true I was expecting that a branch (/branches/TestProject-1.4.x) was

activating profiles

2008-06-10 Thread WinDrop
Hello. i have question, how can i activate profile in pom.xml from profiles.xml file? For example i have profile Monday in pom.xml and profile Friday in profiles.xml If i start maven with command line: mvn install -PFriday i want to start both of the profiles. i don't want to write mvn install

Re: Eclipse: How to create a Simple Project type

2008-06-10 Thread Martin Höller
On Tuesday 10 June 2008 [EMAIL PROTECTED] wrote: How can we get maven to create a simple eclipse project (not a Java one)? [...] The type of the project from the pom.xml is pom, ie: packagingpom/packaging This is already in JIRA and has be discussed there. Don't know if there is

Maven WebSphere 6.1

2008-06-10 Thread Jo Support
Hello folks, I'm following the instructions from http://www.jroller.com/peter_pilgrim/entry/battling_with_maven_2_integrating in order to deploy EJBs for WebSphere 6.1. According to Pilgrim, I should have the following jars under was6home/lib : - wsanttasks.jar - webservices.jar - wsprofile.jar

don't execute submodules for specific goals

2008-06-10 Thread Johannens Zillmann
Hi there, i have a multi module project and run into following problmem. In the root pom i defined a plugin. build plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-dependency-plugin/artifactId version2.0-alpha-4/version inheritedfalse/inherited /plugin ... i

Archiva and -DdownloadSource

2008-06-10 Thread Alexander Vaysberg
Hi, I have a problem with Archiva. It don't downloaded the sources for dependencies. I have execute : mvn eclipse:eclipse -Declipse.downloadSource=true. But this don't work and work only without Archiva. Alexandre Vaysberg Tetralog System AG

Signing dependencies during a war build

2008-06-10 Thread Fabio Braga de Oliveira
Hi list, I'm developing a 3-tier system, and I want to distribute the desktop using the Java Webstart. Until now, I already did great progresses in my quest. In the server side I'm deploying a web application using Spring, and I publish some services using RMI. In the desktop, I'm using

Re: don't execute submodules for specific goals

2008-06-10 Thread Paolo Compieta
The '-N' option avoids recursing into sub-projects: $ mvn -N plugin:goal See 'mvn -h' for other options ciao, PC Johannes Zillmann-3 wrote: Hi there, i have a multi module project and run into following problmem. In the root pom i defined a plugin. build plugin

Re: don't execute submodules for specific goals

2008-06-10 Thread Johannens Zillmann
Wow, so simple and i searched for hours... Thank you! Johannes On Jun 10, 2008, at 2:57 PM, Paolo Compieta wrote: The '-N' option avoids recursing into sub-projects: $ mvn -N plugin:goal See 'mvn -h' for other options ciao, PC Johannes Zillmann-3 wrote: Hi there, i have a multi

Release plugin questions

2008-06-10 Thread Michael Delaney
All, I am trying to evaluate the maven-release-plugin (version 2.0-beta-7) and I can't seem to get it to work flawlessly. Here is my scenario: I have a single library/artifact that has zero dependencies. The current version is set to 1.2-SNAPSHOT in the pom.xml file (see below for XML

Re: Archiva and -DdownloadSource

2008-06-10 Thread Wendy Smoak
On Tue, Jun 10, 2008 at 5:14 AM, Alexander Vaysberg [EMAIL PROTECTED] wrote: I have a problem with Archiva. It don't downloaded the sources for dependencies. I have execute : mvn eclipse:eclipse -Declipse.downloadSource=true. But this don't work and work only without Archiva. Please ask on

AW: Release plugin questions

2008-06-10 Thread Mark Struberg
Is your pom.xml having a scm section? Releasing also tags the version in your scm, so you have to tell maven the SCM repository it uses. LieGrü, strub --- Michael Delaney [EMAIL PROTECTED] schrieb am Di, 10.6.2008: Von: Michael Delaney [EMAIL PROTECTED] Betreff: Release plugin questions

RE: Release plugin questions

2008-06-10 Thread Michael Delaney
Yes, it does have the scm section, as defined by http://maven.apache.org/scm/perforce.html. project ... scm connection scm:perforce:localhost:1666://depot/sandboxes/mdelaney/utils /connection /scm ... /project -Original Message- From: Mark

Re: Excluding packages and classes from jar

2008-06-10 Thread Peter Horlock
thanks a lot, this helped. One more, however: Now it creates the jar as it should, but I would like to have a different name for it when installating it into the local / remote repo. Under target, it creates: myproject-mysubversion-1.1.jar but when installing or deploying, it installs /deploys

RE: Maven @ Silicon Valley Web Developer Java User Group

2008-06-10 Thread Sean Hennessy
Wish I could..however I'm willing to chip in ten dollars to help cover the cost of putting it on video that we might have access after the fact. -Original Message- From: Jason van Zyl [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2008 4:53 PM To: Maven Users List Subject: Maven @

Re: Signing dependencies during a war build

2008-06-10 Thread Jerome Lacoste
2008/6/10 Fabio Braga de Oliveira [EMAIL PROTECTED]: Hi list, I'm developing a 3-tier system, and I want to distribute the desktop using the Java Webstart. Until now, I already did great progresses in my quest. In the server side I'm deploying a web application using Spring, and I publish

RE: Release plugin questions

2008-06-10 Thread Bracewell, Robert
Try specifying the developerConnection, e.g., !-- P4 Location -- scm connectionscm:perforce:localhost:1666://depot/sandboxes/mdelaney/utils/connection developerConnectionscm:perforce:localhost:1666://depot/sandboxes/mdelaney/utils/developerConnection /scm -Original

RE: Release plugin questions

2008-06-10 Thread Michael Delaney
Sorry, I am still getting the same error when I add that to the pom.xml file. -Original Message- From: Bracewell, Robert [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2008 11:28 AM To: Maven Users List Subject: RE: Release plugin questions Try specifying the developerConnection,

Re: Signing dependencies during a war build

2008-06-10 Thread Fabio Braga de Oliveira
Hi Jerome, I wrote both the jar:sign and webstart mojos and I am not aware of an off the shelf war-with-signed-dependencies solution. If you find one, or end up creating yours, please let us know :) Jerome I want to thank you for your excellent work. Without your help my work will be very

Re: Maven @ Silicon Valley Web Developer Java User Group

2008-06-10 Thread Marco Mistroni
Hi, would love to do that too as i m interested but im in UK.. please keep me posted on this issue rgds marco On Tue, Jun 10, 2008 at 3:49 PM, Sean Hennessy [EMAIL PROTECTED] wrote: Wish I could..however I'm willing to chip in ten dollars to help cover the cost of putting it on video that

Re: Maven WebSphere 6.1

2008-06-10 Thread Marco Mistroni
Jo, my 2 cents here, it *could* be, but i think except for ws specific jars, you shouuld be able to fetch ther est from maven repo. hth marco On Tue, Jun 10, 2008 at 11:55 AM, Jo Support [EMAIL PROTECTED] wrote: Hello folks, I'm following the instructions from

Do you do .Net development on the Mac

2008-06-10 Thread Scott Ryan
This is pretty cool for Mac and Visual Studio funtionality. http://www.monodevelop.com/Main_Page Scott Ryan President/CTO Soaring Eagle L.L.C. 9742 S. Whitecliff Place Highlands Ranch, Co. 80129 (303) 263-3044 [EMAIL PROTECTED] www.soaringeagleco.com

Re: Do you do .Net development on the Mac

2008-06-10 Thread Martin
How does it compare to codewarrior? http://www.diskovery.com/codewarrior.html M- - Original Message - From: Scott Ryan [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org Sent: Tuesday, June 10, 2008 2:42 PM Subject: Do you do .Net development on the Mac This is pretty

Re: Maven @ Silicon Valley Web Developer Java User Group

2008-06-10 Thread Martin
not to mention the cost of gas to travel to the other side of the planet.. Can the committee chair agree to a 'virtual meeting'? one option: https://www2.gotomeeting.com/t/gg/virtual_meeting/g2msem3?Portal=www.gotomeeting.comTarget=m/g2msem3.tmpl HTH Martin - Original Message - From:

Re: Excluding packages and classes from jar

2008-06-10 Thread Tim Kettler
Peter Horlock schrieb: thanks a lot, this helped. One more, however: Now it creates the jar as it should, but I would like to have a different name for it when installating it into the local / remote repo. Under target, it creates: myproject-mysubversion-1.1.jar but when installing or

Re: How to make nexus work with thirdparty libraries??

2008-06-10 Thread Ed Hillmann
On Tue, Jun 10, 2008 at 3:58 PM, Kent Närling [EMAIL PROTECTED] wrote: I have read the FAQ on how to upload thirdparty jars to a repository, but cannot seem to get it working? I have tried to upload the jacorb jar to our own local repository (nexus) with the command: mvn deploy:deploy-file

[m2] any fundamental issues with profile inheritance ?

2008-06-10 Thread Mick Knutson
I have a reference project: Project A |--sub project 1 (parent is Project A) |--sub project 2 (parent is Project A) |--sub project 3 (parent is Project A) Then I have an implementation project: Project Ref A (parent is Project A) |-- sub ref 1 (parent is sub project 1) |-- sub

Re: Do you do .Net development on the Mac

2008-06-10 Thread James William Dumay
The IDE is pretty nice - good code completion and GUI builder but from what I saw last it lacks a debugger :S James On Tue, 2008-06-10 at 14:46 -0400, Martin wrote: How does it compare to codewarrior? http://www.diskovery.com/codewarrior.html M- - Original Message - From: Scott

Re: Maven WebSphere 6.1

2008-06-10 Thread Chris_Graham
Hi. I do not get maven to actually generate the EJB deployment code, WebSphere itself will do it at deployment time, so I do. If nothing else, this will give you a list of the jars that you need. Using RSA V7, it defines a classpath container that has all of the necessary jars in it needed to

AW: Maven WebSphere 6.1

2008-06-10 Thread Baeriswyl Kuno - Extern (IT-BA-MV)
Hello! I've got another approach. First, I've defined a WAS_HOME constant in my parent pom. Second, I've defined the websphere dependencies with system scope. Or in other words, I've defined the dependencies with a link to the local filesystem using the WAS_HOME constant. With this approach