Re: Git or Mercurial
Hi Ben, Am 08.07.2011 04:44, schrieb Ben Caradoc-Davies: On 07/07/11 23:04, Sascha Vogt wrote: Am 05.07.2011 10:46, schrieb Ben Caradoc-Davies: For large projects (8000 source files) egit becomes painful: every time a file is saved egit insists on making Eclipse refresh everything, which results in multi-second hangs. None of the configurable refresh options appear to fix this. Pure pain. I had to stop using it. When did you last test this? I think exactly this behaviour has greatly improved in one of the last releases (either 1.0 or 0.12.x). At least I saw some posts on the egit mailing list indicating that. I was using egit 0.12.1 in Helios SR2 x86_64 under Linux. I uninstalled egit on 8 June. *hm* An improvement for the decorators should have been committed to master on January (according to my email archive), that should have made it to 0.12.1 - Maybe that improvement wasn't enough for you. I am reliably informed that egit is responsible for corrupting the udig repository last year - losing a lot of our project history. But I found it to work quite well for read-only use. How can that happen? I mean, every dev should have a complete repository locally. If one push corrupts the server just get one of the devs repos and use that... Better than nothing. Anyway, some sort of backup should be done as well (which is not that hard, since the repos are self-contained). Anyway, this shouldn't be egits fault, but jgit, the Java git implementation. Maybe you can share some more details how the repo got corrupted. http://lists.refractions.net/pipermail/udig-devel/2011-February/thread.html#19321 In particular, these: http://lists.refractions.net/pipermail/udig-devel/2011-February/019321.html http://lists.refractions.net/pipermail/udig-devel/2011-February/019329.html http://lists.refractions.net/pipermail/udig-devel/2011-February/019334.html http://lists.refractions.net/pipermail/udig-devel/2011-February/019346.html The bug: http://help.github.com/fix-egit-corruption/ Thx a lot for the informations - luckily for me this was just after I started using egit :) Greetings -Sascha- - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Plugin development using Guice?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi guys, is it possible to use Guice for new plugins? Since Maven is build on top of Guice, this should be possible, does it? A link to an existing plugin using Guice would be great, if there existed one. Thanks, Johannes - -- Johannes Schneider - blog.cedarsoft.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) iQEcBAEBAgAGBQJOFsGaAAoJEAytD9R7Qv6dduYIAMb515pWUZvTFJnkJGL9dvl6 yVZgn3p3KnAGfgrjynH121VO+DrNn0IEmipbs+95QPF4Sn6gN3DNUiQH2244CeoZ ir7BN2z84aW6j/G+WqEo8JFI4qurF2P/n6+2nrpdBjmOUg5zQzly975TCmpnuOnh 7HbEzhFymtzKfyiql2wV6qCiWHSRq5Q/IzZDNQkM76oe6HYBlYGV//Rv3uxIcJqa 6G2zWTtGOd4csMAXpkPjK5BmQc7+Yf/+wsPSINF2mThJmtUx17bVwLogmLA/YHEd mYiB4xKUHIi2goXglJviT5dpd1qUbKCP228rargv44OUNFWgmNjcgIAw+VhYfDg= =+jgF -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
maven-surefire-plugin : when does it abort?
Hi, I have a test class with several test methods. I suspect Surefire run all the tests even if there is a failure in one method. Am I right? If this is the case, is there a way to tell Surefire to abort as soon as it gets a failure? I'm using JUnit4 Thanks in advance, Marc.
Re: maven-surefire-plugin : when does it abort?
http://jira.codehaus.org/browse/SUREFIRE-580 On 8 July 2011 10:05, Marc SCHNEIDER marc.schneide...@gmail.com wrote: Hi, I have a test class with several test methods. I suspect Surefire run all the tests even if there is a failure in one method. Am I right? If this is the case, is there a way to tell Surefire to abort as soon as it gets a failure? I'm using JUnit4 Thanks in advance, Marc. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Maven installation and using in project without Internet conncetion
I'm new to maven project. I'm changing an ant project to maven project. To install the 3rd party jar's in maven local repository, I used install command. Its trying to download the resource jar.pom. I don't have download access in my organization so the build failed for installation. After request i got the resource jar and clean jar in my desktop(also i can get other necessary jar). How to make maven to use these jar for the process and how to install the jar in local repository without internet access. I downloaded the jar and placed in local repository but it couldn't point the path and use those jars. please let me know what steps i have follow to run maven install and other commands to build the project without internet access. where should i placed the jar which i have downloaded by external way. Please guide me for building and deploying the project. Thanks in advance. Thanks for the reply. But i have not reached the solution. Because I used the command install-file,mvn *install:install-file -Dfile=Logger.jar \ -DgroupId=Log \ -DartifactId=Logger \ -Dversion=1.1 \ -DgeneratePom=true *. It tries to download http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.3.2/maven-compiler-plugin-2.3.2.pom http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.3.2/maven-compiler-plugin-2.3.2.pom .. It will not be allowed by my organisation.. so i downloaded maven compler plugin,clean,install,resource and placed in local repostiory still it fails to install jar.. from which directory we should run install-file command because it prompts for pom file when i used the command from default structure I've posted the same question in stackoverflow.com http://stackoverflow.com/questions/6609443/maven-installation-and-using-in-project-without-internet-conncetion http://stackoverflow.com/questions/6609443/maven-installation-and-using-in-project-without-internet-conncetion . I couldn't solve the issue with the replies. I believe this is the right place to post the question. Please help me out to solve the issue. Thanks in advance.. Awaiting solution for my issue. -- View this message in context: http://maven.40175.n5.nabble.com/Maven-installation-and-using-in-project-without-Internet-conncetion-tp4564443p4564443.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
Maven searching remote repo's for locally installed jars
Hi, When I build a project. Maven tries to find the jars that I installed locally, because they don't have repositories through all the repo's I have set up. It takes ages. How can I prevent this from happening? Kind regards, Marc -- View this message in context: http://maven.40175.n5.nabble.com/Maven-searching-remote-repo-s-for-locally-installed-jars-tp4564657p4564657.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 installation and using in project without Internet conncetion
If you don't have internet access, you will want to install Nexus or some other Maven Repo, locally. Then you can download jars and put them in your local repo and point Maven to that. Even if you could access the Internet, I strongly recommend a repo. It makes your life with Maven so much easier and makes Maven a pleasure to use rather than a battle with a mysterious and devious partner. Ron On 08/07/2011 7:34 AM, skmoorthy02 wrote: I'm new to maven project. I'm changing an ant project to maven project. To install the 3rd party jar's in maven local repository, I used install command. Its trying to download the resource jar.pom. I don't have download access in my organization so the build failed for installation. After request i got the resource jar and clean jar in my desktop(also i can get other necessary jar). How to make maven to use these jar for the process and how to install the jar in local repository without internet access. I downloaded the jar and placed in local repository but it couldn't point the path and use those jars. please let me know what steps i have follow to run maven install and other commands to build the project without internet access. where should i placed the jar which i have downloaded by external way. Please guide me for building and deploying the project. Thanks in advance. Thanks for the reply. But i have not reached the solution. Because I used the command install-file,mvn *install:install-file -Dfile=Logger.jar \ -DgroupId=Log \ -DartifactId=Logger \ -Dversion=1.1 \ -DgeneratePom=true *. It tries to download http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.3.2/maven-compiler-plugin-2.3.2.pom http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.3.2/maven-compiler-plugin-2.3.2.pom .. It will not be allowed by my organisation.. so i downloaded maven compler plugin,clean,install,resource and placed in local repostiory still it fails to install jar.. from which directory we should run install-file command because it prompts for pom file when i used the command from default structure I've posted the same question in stackoverflow.com http://stackoverflow.com/questions/6609443/maven-installation-and-using-in-project-without-internet-conncetion http://stackoverflow.com/questions/6609443/maven-installation-and-using-in-project-without-internet-conncetion . I couldn't solve the issue with the replies. I believe this is the right place to post the question. Please help me out to solve the issue. Thanks in advance.. Awaiting solution for my issue. -- View this message in context: http://maven.40175.n5.nabble.com/Maven-installation-and-using-in-project-without-Internet-conncetion-tp4564443p4564443.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
Re: Maven searching remote repo's for locally installed jars
On Fri, Jul 8, 2011 at 8:53 AM, mschipperheyn m.schipperh...@gmail.com wrote: When I build a project. Maven tries to find the jars that I installed locally, because they don't have repositories through all the repo's I have set up. It takes ages. How can I prevent this from happening? There isn't enough info here to be sure, but my guess is that it's not searching for the jar at all... it's looking for the pom that is not in your local repo. How did you install it locally, exactly? And what is the build log message that's making you think this? -- Wendy - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven searching remote repo's for locally installed jars
On 08/07/2011 8:53 AM, mschipperheyn wrote: Hi, When I build a project. Maven tries to find the jars that I installed locally, because they don't have repositories through all the repo's I have set up. It takes ages. How can I prevent this from happening? Your own Nexus mirroring the universe. Makes it run fast. Kind regards, Marc -- View this message in context: http://maven.40175.n5.nabble.com/Maven-searching-remote-repo-s-for-locally-installed-jars-tp4564657p4564657.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
Mirrors and repositories
Hi all - I thought I had a good handle on this, but can someone help me fully understand the mirrors and repositories settings in settings.xml? When one has a repository server running, and there are several urls grouped up, why isn't it enough to tell maven where to look via a single mirrors stanza? Why do I then also have to define an additional repository? For example, if I have: mirrors mirror idfull/id namePublic repository/name urlhttp://nexus.is.awesome/nexus/content/groups/public/url mirrorOf*/mirrorOf /mirror /mirrors Why do I also need to do this: profiles profile iddefault/id activation activeByDefaulttrue/activeByDefault /activation repositories repository idsnapshots/id nameSnapshots/name releases enabledfalse/enabled updatePolicyalways/updatePolicy checksumPolicywarn/checksumPolicy /releases snapshots enabledtrue/enabled updatePolicyalways/updatePolicy checksumPolicyfail/checksumPolicy /snapshots url http://nexus.is.awesome/nexus/content/repositories/snapshots//url layoutdefault/layout /repository /repositories /profile .. I'd have thought that the mirror stanza above would have pointed maven to this grouped up url for ALL artifact resolution.
Re: Mirrors and repositories
On Fri, Jul 8, 2011 at 3:50 PM, Maven User maven.2.u...@gmail.com wrote: I thought I had a good handle on this, but can someone help me fully understand the mirrors and repositories settings in settings.xml? When one has a repository server running, and there are several urls grouped up, why isn't it enough to tell maven where to look via a single mirrors stanza? Why do I then also have to define an additional repository? What happens when you don't? Knowing why you think you need to do it would help someone explain it. One reason you might do it is to enable a repository to be searched for snapshots. By default, Maven's built-in definition of 'central' only has releases enabled. Unless you define another repository somewhere that has snapshots enabled, Maven will never retrieve any snapshots. -- Wendy - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Mirrors and repositories
Ahhh - here we go - So I'm working on rolling out a corp pom for a company who doesn't have one right now. The corp pom is a completely different maven project/jenkins build and structurally, unrelated to the other projects that list it as a parent. The current version of this corp pom is 1.0-SNAPSHOT and it's deployed to my snapshot repository within Nexus. The grouped up repository in Nexus includes this snapshot. When I was building without the additional repository defined, maven (maven 3.0.3) was unable to find the parent pom. Once I added this extra repository, boom - it all works. What's extra confusing is I have mirrorOf*/mirrorOf - shouldn't that say this url is a mirror of EVERYTHING? I'm basing this all on this link: http://maven.apache.org/guides/mini/guide-mirror-settings.html (thank you Wendy!) On Fri, Jul 8, 2011 at 3:58 PM, Wendy Smoak wsm...@gmail.com wrote: What happens when you don't? Knowing why you think you need to do it would help someone explain it. One reason you might do it is to enable a repository to be searched for snapshots. By default, Maven's built-in definition of 'central' only has releases enabled. Unless you define another repository somewhere that has snapshots enabled, Maven will never retrieve any snapshots. -- Wendy - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Mirrors and repositories
One reason you might do it is to enable a repository to be searched for snapshots. By default, Maven's built-in definition of 'central' only has releases enabled. Unless you define another repository somewhere that has snapshots enabled, Maven will never retrieve any snapshots. This is exactly why ^^ You need to do the same for pluginRepositories if you ever want to get snapshots of plugins. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Mirrors and repositories
Snapshots of plugins are explicitly banned as are not specifying versions of plugins and relying on maven's super pom (years ago, I got whacked with this when the war plugin changed). But I'm not saying I'm mirroring JUST central, I thought I was saying I'm mirroring every repository you could possibly need. See my comment about the mirrorOf*/mirrorOf. On Fri, Jul 8, 2011 at 4:10 PM, Brian Fox bri...@infinity.nu wrote: One reason you might do it is to enable a repository to be searched for snapshots. By default, Maven's built-in definition of 'central' only has releases enabled. Unless you define another repository somewhere that has snapshots enabled, Maven will never retrieve any snapshots. This is exactly why ^^ You need to do the same for pluginRepositories if you ever want to get snapshots of plugins. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Mirrors and repositories
On Fri, Jul 8, 2011 at 4:09 PM, Maven User maven.2.u...@gmail.com wrote: When I was building without the additional repository defined, maven (maven 3.0.3) was unable to find the parent pom. Once I added this extra repository, boom - it all works. It worked because you had snapshotsenabledtrue somewhere. What's extra confusing is I have mirrorOf*/mirrorOf - shouldn't that say this url is a mirror of EVERYTHING? That means it'll be a mirror for any repository defined in settings.xml or pom.xml. If none of those repos have snapshots enabled, Maven won't download any snapshots. But I'm not saying I'm mirroring JUST central, I thought I was saying I'm mirroring every repository you could possibly need. See my comment about the mirrorOf*/mirrorOf. No, it just means, When you go through your list of known repositories, substitute this url instead of the original one defined. -- Wendy - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Skip Resources for War
Hello, You have to use http://maven.apache.org/plugins/maven-resources-plugin/examples/include-exclude.html webResources are meant to be web resources (jsp, js, html) not resources present in the classpath (WEB-INF/classes) Vincent On Wed, Jul 6, 2011 at 18:01, Wayne Fay wayne...@gmail.com wrote: Well, copying them into some external resources directory would solve the purpose, however if to be done with present settings. I don't know why you don't just move the files to /src/external/resources or something. That seems to be the easiest solution. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Welcome Robert Scholte to the Apache Maven team!
Welcome Robert Vincent 2011/7/6 Mark Struberg strub...@yahoo.de: Hi Maven folks! The Apache Maven PMC is glad to welcome Robert Scholte as new Apache Maven Committer! Most of us know Robert already from his dedicated work on lots of Maven plugins over at codehaus-mojo, so I guess I don't have to add much ;) Robert, congratulations and happy hacking! LieGrue, strub - 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