Re: Can't resolve libraries.

2011-06-22 Thread Barrie Treloar
On Thu, Jun 23, 2011 at 8:34 AM, samwun wrote: > However, I have my local liferay libraries files for 5.2.8, how can I > "deploy" to Nexus local repositories? > > eg. here is the path of 5.2.8 portal-kernel I have created in my local nexus > server: > > C:\Nexus\sonatype-work\nexus\storage\liferay

Re: Can't resolve libraries.

2011-06-22 Thread samwun
However, I have my local liferay libraries files for 5.2.8, how can I "deploy" to Nexus local repositories? eg. here is the path of 5.2.8 portal-kernel I have created in my local nexus server: C:\Nexus\sonatype-work\nexus\storage\liferay-ee-sp4\com\liferay\portal-kernel\5.2.8 How to make this pa

Re: Can't resolve libraries.

2011-06-22 Thread samwun
Hi, thank you for your patient for answering my question. I tried to use 6.0.6 because I found that Maven central has liferay 6.0.6 libraries, I want to make sure my path to the repositories is right, so I want to try out 6.0.6, and it mostly works by changing the com.liferay to com.liferay.portal

[ANN] Maven Changes Plugin 2.6 released

2011-06-22 Thread Benson Margulies
The Maven team is pleased to announce the release of the Maven Changes Report Plugin, version 2.6 Creates a release history for inclusion into the site and assists in generating an announcement mail. http://maven.apache.org/plugins/maven-changes-plugin You should specify the version in your proj

Re: Dependency transitivity - compilation vs. packaging

2011-06-22 Thread Stanimir Stamenkov
Wed, 22 Jun 2011 15:07:02 -0700, /Manfred Moser/: Use a dependency to the api with provided scope on jar or whatever code projects you have. And then use the implementation of the api as dependency on the ear. Yeah, that's exactly what I'm currently doing, but it easily becomes a nightmare w

Re: Can't resolve libraries.

2011-06-22 Thread Barrie Treloar
On Thu, Jun 23, 2011 at 12:09 AM, Larry Shatzer, Jr. wrote: [del] >>> could not be resolved: com.liferay:util-java:jar:6.0.6, >>> com.liferay:util-bridges:jar:6.0.6, com.liferay:portal-kernel:jar:6.0.6, >>> com.liferay:portal-impl:jar:6.0.6: Failure to find >>> com.liferay:util-java:jar:6.0.6 in >

Re: Dependency transitivity - compilation vs. packaging

2011-06-22 Thread Manfred Moser
Use a dependency to the api with provided scope on jar or whatever code projects you have. And then use the implementation of the api as dependency on the ear. manfred > As far as I've found, currently it is not possible to specify a > dependency scope which will cause a dependency normally pack

Dependency transitivity - compilation vs. packaging

2011-06-22 Thread Stanimir Stamenkov
As far as I've found, currently it is not possible to specify a dependency scope which will cause a dependency normally packaged along with its compile scope dependencies in a final product like EAR, but will not resolve its compile scope dependencies when compiling the project which includes i

Re: Invoker-Plugin not using correct settings-file

2011-06-22 Thread Stephen Connolly
ahh. you have configured the plugin directly. to get what you want you need to configure the property in your pom rather than define the value in your configuration section (the default if unspecified is to use the property, but by specifying it, the property is ignored) - Stephen --- Sent from m

Re: Adding WebDriver client tests

2011-06-22 Thread Olivier Lamy
Hello, Selenium folks has changed groupId for the 2.0 release train. So have a look http://repo1.maven.org/maven2/org/seleniumhq/selenium/selenium-firefox-driver/ HTH, -- Olivier Lamy http://twitter.com/olamy | http://www.linkedin.com/in/olamy 2011/6/22 Greg Akins : > I seem to remember a post

Re: How to stop embedded Tomcat server?

2011-06-22 Thread Daniel Serodio (lists)
Que memória, heim? Sim, era eu mesmo! :) I didn't know about this plugin, thanks for the pointer. []'s Daniel Serodio Aldrin Leal wrote: Você era o Daniel Serodio da Altconn? btw, tenta isso: https://github.com/t7mp/t7mp -- -- Aldrin Leal, / http://www.leal.eng.br/mnemetica/ On Tue, Jun 2

Re: maven 3.0.3 out of memory error, version ranges, lots of maven meta downloads

2011-06-22 Thread Paul French
Added the snapshot repo back in and it now has major problems. A build that was fine before now fails with out of memory. - all version ranges set to [8.0.0,9.0.0) On 22/06/2011 09:39, Mark Struberg wrote: humm, maybe the resolution mechanism sniffs _all_ snapshot timeshot versions and not on

Re: Invoker-Plugin not using correct settings-file

2011-06-22 Thread Asmann, Roland
I just tried this with a settings-file that should have stopped my build (because it doesn't point to my inhouse-repository) and has no reference to '@localRepositoryUrl@', but it is actually copying the artifacts from the original localRepo. This means the usage of '-Dinvoker.settingsFile' is

Setting pom properties from Maven Plugin for resource filtering

2011-06-22 Thread Ronen Perez
I have a conf file in a java app that contains an IP address parameter. I want to be able to put in this parameter the local ip address automatically at build time. I used maven resources-plugin as follows: org.apache.maven.plugins maven-resources-plugin 2.5

Adding WebDriver client tests

2011-06-22 Thread Greg Akins
I seem to remember a post asking for a separate WebDriver mailing list? Forgive me if I'm posting this in the wrong place. I just started a simple WebDriver tests and am not able to find import org.openqa.selenium.firefox.FirefoxDriver; webdriver-common is resolved, but the webdriver-firefox rep

Re: Can't resolve libraries.

2011-06-22 Thread Larry Shatzer, Jr.
On Wed, Jun 22, 2011 at 8:09 AM, samwun wrote: > Thank you for the suggestion. > > I have removed my own liferay repositories definition in the pom.xml file, > and changed liferay.version to 6.0.6. > > But it still cant find liferay 6.0.6 > Here is the error: > > >> could not be resolved: com.life

Re: Can't resolve libraries.

2011-06-22 Thread samwun
Thank you for the suggestion. I have removed my own liferay repositories definition in the pom.xml file, and changed liferay.version to 6.0.6. But it still cant find liferay 6.0.6 Here is the error: > $ mvn compile war:war > [INFO] Scanning for projects... > [WARNING] > [WARNING] Some problems

Re: Can't resolve libraries.

2011-06-22 Thread Barrie Treloar
On Wed, Jun 22, 2011 at 9:17 PM, samwun wrote: >> >> [ERROR] Failed to execute goal on project ixsystems-registration: Could >> not resolve dependencies for project >> ixsystems:ixsystems-registration:war:1.0-SNAPSHOT: The fo

Re: Release only updated modules

2011-06-22 Thread Wendy Smoak
On Wed, Jun 22, 2011 at 5:31 AM, Mattias Borgkvist wrote: > > We have a large multi module project. In the > development branch all modules have SNAPSHOT versions. When we release the > project we would only like to release the modules that is updated (in the SCM > system). Do we manually need to:

Re: Can't resolve libraries.

2011-06-22 Thread samwun
Thank you for another suggestion. I have also remove "local" definition in the settings.xml and now it has downloaded some more files before hitting another errors. > $ mvn compile war:war > [INFO] Scanning for projects... > [WARNING] > [WARNING] Some problems were encountered while building t

RE: Can't resolve libraries.

2011-06-22 Thread Martin Gainty
please read this brief description of mirrors: Martin -- > Date: Wed, 22 Jun 2011 20:48:35 +0930 > Subject: Re: Can't resolve libraries. > From: baerr...@gmail.com > To: users@maven.apache.org > > On Wed, Jun 22, 2011 at 8:20 PM, samwun wrote: > > Thank you very much for othe

Re: Can't resolve libraries.

2011-06-22 Thread Barrie Treloar
On Wed, Jun 22, 2011 at 8:20 PM, samwun wrote: > Thank you very much for othe suggestion > I have removed the error in $MAVEN_HOME/conf/settings.xml. > Here is the error: > > > >> $ mvn compile war:war >> [WARNING] >> [WARNING] Some problems were encountered while building the effective >> setting

Re: Can't resolve libraries.

2011-06-22 Thread samwun
Thank you very much for othe suggestion I have removed the error in $MAVEN_HOME/conf/settings.xml. Here is the error: > $ mvn compile war:war > [WARNING] > [WARNING] Some problems were encountered while building the effective > settings > [WARNING] 'mirrors.mirror.id' must not be 'local', this

Re: Can't resolve libraries.

2011-06-22 Thread Barrie Treloar
On Wed, Jun 22, 2011 at 7:35 PM, samwun wrote: > Hi, > > Thank you very much for your suggestion. > Now I somehow manage to reduce the the errors to 5 jar files. > The error is: > > > >> sam@sam-PC /cygdrive/c/ixsystems-registration >> $ mvn compile war:war >> [WARNING] >> [WARNING] Some problems

Re: Can't resolve libraries.

2011-06-22 Thread samwun
Hi, Thank you very much for your suggestion. Now I somehow manage to reduce the the errors to 5 jar files. The error is: > sam@sam-PC /cygdrive/c/ixsystems-registration > $ mvn compile war:war > [WARNING] > [WARNING] Some problems were encountered while building the effective > settings > [WAR

Release only updated modules

2011-06-22 Thread Mattias Borgkvist
Hi, We have a large multi module project. In the development branch all modules have SNAPSHOT versions. When we release the project we would only like to release the modules that is updated (in the SCM system). Do we manually need to: 1) Make a diff with the SCM tool 2) Revert back the unmod

Re: Documentation for Maven3

2011-06-22 Thread Michael Hüttermann
Hi Sascha, probably it's a good start for you to read documentation about Maven (2/3) in general, particularly what are Maven's concepts, and how/where you can configure the build respectively single plug-ins. For instance, Sonatype's free books as well as Brett Porter's book are great. Rega

Re: Documentation for Maven3

2011-06-22 Thread Andreas Sewe
Hi Sascha, Now I specifically need to create a few new packaging types and I didn't find good resources on how to do that with Maven3 (I read somewhere that one can now use Java annotations instead of Javadoc ones). I currently have a first prototype using the Javadoc annotations and a copied/mo

Re: Can't resolve libraries.

2011-06-22 Thread Guillaume Polet
Hi, from your logs, it looks like access to the Internet is not working or at least not for Maven, since most of the missing dependencies are available on central. Would you have a proxy/firewall set up somewhere and forgot to put that in your settings? Or do you have a local firewall that wo

Re: maven 3.0.3 out of memory error, version ranges, lots of maven meta downloads

2011-06-22 Thread Mark Struberg
humm, maybe the resolution mechanism sniffs _all_ snapshot timeshot versions and not only the last one? Could you please re-add the snapshot repo and set the version ranges to [8.0.0,9.0.0)? The question is if this is related to the fact that the snapshot repo just has lots of artifacts (due t

Documentation for Maven3

2011-06-22 Thread Sascha Vogt
Hi all, as requested by Barrie starting a new thread. I'm new to maven and currently looking for some good reading. Is there any Maven3 documentation out yet? I already read "Maven in 5 minutes", "Getting started", "Your first mojo" and a couple of blogs. Now I specifically need to create a few

Re: maven 3.0.3 out of memory error, version ranges, lots of maven meta downloads

2011-06-22 Thread Paul French
Thanks for that. Out of interest if I remove the snapshot repository and change my version ranges to [8.0.0,9.0.0) instead of [8.0.0.SNAPSHOT,9.0.0.SNAPSHOT) all works fine again even in eclipse. For now we will live without snapshots. On 22/06/2011 06:21, Kristian Rosenvold wrote: From wha

Re: how to clean up all generated files under "target" directory

2011-06-22 Thread Barrie Treloar
On Wed, Jun 22, 2011 at 5:00 PM, Sascha Vogt wrote: > I'm new to maven. Is there any Maven3 documentation out yet? > Specifically I need to create a few new packaging types and I didn't > find good resources on how to do that with Maven3 (I read somewhere that > one can now use Java annotations in

RE: how to clean up all generated files under "target" directory

2011-06-22 Thread Diego Lin
Only run "mvn clean". -Original Message- From: Sascha Vogt [mailto:sascha.v...@gmail.com] Sent: Wednesday, 22 June 2011 15:31 To: users@maven.apache.org Subject: Re: how to clean up all generated files under "target" directory Hi all, Am 22.06.2011 04:18, schrieb Barrie Treloar: > > I

Re: how to clean up all generated files under "target" directory

2011-06-22 Thread Sascha Vogt
Hi all, Am 22.06.2011 04:18, schrieb Barrie Treloar: > > I recommend reading some of the books > http://maven.apache.org/articles.html > > If you are doing anything besides just building a plain old jar > file, then you need to up skill a bit to make sure you do things > right. There is too muc

Can't resolve libraries.

2011-06-22 Thread samwun
Hello, I imported a maven project, but it can't resolve the following libraries. I have local Nexus installed and connected to the internet. 11-6-22 下午05时17分09秒: Unable to update index for local|http://localhost:8081/nexus/content/groups/public 11-6-22 下午05时17分05秒: Updating index local|http://lo