Eclipse: Ignore target folders from ctrl + shft + r
I just found this little trick and thought i'd share -- Sometimes when using eclipse I need to jump to a file. I press CTRL-SHFT-R to pop up the resource. However most of the time I end up editing a copy of the file in a build folder. The solution to this problem is to Right click the troublesome folder, select properties and Click Derived. Now when Jumping to files with CTRL-SHIFT-R you wont edit the bad copy. http://robmayhew.com/eclipse-ignore-folder/
How to import multi-module projects in Eclipse through mvn eclipse:eclipse
I have a multiple module project with this parent pom containing this: modulemyappone/module modulemyapptwo/module The myappone and myapptwo have their own poms and are jar artifacts. From the top level parent i do a mvn eclipse:clean eclipse:eclipse And then from Eclipse (which does not have any plugins) i do a File - Import - Top level Project. At this point, i expected to see myappone and myapptwo availble for selection, in the list of projects to be selected. But i only see the top level parent in the selection. When i import this top level project, the child modules myappone and myapptwo are imported as resources for the top level project. As a result, whenever i want to traverse between the java classes of these projects (the F3 way) i get a pop-up saying (The resource is not in build path). Is there a way through which i can import these child projects as java projects all at once from the top level instead of having to import them one at a time? -- View this message in context: http://www.nabble.com/How-to-import-multi-module-projects-in-Eclipse-through-mvn-eclipse%3Aeclipse-tp21621731p21621731.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Getting log4j output from ANT tasks to maven output
I assume you mean to the console when you run maven on the command line, or? The default behaviour of maven is to just write to stdout, so if you configure the log4j file to do so as well, then if you just configure a CONSOLE appender in log4j your should get what you want? 2009/1/22 ez ere...@gmail.com Well, I havn't.. So, i should just place log4j.properties file? how will i make it redirect all logs to maven output? Jaikiran wrote: ez wrote: instead i get this: log4j:WARN No appenders could be found for logger (com.i18n.Excel2Properties). log4j:WARN Please initialize the log4j system properly. The warning is because the log4j.properties or log4j.xml is not present in the classpath. Where have you placed it? -- View this message in context: http://www.nabble.com/Getting-log4j-output-from-ANT-tasks-to-maven-output-tp21558678p21609797.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Kent Närling System Architect SEAMLESS Dalagatan 100, 8 tr, 113 43 Stockholm, Sweden Phone: +46 8 5648 7800, fax: +46 8 5648 7823 Mobile: +46 70 836 9925 Mail: kent.narl...@seamless.se www.seamless.se
Re: How to import multi-module projects in Eclipse through mvn eclipse:eclipse
If you want to do this, why not use one of the maven eclipse plugins? At least I know m2eclipse supports this very nicely... 2009/1/23 Jaikiran jai_forums2...@yahoo.co.in I have a multiple module project with this parent pom containing this: modulemyappone/module modulemyapptwo/module The myappone and myapptwo have their own poms and are jar artifacts. From the top level parent i do a mvn eclipse:clean eclipse:eclipse And then from Eclipse (which does not have any plugins) i do a File - Import - Top level Project. At this point, i expected to see myappone and myapptwo availble for selection, in the list of projects to be selected. But i only see the top level parent in the selection. When i import this top level project, the child modules myappone and myapptwo are imported as resources for the top level project. As a result, whenever i want to traverse between the java classes of these projects (the F3 way) i get a pop-up saying (The resource is not in build path). Is there a way through which i can import these child projects as java projects all at once from the top level instead of having to import them one at a time? -- View this message in context: http://www.nabble.com/How-to-import-multi-module-projects-in-Eclipse-through-mvn-eclipse%3Aeclipse-tp21621731p21621731.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Kent Närling System Architect SEAMLESS Dalagatan 100, 8 tr, 113 43 Stockholm, Sweden Phone: +46 8 5648 7800, fax: +46 8 5648 7823 Mobile: +46 70 836 9925 Mail: kent.narl...@seamless.se www.seamless.se
Re: How can maven be used in a continuous integration situation?
Well, first of all, maybe you should get a CI server? (unless you have one?)I would recommend continuum (http://continuum.apache.org)http://continuum.apache.org/ at least to get started and then things will probably clear up... No, usually the CI server does not generate releases every night, it usually does deploy (but this is configurable in continuum) on the project which will uploade the snapshot to the snapshot repository. A remark, here: continuuum only generates a build if there are any changes... and it checks for changes regularly (by default hourly) 2008/12/4 Matthew Jaskula mjask...@nyx.com Are you suggesting that our CI server performs a 'mvn release' nightly? From the documentation that you linked to it seems like this is not intended to be an automated process, as there are several steps that prompt the user for information. I assume that you can provide this information on the command line? Regardless of this issue, what is standard practice in this situation? We want a CI server to use maven to produce regular versioned builds of a project that is a dependency of other projects. Is there something about this that doesn't fin in the maven philosophy? Thanks. Matthew Jaskula t +1 212.542.8299 From: Wayne Fay wayne...@gmail.com Reply-To: Maven Users List users@maven.apache.org Date: Wed, 3 Dec 2008 16:35:01 -0800 To: Maven Users List users@maven.apache.org Subject: Re: How can maven be used in a continuous integration situation? The problem with this method is that the maven install plugin only uses the version in the pom file, not the version passed in on the command line. This is noted in [this maven issue][1]. If you use mvn release rather than simply mvn install, this is handled for you via the release plugin. Since you are literally cutting a release, I think this is appropriate anyway. mvn install only installs the artifacts in the local repo cache. mvn release does a lot more. You probably want to use the batch mode: http://maven.apache.org/plugins/maven-release-plugin/howto.html Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org Visit our website at http://www.nyse.com Note: The information contained in this message and any attachment to it is privileged, confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by replying to the message, and please delete it from your system. Thank you. NYSE Euronext, Inc. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Kent Närling System Architect SEAMLESS Dalagatan 100, 8 tr, 113 43 Stockholm, Sweden Phone: +46 8 5648 7800, fax: +46 8 5648 7823 Mobile: +46 70 836 9925 Mail: kent.narl...@seamless.se www.seamless.se
Re: How to import multi-module projects in Eclipse through mvn eclipse:eclipse
Kent Narling wrote: If you want to do this, why not use one of the maven eclipse plugins? At least I know m2eclipse supports this very nicely... The only reason i stay away from adding plugins (any plugins) to eclipse is because 1) It makes Eclipse slow 2) The plugins sometimes start off uncontrollable actions (ex: downloading dependencies etc...) But if that's the only way to do this, then maybe, i'll have to rethink. Isn't this supported from mvn plugins instead? -- View this message in context: http://www.nabble.com/How-to-import-multi-module-projects-in-Eclipse-through-mvn-eclipse%3Aeclipse-tp21621731p21622164.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Showing differences in changelog
Hello, as I see, using changelog plugin I get in the report the whole changed file. However I only need the difference between the versions. How can I do that? Thanks in advance! Czollli -- View this message in context: http://www.nabble.com/Showing-differences-in-changelog-tp21622530p21622530.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: site:deploy - unexpected end of data
I have no output on remote side nor cant find dump or log file Dan Tran wrote: i mean the remote ssh shell. -D On Thu, Jan 22, 2009 at 2:43 AM, DirkG dirk.grommi...@ricoh-europe.com wrote: I´m not sure if I understand your reply correct, but all i got on client side is the dump I have posted already Dan Tran wrote: Does you shell dump lots stuff on stdout? It is a known cause of this type of issue -D On Thu, Jan 22, 2009 at 1:05 AM, DirkG dirk.grommi...@ricoh-europe.com wrote: Hi, when I using mvn site:deploy I will get an Embedded Error; Unexpected end of data I have no idea what is wrong and i cant find a log for more details. Anybody knows this problem and can help me please? POM distributionManagement site idsite-deploy-scp/id name${artifactId}/name url scp://Moba/reposmoba /url /site /distributionManagement /project settings.xml server idsite-deploy-scp/id usernameAdministrator/username passwordadmin/password /server C:\scp\my-scpmvn site:deploy [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'site'. [INFO] [INFO] Building my-scp [INFO]task-segment: [site:deploy] [INFO] [INFO] [site:deploy] : scp://Moba/reposmoba - Session: Opened Executing command: mkdir -p /reposmoba/. Executing command: mkdir -p /reposmoba/. Executing command: scp -t /reposmoba/./wagon57947.zip scp://Moba/reposmoba - Session: Disconnecting scp://Moba/reposmoba - Session: Disconnected [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error uploading site Embedded error: Unexpected end of data [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 8 seconds [INFO] Finished at: Thu Jan 22 09:19:21 CET 2009 [INFO] Final Memory: 7M/15M [INFO] -- View this message in context: http://www.nabble.com/site%3Adeploy---unexpected-end-of-data-tp21600300p21600300.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- View this message in context: http://www.nabble.com/site%3Adeploy---unexpected-end-of-data-tp21600300p21601712.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- View this message in context: http://www.nabble.com/site%3Adeploy---unexpected-end-of-data-tp21600300p21623578.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
xdoclet2: NoClassDefFoundError: org.xdoclet.QDoxMetadataProvider
Hi all, I'm not to sure whether or not I should be posting this problem here or a different forum (so forgive me if I'm doing any wrong) but here goes. I currently have a project that used to use Hibernate2 and used xdoclet1 to generate the hibernate mappings. Due to changes that necessitated the move to Hibernate3, I now have to use xdoclet2. The original product's build lifecycle was managed by maven (m2). Since this upgrade to Hibernate3 i've been having quite a few problems trying to get the maven build to execute successfully. Below are some details that might be of assistance: Error Message [INFO] [2-xdoclet2:xdoclet {execution: xdoclet}] [HUDSON] Archiving /app/maven/HUDSON-BUILDS/jobs/QuestionnaireManager/workspace/questionnaire-manager/pom.xml [INFO] [ERROR] FATAL ERROR [INFO] [INFO] org.xdoclet.QDoxMetadataProvider [INFO] [INFO] Trace java.lang.NoClassDefFoundError: org.xdoclet.QDoxMetadataProvider at org.codehaus.xdoclet.XDocletMojo.class$(XDocletMojo.java:64) at org.codehaus.xdoclet.XDocletMojo$PluginContainerComposer.composeContainer(XDocletMojo.java:65) at org.nanocontainer.integrationkit.DefaultLifecycleContainerBuilder.composeContainer(DefaultLifecycleContainerBuilder.java:25) at org.nanocontainer.integrationkit.LifecycleContainerBuilder.buildContainer(LifecycleContainerBuilder.java:43) at org.codehaus.xdoclet.XDocletMojo.execute(XDocletMojo.java:149) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412) at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:132) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140) at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:35) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at hudson.maven.agent.Main.launch(Main.java:89) at hudson.maven.MavenBuild$Builder.call(MavenBuild.java:172) at hudson.maven.MavenBuild$Builder.call(MavenBuild.java:140) at hudson.remoting.UserRequest.perform(UserRequest.java:57) at hudson.remoting.UserRequest.perform(UserRequest.java:22) at hudson.remoting.Request$2.run(Request.java:178) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) pom.xml project parent groupIdxx.xx.x.questionnaire/groupId artifactIdx-questionnaire/artifactId version1.0.0/version /parent modelVersion4.0.0/modelVersion groupIdxx.xx.x.questionnaire/groupId artifactIdquestionnairemanager/artifactId packagingwar/packaging nameQuestionnaireManager Web Application/name version1.0/version build finalNamequestionnairemanager/finalName plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-clean-plugin/artifactId executions execution idauto-clean/id phasevalidate/phase goals goalclean/goal /goals
FW: [Travel Assistance] Applications for ApacheCon EU 2009 - Now Open
-Original Message- From: Tony Stevenson [mailto:pct...@apache.org] Sent: Friday, January 23, 2009 8:28 AM To: travel-assista...@apache.org Subject: [Travel Assistance] Applications for ApacheCon EU 2009 - Now Open The Travel Assistance Committee is now accepting applications for those wanting to attend ApacheCon EU 2009 between the 23rd and 27th March 2009 in Amsterdam. The Travel Assistance Committee is looking for people who would like to be able to attend ApacheCon EU 2009 who need some financial support in order to get there. There are very few places available and the criteria is high, that aside applications are open to all open source developers who feel that their attendance would benefit themselves, their project(s), the ASF or open source in general. Financial assistance is available for travel, accommodation and entrance fees either in full or in part, depending on circumstances. It is intended that all our ApacheCon events are covered, so it may be prudent for those in the United States or Asia to wait until an event closer to them comes up - you are all welcome to apply for ApacheCon EU of course, but there must be compelling reasons for you to attend an event further away that your home location for your application to be considered above those closer to the event location. More information can be found on the main Apache website at http://www.apache.org/travel/index.html - where you will also find a link to the online application form. Time is very tight for this event, so applications are open now and will end on the 4th February 2009 - to give enough time for travel arrangements to be made. Good luck to all those that apply. Regards, The Travel Assistance Committee -- -- Tony Stevenson t...@pc-tony.com // pct...@apache.org // pct...@freenode.net http://blog.pc-tony.com/ 1024D/51047D66 ECAF DC55 C608 5E82 0B5E 3359 C9C7 924E 5104 7D66 -- - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Archetype create v. generate
Howdy, What's the approved way to create archetypes when there's an archetype metadata file? So far it seems like I can either do archetype:create, which (so far) isn't shuffling the files around from my archetype metadata file, or archetype:generate, which does, but has that interactive bit I'd like to avoid. I think I'm using Version: 2.0-alpha-4, which is actually different from the one I *thought* I was using, so I'll re-visit my process and see what's currently happening, but I'd still appreciate any input. Thanks, Dave - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
maven-assembly-plugin not running during release
I've configured the [2.1] maven-assembly-plugin to generate a zip file with an execution bound to the 'package' phase [goal is 'attached']. It's in the build element within a profile with idreleasing/id. Running % mvn release:prepare release:perform -Preleasing does not generate a zip file. Running % mvn clean install -Preleasing does create the zip file. Running 'deploy' does likewise and transports the project artifacts to the internal repo, as expected. Running without the profile activation [i.e. without '-Preleasing'] runs the install/deploy without the zip. The profile is defined in a project two inheritance levels above the project being built. Any thoughts on what might be keeping the release plugin from running assembly in this case? Brad - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Single MDB in multiple EAR files but different deployment descriptors
Hi, I'm reasonably new to using Maven and am in the process of re-structuring and migrating my project to the Maven way of doing things. So far it's going well, but I have a question which I wonder if someone could help with. I have a single message driven bean, which I need to be deployed in 4 different EAR files, each with different deployment descriptors. These deployment descriptors instruct the MDB to attach to different queues, depending on which EAR it's in and where that EAR is deployed. So, for deployment I have EAR01.ear MyMDB.jar EAR02.ear MyMDB.jar EAR03.ear MyMDB.jar EAR04.ear MyMDB.jar The only difference between these EAR files, is the deployment descriptors. Can someone please give me some advice on how to build this using maven2? Thanks, Pete
Re: [MAVEN RELEASE PLUGIN] NoSuchMethodError: org.apache.maven.settings.Settings.getRuntimeInfo() for goal prepare
it looks like mvn is not on your path. The release plugin forks a process and call the mvn.bat (or mvn.sh) script. Make sure that you can invoke mvn from any directory with the user you are using to test your release. HTH, Stéphane On Fri, Jan 23, 2009 at 3:55 PM, Lesaint Sébastien sebastien.lesa...@ginerativ.fr wrote: Hello there, I'm working for a small company and we are currently looking into Maven. I've created a few jar projects which I can build and deploy OK. I am now working on a parent POM for all them and looking for a formal release process. This is why I'm trying the release plug-in. When invoking the following command on the parent-pom project: mvn -DdryRyn=true -B -X -e -s C:\Documents and Settings\[user]\.m2\settings.xml release:clean release:prepare I am blocked by the following error: java.lang.NoSuchMethodError: org.apache.maven.settings.Settings.getRuntimeInfo()Lorg/apache/maven/settings/RuntimeInfo; I have tried not using dry mode, removing any profile from my settings.xml file. No difference. I am using Eclipse Europa, on windows XP, with the M2Eclipse plugin (embedded Maven 2.1 SNAPSHOT version) and the release plugin beta 8. I enclosed below the log file, the POM and settings.xml files I use (a little cleaned up of sensitive data though). (as debug is quite verbose, I cut most of the log file but keep the full one available on demand) Any help will be greatly appreciated. Sébastien Lesaint === + Error stacktraces are turned on. Maven version: 2.1-SNAPSHOT Java version: 1.5.0_06 Default locale: fr_FR, platform encoding: Cp1252 OS name: windows xp version: 5.1 arch: x86 family: windows [DEBUG] Activated the following profiles for standalone super-pom: [Profile {id: cvs credentials, source: settings.xml}, Profile {id: development, source: settings.xml}] [DEBUG] Pre-scanning POM lineage of: F:\bar.DOO\Eclipse\Java\foo-parent-pom\pom.xml for build extensions. [DEBUG] Building model-lineage for: F:\bar.DOO\Eclipse\Java\foo-parent-pom\pom.xml to pre-scan for extensions. [DEBUG] Checking for external profiles in: F:\bar.DOO\Eclipse\Java\foo-parent-pom\profiles.xml [DEBUG] Checking: com.foo:foo-parent-pom:pom:1.0.1-SNAPSHOT for extensions. (It has 0 modules.) [DEBUG] Checking com.foo:foo-parent-pom:pom:1.0.1-SNAPSHOT for extensions. [DEBUG] Basedir is: F:\bar.DOO\Eclipse\Java\foo-parent-pom [DEBUG] Checking for external profiles in: F:\bar.DOO\Eclipse\Java\foo-parent-pom\profiles.xml [DEBUG] Checking for external profiles in: F:\bar.DOO\Eclipse\Java\foo-parent-pom\profiles.xml [DEBUG] Checking for external profiles in: F:\bar.DOO\Eclipse\Java\foo-parent-pom\profiles.xml [DEBUG] Aligning project: com.foo:foo-parent-pom:pom:1.0.1-SNAPSHOT to base directory: F:\bar.DOO\Eclipse\Java\foo-parent-pom [DEBUG] Capturing session for backward compatibility aspect: org.apache.maven.execution.mavensess...@3c2378 [INFO] Searching repository for plugin with prefix: 'release'. [DEBUG] Loading plugin prefixes from group: org.apache.maven.plugins [DEBUG] Checking repositories: [[central] - http://central, [foo] - http://[host]:8081/nexus/content/repositories/releases/, [foo-snapshots] - http://[host]:8081/nexus/content/repositories/snapshots/] [...] for plugin: /plugins/org.apache.maven.plugins:maven-release-plugin:2.0-bet...@48/thread:main [DEBUG] Constructing build plan for foo Parent POM Id: com.foo:foo-parent-pom:pom:1.0.1-SNAPSHOT task-segment: [release:clean, release:prepare] (aggregator-style) [INFO] [INFO] Building foo Parent POM [INFO] [INFO] Id: com.foo:foo-parent-pom:pom:1.0.1-SNAPSHOT [INFO] task-segment: [release:clean, release:prepare] (aggregator-style) [INFO] [DEBUG] Resolving plugin: org.apache.maven.plugins:maven-release-plugin with version: 2.0-beta-7 [DEBUG] In verifyVersionedPlugin for: org.apache.maven.plugins:maven-release-plugin [DEBUG] org.apache.maven.plugins:maven-release-plugin:maven-plugin:2.0-beta-7:runtime (selected for runtime) [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected for runtime) [DEBUG] org.apache.maven.release:maven-release-manager:jar:1.0-alpha-4:runtime (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.3:runtime (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-6:runtime (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.4:runtime (removed - nearer found: 1.3) [DEBUG] org.apache.maven:maven-model:jar:2.0:runtime (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.3) [DEBUG]
Re: How to import multi-module projects in Eclipse through mvn eclipse:eclipse
I think you may be able to do it if you put the parent and child projects at the same level in the filesystem; don't nest the child modules in the parent's directory. Thus, your parent pom will have module../myappone/module module../myapptwo/module And the child poms will have something like parent artifactIdparentArtifactId/artifactId groupIdmyGroupId/groupId versionwhatever/version relativePath../parent/pom.xml/relativePath /parent Get that to work outside of eclipse, then start over with eclipse and import each one separately. Jaikiran wrote: Kent Narling wrote: If you want to do this, why not use one of the maven eclipse plugins? At least I know m2eclipse supports this very nicely... The only reason i stay away from adding plugins (any plugins) to eclipse is because 1) It makes Eclipse slow 2) The plugins sometimes start off uncontrollable actions (ex: downloading dependencies etc...) But if that's the only way to do this, then maybe, i'll have to rethink. Isn't this supported from mvn plugins instead? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven Embedder - Jar in official repo is too old
The repository below requires a userid and password, . . . do you have public repository, . . . I have a need for maven embedder too. Jason van Zyl-2 wrote: Take it from the CI system, there is no official release. http://ci.sonatype.org/view/Maven%203.0.x/job/maven-3.0.x-bootstrap/ On 4-Sep-08, at 9:00 AM, Kem Elbrader wrote: I'm also interested in using maven embedder and don't know which version to use and where to find it. I had been using 2.1-SNAPSHOT from the snapshot repo but it seems to no longer be available. On Wed, Sep 3, 2008 at 1:12 PM, Shalin Shekhar Mangar shalinman...@gmail.com wrote: Hello, I'm trying to embed Maven in my application. I've looked at the Maven embedded mini-guide at http://maven.apache.org/guides/mini/guide-embedding-m2.html The latest version of maven-embedded at the main repository is 2.0.4 ( http://repo1.maven.org/maven2/org/apache/maven/maven-embedder/ ). However, that version seems to be very old and many of the classes and methods used in the example snippet on the guide page do not exist in that version. Where can I find the most recent stable release 2.0.9 version for maven-embedded? Is it not hosted on any repository? -- Regards, Shalin Shekhar Mangar. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org Thanks, Jason -- Jason van Zyl Founder, Apache Maven jason at sonatype dot com -- Our achievements speak for themselves. What we have to keep track of are our failures, discouragements and doubts. We tend to forget the past difficulties, the many false starts, and the painful groping. We see our past achievements as the end result of a clean forward thrust, and our present difficulties as signs of decline and decay. -- Eric Hoffer, Reflections on the Human Condition - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- View this message in context: http://n2.nabble.com/Maven-Embedder---Jar-in-official-repo-is-too-old-tp837106p2204756.html Sent from the maven users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: [MAVEN RELEASE PLUGIN] NoSuchMethodError: org.apache.maven.settings.Settings.getRuntimeInfo() for goal prepare
Hi Stephane, Thanks for the quick answer. I must have messed up with the log file I had or with the copy/paste. The log data I've included in the mail was the one of a test I run with beta-7 after I had tried everything with beta-8. Since I'm using M2Eclipse, I don't have a real install of maven on my computer so I need beta-8. If there is no way to make beta-8 working, I'll install maven and try beta-7. Anyway, please find the correct log file below. Sorry for the waste of time. Sébastien Lesaint + Error stacktraces are turned on. Maven version: 2.1-SNAPSHOT Java version: 1.5.0_06 Default locale: fr_FR, platform encoding: Cp1252 OS name: windows xp version: 5.1 arch: x86 family: windows [DEBUG] Activated the following profiles for standalone super-pom: [Profile {id: cvs credentials, source: settings.xml}, Profile {id: development, source: settings.xml}] [DEBUG] Pre-scanning POM lineage of: F:\bar.boo\Eclipse\Java\bar-parent-pom\pom.xml for build extensions. [DEBUG] Building model-lineage for: F:\bar.boo\Eclipse\Java\bar-parent-pom\pom.xml to pre-scan for extensions. [DEBUG] Checking for external profiles in: F:\bar.boo\Eclipse\Java\bar-parent-pom\profiles.xml [DEBUG] Checking: com.bar:bar-parent-pom:pom:1.0.1-SNAPSHOT for extensions. (It has 0 modules.) [DEBUG] Checking com.bar:bar-parent-pom:pom:1.0.1-SNAPSHOT for extensions. [DEBUG] Basedir is: F:\bar.boo\Eclipse\Java\bar-parent-pom [DEBUG] Checking for external profiles in: F:\bar.boo\Eclipse\Java\bar-parent-pom\profiles.xml [DEBUG] Checking for external profiles in: F:\bar.boo\Eclipse\Java\bar-parent-pom\profiles.xml [DEBUG] Checking for external profiles in: F:\bar.boo\Eclipse\Java\bar-parent-pom\profiles.xml [DEBUG] Aligning project: com.bar:bar-parent-pom:pom:1.0.1-SNAPSHOT to base directory: F:\bar.boo\Eclipse\Java\bar-parent-pom [DEBUG] Capturing session for backward compatibility aspect: org.apache.maven.execution.mavensess...@3c2378 [...] [DEBUG] Returning artifacts: [org.apache.maven:maven-plugin-api:jar:2.0:runtime, org.apache.maven.release:maven-release-manager:jar:1.0-alpha-5:runtime, org.codehaus.plexus:plexus-utils:jar:1.5.6:runtime, org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-6:runtime, org.apache.maven:maven-model:jar:2.0:runtime, org.apache.maven:maven-artifact:jar:2.0.8:runtime, org.apache.maven:maven-project:jar:2.0:runtime, org.apache.maven:maven-settings:jar:2.0:runtime, org.apache.maven:maven-profile:jar:2.0:runtime, org.apache.maven:maven-artifact-manager:jar:2.0:runtime, org.apache.maven:maven-repository-metadata:jar:2.0:runtime, org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime, org.apache.maven.scm:maven-scm-api:jar:1.1:runtime, org.apache.maven.scm:maven-scm-manager-plexus:jar:1.1:runtime, org.apache.maven.scm:maven-scm-provider-accurev:jar:1.1:runtime, org.apache.maven.scm:maven-scm-provider-bazaar:jar:1.1:runtime, regexp:regexp:jar:1.3:runtime, org.apache.maven.scm:maven-scm-provider-clearcase:jar:1.1:runtime, org.apache.maven.scm:maven-scm-provider-cvsexe:jar:1.1:runtime, org.apache.maven.scm:maven-scm-provider-cvs-commons:jar:1.1:runtime, org.apache.maven.scm:maven-scm-provider-cvsjava:jar:1.1:runtime, org.netbeans.lib:cvsclient:jar:20060125:runtime, ch.ethz.ganymed:ganymed-ssh2:jar:build210:runtime, org.apache.maven.scm:maven-scm-provider-gitexe:jar:1.1:runtime, org.apache.maven.scm:maven-scm-provider-git-commons:jar:1.1:runtime, org.apache.maven.scm:maven-scm-provider-hg:jar:1.1:runtime, org.apache.maven.scm:maven-scm-provider-perforce:jar:1.1:runtime, org.apache.maven.scm:maven-scm-provider-starteam:jar:1.1:runtime, org.apache.maven.scm:maven-scm-provider-svn-commons:jar:1.1:runtime, org.apache.maven.scm:maven-scm-provider-svnexe:jar:1.1:runtime, org.apache.maven.scm:maven-scm-provider-synergy:jar:1.1:runtime, jdom:jdom:jar:1.0:runtime, jaxen:jaxen:jar:1.1-beta-8:runtime, org.apache.maven.shared:maven-invoker:jar:2.0.9:runtime, commons-cli:commons-cli:jar:1.0:runtime, commons-logging:commons-logging:jar:1.0:runtime, commons-lang:commons-lang:jar:1.0:runtime, junit:junit:jar:3.8.1:runtime, org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime, classworlds:classworlds:jar:1.1-alpha-2:runtime] for plugin: /plugins/org.apache.maven.plugins:maven-release-plugin:2.0-bet...@48/thread:main [DEBUG] Looking up mojo org.apache.maven.plugins:maven-release-plugin:2.0-beta-8:prepare in realm /plugins/org.apache.maven.plugins:maven-release-plugin:2.0-bet...@48/thread:main - descRealmId=/plugins/org.apache.maven.plugins:maven-release-plugin:2.0-bet...@48/thread:main [DEBUG] Looked up - org.apache.maven.plugins.release.preparereleasem...@d9896e - ClassRealm[/plugins/org.apache.maven.plugins:maven-release-plugin:2.0-bet...@48/thread:main, parent: ClassRealm[plexus.core, parent: null]] [DEBUG] Configuring mojo
Re: How to import multi-module projects in Eclipse through mvn eclipse:eclipse
I forgot to add, I agree with Kent; using the m2eclipse plugin really makes it much nicer; it keeps your classpath up to date and all kinds of other nice stuff. Just learn to get in the habit of sitting back and waiting for it to finish doing its stuff when you start eclipse; for me the price is well worth it. Rusty Wright wrote: I think you may be able to do it if you put the parent and child projects at the same level in the filesystem; don't nest the child modules in the parent's directory. Thus, your parent pom will have module../myappone/module module../myapptwo/module And the child poms will have something like parent artifactIdparentArtifactId/artifactId groupIdmyGroupId/groupId versionwhatever/version relativePath../parent/pom.xml/relativePath /parent Get that to work outside of eclipse, then start over with eclipse and import each one separately. Jaikiran wrote: Kent Narling wrote: If you want to do this, why not use one of the maven eclipse plugins? At least I know m2eclipse supports this very nicely... The only reason i stay away from adding plugins (any plugins) to eclipse is because 1) It makes Eclipse slow 2) The plugins sometimes start off uncontrollable actions (ex: downloading dependencies etc...) But if that's the only way to do this, then maybe, i'll have to rethink. Isn't this supported from mvn plugins instead? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
How to include a tld in my jar
Hi, How do I include a tld in my jar? The tld address is project/src/main/other/META-INF/mytags.tld. I tried several ways to do this, but no one worked well. Thanks, Joao Paulo
Re: How to include a tld in my jar
You should put it in src/main/resources. It's the default path for resources to be included in you jar. On Fri, Jan 23, 2009 at 4:45 PM, João Paulo Mafra jpmneof...@gmail.comwrote: Hi, How do I include a tld in my jar? The tld address is project/src/main/other/META-INF/mytags.tld. I tried several ways to do this, but no one worked well. Thanks, Joao Paulo
Re: How to include a tld in my jar
but to get them into a META-INF, you would add them to /src/main/*resources*/META-INF/mytags.tld. --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring Agile Consulting p. (866) BLiNC-411: (254-6241-1) f. (415) 685-4233 Website: http://baselogic.com Linked IN: http://linkedin.com/in/mickknutson Twitter: http://twitter.com/mickknutson Vacation Rental: http://tahoe.baselogic.com --- On Fri, Jan 23, 2009 at 1:54 PM, Felipe Kamakura felipekamak...@gmail.comwrote: You should put it in src/main/resources. It's the default path for resources to be included in you jar. On Fri, Jan 23, 2009 at 4:45 PM, João Paulo Mafra jpmneof...@gmail.com wrote: Hi, How do I include a tld in my jar? The tld address is project/src/main/other/META-INF/mytags.tld. I tried several ways to do this, but no one worked well. Thanks, Joao Paulo
Re: How to include a tld in my jar
Hi!, Thank you all very much, I've forgotten about /src/main/resources directory :D Cheers, Joao Paulo 2009/1/23 Mick Knutson mickknut...@gmail.com but to get them into a META-INF, you would add them to /src/main/*resources*/META-INF/mytags.tld. --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring Agile Consulting p. (866) BLiNC-411: (254-6241-1) f. (415) 685-4233 Website: http://baselogic.com Linked IN: http://linkedin.com/in/mickknutson Twitter: http://twitter.com/mickknutson Vacation Rental: http://tahoe.baselogic.com --- On Fri, Jan 23, 2009 at 1:54 PM, Felipe Kamakura felipekamak...@gmail.comwrote: You should put it in src/main/resources. It's the default path for resources to be included in you jar. On Fri, Jan 23, 2009 at 4:45 PM, João Paulo Mafra jpmneof...@gmail.com wrote: Hi, How do I include a tld in my jar? The tld address is project/src/main/other/META-INF/mytags.tld. I tried several ways to do this, but no one worked well. Thanks, Joao Paulo
How to do sftp without getting passwd or connection prompt?
Can someone please advise how this can get done without entering password or yes? I am enclosing the settings.xml for reference. Thanks. Ray Here is the output of the logs. deploy: [echo] Deploying foundation to remote sftp://nbs5u2j:2xadv103...@chiadvsdap62/datlib/advantage/sig/repository/ snapshot... Warning: Reference repo.local.id has not been set at runtime, but was found during build file parsing, attempting to resolve. Future versions of Ant may support referencing ids defined in non-executed targets. [artifact:deploy] Deploying to sftp://chiadvsdap62/datlib/advantage/sig/repository/snapshot [artifact:deploy] [INFO] Retrieving previous build number from sftp://nbs5u2j:2xadv103...@chiadvsdap62/datlib/advantage/sig/repository/ snapshot [artifact:deploy] The authenticity of host 'chiadvsdap62' can't be established. [artifact:deploy] DSA key fingerprint is 6e:18:0c:a0:07:70:94:18:1e:af:10:e5:5a:35:94:96. [artifact:deploy] Are you sure you want to continue connecting? (yes/no): yes [artifact:deploy] * [artifact:deploy] ** ** [artifact:deploy] ** This is a private computer system with access ** [artifact:deploy] ** restricted to those with proper authorization. ** [artifact:deploy] ** If you are not specifically authorized to ** [artifact:deploy] ** access data on this system, disconnect now. All ** [artifact:deploy] ** information and communications on this system ** [artifact:deploy] ** are subject to review, monitoring, and ** [artifact:deploy] ** recording at any time without notice or ** [artifact:deploy] ** permission. Unauthorized use or access may be ** [artifact:deploy] ** subject to prosecution or disciplinary action. ** [artifact:deploy] ** ** [artifact:deploy] * [artifact:deploy] [artifact:deploy] : [artifact:deploy] Password: : 2xadv103607 [artifact:deploy] Password: : 2xadv103607 settings profiles profile repositories repository idpublic-repository/id nameWebapps Repository/name urlhttp://chiadvsdap62/repository/snapshot/url layoutdefault/layout /repository /repositories /profile /profiles servers server idpublic-repository/id usernamenbs5u2j/username password2xadv1036j07/password privateKey/Net/prduser/users/nbs5u2j/.ssh2/hostkeys/privateKey passphrase/passphrase /server /servers proxies proxy activetrue/active protocolhttp/protocol hostwebproxy.bankofamerica.com/host port8080/port nonProxyHosts*.bankofamerica.com/nonProxyHosts /proxy /proxies /settings - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
public html index for the site repo of org.apache.maven.plugins?
Is there a publicly-available html index of the org.apache.maven.plugins site documentation, with previous versions of the sites, etc? I see the upload url for the site documentation is scp://people.apache.org/www/maven.apache.org/plugins/ but I'm looking for something akin to central's html layout. Thanks. -- View this message in context: http://www.nabble.com/public-html-index-for-the-site-repo-of-org.apache.maven.plugins--tp21632964p21632964.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: How to do sftp without getting passwd or connection prompt?
Hi Ray, I may be well off, but this usually works for me - the only thing different is that I use the scpexe protocol. Cheers, Johan Tang, Ray wrote: Can someone please advise how this can get done without entering password or yes? I am enclosing the settings.xml for reference. Thanks. Ray Here is the output of the logs. deploy: [echo] Deploying foundation to remote sftp://nbs5u2j:2xadv103...@chiadvsdap62/datlib/advantage/sig/repository/snapshot... Warning: Reference repo.local.id has not been set at runtime, but was found during build file parsing, attempting to resolve. Future versions of Ant may support referencing ids defined in non-executed targets. [artifact:deploy] Deploying to sftp://chiadvsdap62/datlib/advantage/sig/repository/snapshot [artifact:deploy] [INFO] Retrieving previous build number from sftp://nbs5u2j:2xadv103...@chiadvsdap62/datlib/advantage/sig/repository/snapshot [artifact:deploy] The authenticity of host 'chiadvsdap62' can't be established. [artifact:deploy] DSA key fingerprint is 6e:18:0c:a0:07:70:94:18:1e:af:10:e5:5a:35:94:96. [artifact:deploy] Are you sure you want to continue connecting? (yes/no): yes [artifact:deploy] * [artifact:deploy] ** ** [artifact:deploy] ** This is a private computer system with access ** [artifact:deploy] ** restricted to those with proper authorization. ** [artifact:deploy] ** If you are not specifically authorized to ** [artifact:deploy] ** access data on this system, disconnect now. All ** [artifact:deploy] ** information and communications on this system ** [artifact:deploy] ** are subject to review, monitoring, and ** [artifact:deploy] ** recording at any time without notice or ** [artifact:deploy] ** permission. Unauthorized use or access may be ** [artifact:deploy] ** subject to prosecution or disciplinary action. ** [artifact:deploy] ** ** [artifact:deploy] * [artifact:deploy] [artifact:deploy] : [artifact:deploy] Password: : 2xadv103607 [artifact:deploy] Password: : 2xadv103607 - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- you too? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: How to do sftp without getting passwd or connection prompt?
you need to add your public key to your remote shell, please read up on configuring ssh shell to details. there should be plenty example on search -D On Fri, Jan 23, 2009 at 1:23 PM, Tang, Ray ray.t...@bankofamerica.com wrote: Can someone please advise how this can get done without entering password or yes? I am enclosing the settings.xml for reference. Thanks. Ray Here is the output of the logs. deploy: [echo] Deploying foundation to remote sftp://nbs5u2j:2xadv103...@chiadvsdap62/datlib/advantage/sig/repository/snapshot... Warning: Reference repo.local.id has not been set at runtime, but was found during build file parsing, attempting to resolve. Future versions of Ant may support referencing ids defined in non-executed targets. [artifact:deploy] Deploying to sftp://chiadvsdap62/datlib/advantage/sig/repository/snapshot [artifact:deploy] [INFO] Retrieving previous build number from sftp://nbs5u2j:2xadv103...@chiadvsdap62/datlib/advantage/sig/repository/snapshot [artifact:deploy] The authenticity of host 'chiadvsdap62' can't be established. [artifact:deploy] DSA key fingerprint is 6e:18:0c:a0:07:70:94:18:1e:af:10:e5:5a:35:94:96. [artifact:deploy] Are you sure you want to continue connecting? (yes/no): yes [artifact:deploy] * [artifact:deploy] ** ** [artifact:deploy] ** This is a private computer system with access ** [artifact:deploy] ** restricted to those with proper authorization. ** [artifact:deploy] ** If you are not specifically authorized to ** [artifact:deploy] ** access data on this system, disconnect now. All ** [artifact:deploy] ** information and communications on this system ** [artifact:deploy] ** are subject to review, monitoring, and ** [artifact:deploy] ** recording at any time without notice or ** [artifact:deploy] ** permission. Unauthorized use or access may be ** [artifact:deploy] ** subject to prosecution or disciplinary action. ** [artifact:deploy] ** ** [artifact:deploy] * [artifact:deploy] [artifact:deploy] : [artifact:deploy] Password: : 2xadv103607 [artifact:deploy] Password: : 2xadv103607 - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: public html index for the site repo of org.apache.maven.plugins?
On Fri, Jan 23, 2009 at 2:27 PM, ecc11718 ecc11...@gmail.com wrote: Is there a publicly-available html index of the org.apache.maven.plugins site documentation, with previous versions of the sites, etc? I see the upload url for the site documentation is scp://people.apache.org/www/maven.apache.org/plugins/ but I'm looking for something akin to central's html layout. Some of the plugins do have docs published for prior versions, but not all of them. There is no index, but below is a list of what's available. If people find this useful, perhaps the project of figuring out how to link to old versions of the docs will float back up my priority list. :) It would be nice to automate it somehow, but at present it would be a manual step to update the docs, and as other people do most of the plugin releases I hesitate to pile more work on them. maven-ant-plugin maven-ant-plugin-2.1 maven-antlr-plugin maven-antrun-plugin maven-antrun-plugin-1.2 maven-antrun-plugin-1.3 maven-archetype-plugin maven-archetype-plugin-1.0-alpha-7 maven-archetype-plugin-2.0-alpha-3 maven-archetype-plugin-2.0-alpha-4 maven-archetype-plugin-2.0-alpha-5-SNAPSHOT maven-assembly-plugin maven-assembly-plugin-2.1 maven-assembly-plugin-2.2-beta-1 maven-changelog-plugin maven-changes-plugin maven-changes-plugin-2.0 maven-changes-plugin-2.1 maven-checkstyle-plugin maven-checkstyle-plugin-2.2 maven-clean-plugin maven-clean-plugin-2.3 maven-clover-plugin maven-compiler-plugin maven-dependency-plugin maven-dependency-plugin-2.1 maven-deploy-plugin maven-deploy-plugin-2.4 maven-doap-plugin maven-doap-plugin-1.0 maven-docck-plugin maven-docck-plugin-1.0 maven-ear-plugin maven-eclipse-plugin maven-eclipse-plugin-2.4 maven-eclipse-plugin-2.5 maven-eclipse-plugin-2.5.1 maven-eclipse-plugin-2.6-SNAPSHOT maven-ejb-plugin maven-enforcer-plugin maven-gpg-plugin maven-help-plugin maven-help-plugin-2.1 maven-idea-plugin maven-idea-plugin-2.2 maven-install-plugin maven-invoker-plugin maven-invoker-plugin-1.2.1 maven-invoker-plugin-1.3 maven-jar-plugin maven-javadoc-plugin maven-javadoc-plugin-2.5 maven-jxr-plugin maven-one-plugin maven-patch-plugin maven-plugin-plugin maven-plugin-plugin-2.4.3 maven-pmd-plugin maven-project-info-reports-plugin maven-project-info-reports-plugin-2.1 maven-rar-plugin maven-reactor-plugin maven-release-plugin maven-release-plugin-2.0-beta-8 maven-remote-resources-plugin maven-repository-plugin maven-resources-plugin maven-shade-plugin maven-site-plugin maven-site-plugin-2.0-beta-5 maven-site-plugin-2.0-beta-7 maven-source-plugin maven-stage-plugin maven-stage-plugin-1.0-alpha-1 maven-surefire-plugin maven-surefire-report-plugin maven-verifier-plugin maven-war-plugin maven-war-plugin-2.1-alpha-2 To get to any of these sites, append the above to http://maven.apache.org/plugins/ HTH, -- Wendy - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: How to import multi-module projects in Eclipse through mvn eclipse:eclipse
Rusty, The startup issue been fixed while ago. The project import and updating dependencies may take some time for large project, but nothing like that is happening at Eclipse startup anymore. regards, Eugene Rusty Wright-2 wrote: I forgot to add, I agree with Kent; using the m2eclipse plugin really makes it much nicer; it keeps your classpath up to date and all kinds of other nice stuff. Just learn to get in the habit of sitting back and waiting for it to finish doing its stuff when you start eclipse; for me the price is well worth it. Rusty Wright wrote: I think you may be able to do it if you put the parent and child projects at the same level in the filesystem; don't nest the child modules in the parent's directory. Thus, your parent pom will have module../myappone/module module../myapptwo/module And the child poms will have something like parent artifactIdparentArtifactId/artifactId groupIdmyGroupId/groupId versionwhatever/version relativePath../parent/pom.xml/relativePath /parent Get that to work outside of eclipse, then start over with eclipse and import each one separately. Jaikiran wrote: Kent Narling wrote: If you want to do this, why not use one of the maven eclipse plugins? At least I know m2eclipse supports this very nicely... The only reason i stay away from adding plugins (any plugins) to eclipse is because 1) It makes Eclipse slow 2) The plugins sometimes start off uncontrollable actions (ex: downloading dependencies etc...) But if that's the only way to do this, then maybe, i'll have to rethink. Isn't this supported from mvn plugins instead? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- View this message in context: http://www.nabble.com/How-to-import-multi-module-projects-in-Eclipse-through-mvn-eclipse%3Aeclipse-tp21621731p21637043.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: How to do sftp without getting passwd or connection prompt?
If you're running on windows, you can use Pageant to automatically take care of your SSH login so that you're not prompted for username/password each time. I've used Pageant in conjunction with scpexe to deploy. A nice tutorial describing SSH setup can be found at: http://www.howtoforge.com/ssh_key_based_logins_putty Deron Eriksson -- View this message in context: http://www.nabble.com/How-to-do-sftp-without-getting-passwd-or-connection-prompt--tp21632915p21637964.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org