Re: publishing artifacts to maven central repo

2012-06-09 Thread Evgeny Goldin
https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide http://www.sonatype.com/people/2011/10/publishing-your-artifacts-to-the-central-repository/ On Sat, Jun 9, 2012 at 9:17 AM, Radim Kolar h...@filez.com wrote: Can someone point me to documentation how can i

Re: How can I eliminate these embedded username and password entries?

2012-05-22 Thread Evgeny Goldin
Hi, Artifactory passwords stored in settings.xml can be further secured by switching to encrypted passwords: http://wiki.jfrog.org/confluence/display/RTF/Centrally+Secure+Passwords On Wed, May 23, 2012 at 1:30 AM, Barrie Treloar baerr...@gmail.com wrote: On Wed, May 23, 2012 at 8:26 AM,

Re: Could not find artifact com.nbfg.fw.maven:nbfg-m aven:pom:1.0.1 in central

2012-05-18 Thread Evgeny Goldin
What happens if you cleanup the corresponding .m2 folder and mvn install the missing POM again? On Fri, May 18, 2012 at 8:08 PM, hujirong jirong...@gmail.com wrote: Hi I got the following error during a mvn sonar:sonar, but as you can see the pom is already in my local repository. Why it's

Re: Could not find artifact com.nbfg.fw.maven:nbfg-m aven:pom:1.0.1 in central

2012-05-18 Thread Evgeny Goldin
Sonar isn't located in your company Nexus (yet) but it guess Nexus is connected to Maven Central so once requested it'll happily download and cache it, as any other Maven Central dependency. Can you try it again, this time while keeping the Nexus-specific settings.xml ? On Fri, May 18, 2012 at

Re: Variables interpolation: dynamic in Maven 2, static in Maven 3 ?

2011-01-31 Thread Evgeny Goldin
Hi Marc, Marc Rohlfs wrote: What about introducing something like property scopes and/or types? properties my-prop scope=... type=...foo/my-prop !-- 'scope' = 'global|pom' -- !-- 'type' = 'mutable|immutable' -- /properties This was just a spontaneous idea, not

Supporting branches in Maven

2011-01-30 Thread Evgeny Goldin
Hi everybody, We have a number of branches built with Maven. If we do nothing then artifacts from different branches will override each other in local maven repo and corporate repo manager. So we have a Groovy script that modifies groupId or version of all POMs in a branch, by adding a branch

Re: Supporting branches in Maven

2011-01-30 Thread Evgeny Goldin
Thanks, I see release:branch is the common way so it means we're doing basically the same. - Best regards, Evgeny http://evgeny-goldin.com/ evgeny-goldin.com -- View this message in context: http://maven.40175.n5.nabble.com/Supporting-branches-in-Maven-tp3363522p3363783.html Sent from

Re: Variables interpolation: dynamic in Maven 2, static in Maven 3 ?

2011-01-28 Thread Evgeny Goldin
Thanks you, Marc. I hope dynamic behavior will be chosen here, Ant behavior was known to cause a lot of pain and weird errors that were fixed by Ant-Contrib var task (http://ant-contrib.sourceforge.net/tasks/tasks/variable_task.html), defining properties dynamically at any time. Used that *a

Re: Variables interpolation: dynamic in Maven 2, static in Maven 3 ?

2011-01-28 Thread Evgeny Goldin
And yes, as a workaround I need not to define anything as properties, in this case it works as expected. The problem with this approach is that POM becomes very fragile, like in old Ant days: you forget the rule and add a property that is overridden later .. Whops, but it's not. I think this

Re: Variables interpolation: dynamic in Maven 2, static in Maven 3 ?

2011-01-28 Thread Evgeny Goldin
lukewpatterson wrote: Yeah, it would be nice to have some middle ground for allowing plugins to help configure other plugins. Right now the Maven Way is to use the file system, right? That's the main problem - the Maven Way is different in Maven 2 and 3 so I still don't know if it was

Re: Variables interpolation: dynamic in Maven 2, static in Maven 3 ?

2011-01-28 Thread Evgeny Goldin
Hilco Wijbenga-3 wrote: Why would this make it less repeatable? A build's repeatability/reproducibility is based on the whether it is deterministic. And whether a property can be overwritten/changed doesn't change the determinism of a process. If it did, then (single threaded) programming

Maven fails to retrieve a dependency that is larger than Integer.MAX_VALUE

2011-01-28 Thread Evgeny Goldin
Hi, We saw a behavior where both Maven 2 and 3 don't bring a file larger than 2Gb from repository and truncate it to 2147483647 bytes, which is exactly Integer.MAX_VALUE. An issue was opened (http://jira.codehaus.org/browse/MNG-4977) but no responses so far. I wonder if it happens to anybody

Re: Variables interpolation: dynamic in Maven 2, static in Maven 3 ?

2011-01-28 Thread Evgeny Goldin
lukewpatterson wrote: In this thread, things that seem to be in agreement so far: * Maven 2 and 3 have different interpolation behavior, and the behavior isn't documented in the compatibility notes * dynamic variable interpolation doesn't affect determinism, i.e. same input yields same

Variables interpolation: dynamic in Maven 2, static in Maven 3 ?

2011-01-27 Thread Evgeny Goldin
Hi, I see a different behavior in Maven 2.2.1 and Maven 3.0.2. Suppose I have properties propertyDirdir/propertyDir /properties Later, it is used in expression to configure some plugin: configuration targetPathpl-290-4/${propertyDir}/1/targetPath ... /configuration *Before* this

Re: Variables interpolation: dynamic in Maven 2, static in Maven 3 ?

2011-01-27 Thread Evgeny Goldin
But it can be perfectly changed in Maven 2 and I use it a lot. It's just that in Maven 3 the expression doesn't reflect the change out of sudden. - Best regards, Evgeny http://evgeny-goldin.com/ -- View this message in context:

Re:

2010-11-17 Thread Evgeny Goldin
Thanks, Benjamin Here it is: [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 1:17.232s [INFO] Finished at: Wed Nov 17 11:02:48 IST 2010

Re: Re:

2010-11-17 Thread Evgeny Goldin
And here's the full log attached (-X -e turned on): https://dl.dropbox.com/s/j5v14ghotjr2cap/log2.zip?dl=1 - Best regards, Evgeny http://evgeny-goldin.com/ -- View this message in context:

Re: Re:

2010-11-17 Thread Evgeny Goldin
Ah, I should have seen it by myself. Thanks! I will add the exclusion. - Best regards, Evgeny http://evgeny-goldin.com/ -- View this message in context: http://maven.40175.n5.nabble.com/An-API-incompatibility-was-encountered-for-using-plexus-utils-tp3265343p3269467.html Sent from the

Re: An API incompatibility was encountered for using plexus-utils

2010-11-16 Thread Evgeny Goldin
Anybody? - Best regards, Evgeny http://evgeny-goldin.com/ -- View this message in context: http://maven.40175.n5.nabble.com/An-API-incompatibility-was-encountered-for-using-plexus-utils-tp3265343p3267618.html Sent from the Maven - Users mailing list archive at Nabble.com.

An API incompatibility was encountered for using plexus-utils

2010-11-15 Thread Evgeny Goldin
Hi, one of my Maven plugins is using org.codehaus.plexus:plexus-utils:2.0.5 as follows: org.codehaus.plexus.util.FileUtils.getDefaultExcludes() to get a list of default exclude files patterns, like **/CVS. When I use this plugin and build the project with Maven 3 I get the following error:

Re: An API incompatibility was encountered for using plexus-utils

2010-11-15 Thread Evgeny Goldin
I have a similar error when using org.apache.maven.shared.filtering.MavenFileFilter interface from org.apache.maven.shared:maven-filtering:1.0-beta-4. DefaultMavenFileFilter.java:115: FileUtils.copyFile( from, to, encoding, wrappers ); and the error is:

Re: Why isn't Surefire more easier and more sensible to use?

2009-12-09 Thread Evgeny Goldin
I'm also looking for a way to get a surefire summary (like http://old.nabble.com/file/p26713465/1.txt this one ) to be created in a file, rather than in console only. I see it's not available today, am I right ? - -- Best regards, Evgeny http://evgeny-goldin.com/ -- View this

Disabling/escaping POM interpolation for specific variable

2009-11-08 Thread Evgeny Goldin
Hello All! I'm looking for a way to disable or escape POM interpolation for specific variable. It means when I have a property defined like this: properties maven.goals.ci-B -U -e clean install -DBUILD_NUMBER=${BUILD_NUMBER}/maven.goals.ci /properties when passed to any plugin -