Re: Amazon EC2 EBS Volume for Maven central repository

2009-12-21 Thread Wayne Fay
What's the current storage requirements for the central repository at this time? Per Jarvana, Central is around 100gb, as of mid October 2009: http://www.jarvana.com/jarvana/info/repository_statistics Wayne - To

Re: Amazon EC2 EBS Volume for Maven central repository

2009-12-21 Thread Mark Diggory
Ok, so, from the EBS web page...we can speculate... As an example, a medium sized website database might be 100 GB in size and expect to average 100 I/Os per second over the course of a month. This would translate to $10 per month in storage costs (100 GB x $0.10/month), and approximately $26

Unable to download artifact from repository

2009-12-21 Thread amaresh mourya
Hi All, I have the situation where when : I ran the org.apache.maven.project.MavenProject build() method from DeafultMavenProjectBuilder for maven-artifact's pom.xml (see A) to build Maven Project for maven-artifact, but since it is derived from org.apache.maven:maven:2.2.0 's pom.xml which has

Unable to download artifact from repository

2009-12-21 Thread amaresh mourya
Hi All, I have the situation where when : I ran the org.apache.maven.project.MavenProject build() method from DeafultMavenProjectBuilder for maven-artifact's pom.xml (see A) to build Maven Project for maven-artifact, but since it is derived from org.apache.maven:maven:2.2.0 's pom.xml which has

Re: Pulling transiting test dependencies

2009-12-21 Thread Alan Cassar
Hi, we have decided that we need to write a maven plugin ourselves for this to work. Basically the maven plugin will be doing the following: 1. List the project dependencies and figure out which dependencies refer to test jars 2. Once we got a list of dependencies, we want to download

Unable to download artifact from repository

2009-12-21 Thread amaresh mourya
Hi All, I have the situation where when : I ran the org.apache.maven.project. MavenProject build() method from DeafultMavenProjectBuilder for maven-artifact's pom.xml (see A) to build Maven Project for maven-artifact, but since it is derived from org.apache.maven:maven:2.2.0 's pom.xml which

Unable to download artifact from repository

2009-12-21 Thread amaresh mourya
Hi All, I have the situation where when : I ran the org.apache.maven.project.MavenProject build() method from DeafultMavenProjectBuilder for maven-artifact's pom.xml (see A) to build Maven Project for maven-artifact, but since it is derived from org.apache.maven:maven:2.2.0 's pom.xml which has

Maven Ant Mojo Support does not set artifact

2009-12-21 Thread Wilson, Kevin Lee (OpenView Engineer)
Hello, I am attempting to create a new lifecycle with the maven-script-ant mojo. And I am having trouble with the packaging since the packaging is not JAR/ZIP based. I could not find a option to set the artifact into the project when the ant build succeeds. I tried to use the

Re: release plugin: version change not only in POMs ?

2009-12-21 Thread Roland Asmann
Then configure the resource-plugin specially for this file of yours: - put the file in src/main/config (or something like that) - have the resource-plugin copyfilter it to target/config (or something, anything but target/classes I would say) - configure the pax-plugin to read from the location

skip the test

2009-12-21 Thread maven apache
Hi: I have a project which contains more than two modules(here I call one A and another as B), all of the modules have test classes,and in the pom of each module I have config the jar plugin as following: - plugin artifactIdmaven-jar-plugin/artifactId executions execution

Re: skip the test

2009-12-21 Thread Justin Edelson
Remove the dependency or, better yet, just fix the compiler error. Justin On Dec 21, 2009, at 8:57 AM, maven apache apachemav...@gmail.com wrote: Hi: I have a project which contains more than two modules(here I call one A and another as B), all of the modules have test classes,and in

Re: skip the test

2009-12-21 Thread maven apache
2009/12/21 Justin Edelson justinedel...@gmail.com Remove the dependency or, better yet, just fix the compiler error. Actually the whole project is a third-party project, so it is hard to fix the test errors. Justin On Dec 21, 2009, at 8:57 AM, maven apache apachemav...@gmail.com wrote:

Re: skip the test

2009-12-21 Thread Wayne Fay
Actually the whole project is a third-party project, so it is hard to fix the test errors. Delete the tests. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail:

Code template converters?

2009-12-21 Thread Alexander
Hello, Eclipse, IDEA and NetBeans has code template engines but they can't use template from other platform. So question is: are there any code template converters? I mean write some template and make maven convert them to other platforms at package time. -- Regards, Alexander

Re: Amazon EC2 EBS Volume for Maven central repository

2009-12-21 Thread Brian Fox
On Mon, Dec 21, 2009 at 12:09 AM, Mark Diggory mdigg...@gmail.com wrote: I imagine there have to be a number of projects/companies out there using Maven artifacts and incurring bandwidth costs to build systems. Atlassian seems to be recommending the practice to its Bamboo users... They should

File separator in dependency:unpack plagin

2009-12-21 Thread imix
Hi colleagues, I have a big problem with maven-dependency-plugin related to path separator on linux. I want to unpack test.jar with following hierarchy: test.jar | -com | -bsuir | test.lib I configured my pom as: plugin

Re: Amazon EC2 EBS Volume for Maven central repository

2009-12-21 Thread Carlos Sanchez
you can set s3 buckets where requester pays http://developer.amazonwebservices.com/connect/message.jspa?messageID=123715 On Mon, Dec 21, 2009 at 9:30 AM, Brian Fox bri...@infinity.nu wrote: On Mon, Dec 21, 2009 at 12:09 AM, Mark Diggory mdigg...@gmail.com wrote: I imagine there have to be a

How to print surefire errors (junit errors) to stdout? possible?

2009-12-21 Thread jvsrvcs
When I run Maven junit tests (surefire plugin) I have errors and a message that I should go open a file that is in /target/surefire-reports/ This takes a lot of time to navigate to the directory, open the file, scroll or search to find the problem, go fix the problem, close the tool I used to

Re: Maven 3 deprecated properties

2009-12-21 Thread Anders Hammar
Well, nothing stops you from doing this yourself. However, I did add a note about this to that page. /Anders On Sat, Dec 19, 2009 at 23:53, Stevo Slavić ssla...@gmail.com wrote: Maven properties guidehttp://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide should be updated to

Re: How to print surefire errors (junit errors) to stdout? possible?

2009-12-21 Thread Alexander
Any IDE has built-in support for launching JUnit tests. 2009/12/22 jvsrvcs jvsr...@gmail.com When I run Maven junit tests (surefire plugin) I have errors and a message that I should go open a file that is in /target/surefire-reports/ This takes a lot of time to navigate to the directory,

Re: How to print surefire errors (junit errors) to stdout? possible?

2009-12-21 Thread Ryan Connolly
Try passing -Dsurefire.useFile=false On 12/21/09, jvsrvcs jvsr...@gmail.com wrote: When I run Maven junit tests (surefire plugin) I have errors and a message that I should go open a file that is in /target/surefire-reports/ This takes a lot of time to navigate to the directory, open the

How to execute another goal from an ant based maven plugin?

2009-12-21 Thread Rakesh Arora
I am writing a ant based maven plugin. I need to execute another goal (to get a file from the maven repo) before executing the mojo that I am writing. Can I use the execution and goal tags as defined here to do that:

Re: Sharing files between modules within the same project, for use by sql-maven-plugin

2009-12-21 Thread Dennis Lundberg
Thanks Roland! That worked like a charm. Roland Asmann wrote: Hi, I guess you could patch the sql-plugin, but maybe you should use the maven-dependency-plugin[1] to unpack your new module for the tests. Then the sql-plugin can just read the unpacked file and you don't need to patch

Re: Code template converters?

2009-12-21 Thread Dennis Lundberg
Alexander wrote: Hello, Eclipse, IDEA and NetBeans has code template engines but they can't use template from other platform. So question is: are there any code template converters? I mean write some template and make maven convert them to other platforms at package time. Just to make

Re: Code template converters?

2009-12-21 Thread Alexander
No, not style. Just code template. Look, in IDEA you type 'psvm' press tab and IDEA generates public static void main(){} 2009/12/22 Dennis Lundberg denn...@apache.org Alexander wrote: Hello, Eclipse, IDEA and NetBeans has code template engines but they can't use template from other

Re: Code template converters?

2009-12-21 Thread Dennis Lundberg
OK then. That's not something I have on my todo list. Alexander wrote: No, not style. Just code template. Look, in IDEA you type 'psvm' press tab and IDEA generates public static void main(){} 2009/12/22 Dennis Lundberg denn...@apache.org Alexander wrote: Hello, Eclipse, IDEA and

Re: Code template converters?

2009-12-21 Thread Alexander
But seems like I have :) 2009/12/22 Dennis Lundberg denn...@apache.org OK then. That's not something I have on my todo list. Alexander wrote: No, not style. Just code template. Look, in IDEA you type 'psvm' press tab and IDEA generates public static void main(){} 2009/12/22 Dennis

Re: Amazon EC2 EBS Volume for Maven central repository

2009-12-21 Thread Mark Diggory
FYI Initiating a thread here to see its effect. http://developer.amazonwebservices.com/connect/thread.jspa?messageID=158762#158762 Cheers, Mark On Mon, Dec 21, 2009 at 10:19 AM, Carlos Sanchez car...@apache.org wrote: you can set s3 buckets where requester pays

Re: Unable to download artifact from repository

2009-12-21 Thread Wendy Smoak
On Mon, Dec 21, 2009 at 2:46 AM, amaresh mourya amaresh.mou...@gmail.com wrote: I ran the org.apache.maven.project.MavenProject build() method from DeafultMavenProjectBuilder for maven-artifact's pom.xml (see A) to build Maven Project for maven-artifact, but since it is derived from

Re: How to print surefire errors (junit errors) to stdout? possible?

2009-12-21 Thread jvsrvcs
OK, that worked. I was looking for a surefire property that could be set in the pom.xml. rynam0 wrote: Try passing -Dsurefire.useFile=false On 12/21/09, jvsrvcs jvsr...@gmail.com wrote: When I run Maven junit tests (surefire plugin) I have errors and a message that I should go open

Re: How to print surefire errors (junit errors) to stdout? possible?

2009-12-21 Thread jvsrvcs
I do not use my IDE to run unit tests. I use maven. What I would like to know is... just read what I originally posted please. Alexander-129 wrote: Any IDE has built-in support for launching JUnit tests. 2009/12/22 jvsrvcs jvsr...@gmail.com When I run Maven junit tests (surefire

Re: How to print surefire errors (junit errors) to stdout? possible?

2009-12-21 Thread Anders Hammar
This one? http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#useFile /Anders On Mon, Dec 21, 2009 at 22:13, jvsrvcs jvsr...@gmail.com wrote: OK, that worked. I was looking for a surefire property that could be set in the pom.xml. rynam0 wrote: Try passing

Re: How to print surefire errors (junit errors) to stdout? possible?

2009-12-21 Thread Ryan Connolly
Add a plugin configuration for surefire in your pom and pass useFilefalse/useFile Plugin docs has this info: http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#useFile On 12/21/09, jvsrvcs jvsr...@gmail.com wrote: I do not use my IDE to run unit tests. I use maven. What I

Re: Amazon EC2 EBS Volume for Maven central repository

2009-12-21 Thread Carlos Sanchez
the problem for a public dataset it's that AFAIK they are static while the repo keeps changing On Mon, Dec 21, 2009 at 12:55 PM, Mark Diggory mdigg...@gmail.com wrote: FYI Initiating a thread here to see its effect.

Re: Code template converters?

2009-12-21 Thread Milos Kleint
On Mon, Dec 21, 2009 at 9:19 PM, Dennis Lundberg denn...@apache.org wrote: Alexander wrote: Hello, Eclipse, IDEA and NetBeans has code template engines but they can't use template from other platform. So question is: are there any code template converters? I mean write some template

Re: Code template converters?

2009-12-21 Thread Barrie Treloar
On Tue, Dec 22, 2009 at 7:22 AM, Alexander the.malk...@gmail.com wrote: But seems like I have :) People use things like Velocity and FreeMarker for this stuff. Although personally I prefer StringTemplate http://www.stringtemplate.org/ (its the work horse from ANTLR (a language tool that

Avoid duplication in POM for different profiles

2009-12-21 Thread Tomas Pollak
Hi all, I have a inquiry regarding a best practice to avoid duplication. I have defined two profiles for my project. Let's call them integration-test and deployment-test. For both of them I have to copy a file to a certain location for the tests to run. This is done using the resources plugin.

custom repository layout

2009-12-21 Thread kristian
hello, I would like to use a rubygems source as repository for a gem artifacts. defining a custom repository layout works OK so far (at least under maven3 via plugin extensions). it is possible to generate a pom from the gem at its gemspec itself. I could download the gem instead of the pom and

[ANN] Maven Site Plugin 2.1 Released

2009-12-21 Thread Dennis Lundberg
The Maven team is pleased to announce the release of the Maven Site Plugin, version 2.1 If you consider upgrading to maven-site-plugin-2.1, please note that there have been a couple of important changes. First, the plugin now requires at least Maven 2.1.x to run, you cannot use it with older