Re: How to include the *-sources.jar in a binary distribution?

2011-11-23 Thread Paolo Castagna
Hi Barrie Barrie Treloar wrote: On Wed, Nov 23, 2011 at 7:16 AM, Paolo Castagna castagna.li...@googlemail.com wrote: Barrie Treloar wrote: On Wed, Nov 23, 2011 at 3:49 AM, Paolo Castagna castagna.li...@googlemail.com wrote: There are 5 dimensions to this field groupId, artifactId, type

Re: How to include the *-sources.jar in a binary distribution?

2011-11-22 Thread Paolo Castagna
Hi Barrie Barrie Treloar wrote: On Tue, Nov 22, 2011 at 6:35 AM, Paolo Castagna castagna.li...@googlemail.com wrote: Hi, I'd like to include the *-sources.jar in a lib-src/ directory in my binary distribution (done via assembly) [1]. The reason why I'd like to include the *-sources.jar

Re: How to include the *-sources.jar in a binary distribution?

2011-11-22 Thread Paolo Castagna
Barrie Treloar wrote: On Wed, Nov 23, 2011 at 3:49 AM, Paolo Castagna castagna.li...@googlemail.com wrote: There are 5 dimensions to this field groupId, artifactId, type, version, classifier You have includeorg.apache.jena:jena-*:*:*:sources/include 1) org.apache.jena:jena-*: 2

How to include the *-sources.jar in a binary distribution?

2011-11-21 Thread Paolo Castagna
Hi, I'd like to include the *-sources.jar in a lib-src/ directory in my binary distribution (done via assembly) [1]. The reason why I'd like to include the *-sources.jar in the binary distribution is because people using IDEs (and not Maven) can point at them and browse the sources of our

Re: How to include the *-sources.jar in a binary distribution?

2011-11-21 Thread Paolo Castagna
, and then you should be able to pull that into the assembly. Or, just use a file pointing at the right file in target/ instead of referencing a dependency? On Mon, Nov 21, 2011 at 3:05 PM, Paolo Castagna castagna.li...@googlemail.com wrote: Hi, I'd like to include the *-sources.jar in a lib

Re: Wrong number of tests run when running JUnit tests in parallel: any help?

2010-04-12 Thread Paolo Castagna
hasn't reached the repos yet. Kristian Den 11.04.2010 23:58, skrev Paolo Castagna: Hi, I am trying to see if running JUnit tests in parallel makes any difference and/or significant speed-up. I have this in my pom.xml: dependency groupIdjunit/groupId artifactIdjunit/artifactId version4.7/version

Re: Wrong number of tests run when running JUnit tests in parallel: any help?

2010-04-12 Thread Paolo Castagna
. Paolo Kristian Den 12.04.2010 12:58, skrev Paolo Castagna: Thank you Kristian, my mistake. I was trying to use parallel with an old project which uses JUnit3 tests via JUnit4, so no @Test annotations. Now, I am trying again with another project which is using JUnit4 with tests annotated

Re: Wrong number of tests run when running JUnit tests in parallel: any help?

2010-04-12 Thread Paolo Castagna
and for your patience. Paolo Kristian Den 12.04.2010 14:05, skrev Paolo Castagna: Kristian Rosenvold wrote: All your questions should be answered here; http://incodewetrustinc.blogspot.com/2010/01/run-your-junit-tests-concurrently-with.html Thanks for the link, very useful. I have

Re: Wrong number of tests run when running JUnit tests in parallel: any help?

2010-04-12 Thread Paolo Castagna
Kristian Rosenvold wrote: http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html perCoreThreadCount is true or false, not a digit. So threadCount=2 and perCoreThreadCount=true gives 16 threads on an 8 core machine. Slap in my face. :-) Thanks, I am happy now. Paolo

Wrong number of tests run when running JUnit tests in parallel: any help?

2010-04-11 Thread Paolo Castagna
Hi, I am trying to see if running JUnit tests in parallel makes any difference and/or significant speed-up. I have this in my pom.xml: dependency groupIdjunit/groupId artifactIdjunit/artifactId version4.7/version scopetest/scope /dependency [...] plugin

Re: process-sources: process the source code, for example to filter any values.

2009-06-17 Thread Paolo Castagna
Anders Hammar wrote: Found this through Google: http://www.gxdeveloperweb.com/Blogs/Bram-de-Kruijff/Maven-secrets-filtering-sources.htm Not sure if it's the best way to do it though. Never tried filtering java source code. Thanks Anders for your reply. Yep, I've been searching with Google

process-sources: process the source code, for example to filter any values.

2009-06-16 Thread Paolo Castagna
Hi, the Introduction to the Build Lifecycle [1] documentation describes a process-sources phase of the default lifecycle. The description says: process-sources - process the source code, for example to filter any values. This is exactly what I want to do (i.e. filter some values in my source

mvn test -DproxyHost=... -DproxyPort=...

2009-06-10 Thread Paolo Castagna
Hi, I need to run a test suite which needs to connect to public web servers and I am behind a web proxy. I use: mvn test -DproxyHost=... -DproxyPort=... mvn test -DproxySet=true -DproxyHost=... -DproxyPort=... Everything works fine with Maven v2.0.9 but with Maven v2.0.10 or v2.1.0 seems to

Re: mvn test -DproxyHost=... -DproxyPort=...

2009-06-10 Thread Paolo Castagna
(StreamWagon.java:61) at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:491) at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:372) ...snip... - Original Message From: Paolo Castagna

Re: mvn test -DproxyHost=... -DproxyPort=...

2009-06-10 Thread Paolo Castagna
Paolo Castagna wrote: Hi, I need to run a test suite which needs to connect to public web servers and I am behind a web proxy. I use: mvn test -DproxyHost=... -DproxyPort=... mvn test -DproxySet=true -DproxyHost=... -DproxyPort=... Everything works fine with Maven v2.0.9 but with Maven

Re: mvn test -DproxyHost=... -DproxyPort=...

2009-06-10 Thread Paolo Castagna
Paolo Castagna wrote: Paolo Castagna wrote: Hi, I need to run a test suite which needs to connect to public web servers and I am behind a web proxy. I use: mvn test -DproxyHost=... -DproxyPort=... mvn test -DproxySet=true -DproxyHost=... -DproxyPort=... Everything works fine with Maven

Re: [jena-dev] SDB maven depends

2009-02-05 Thread Paolo Castagna
Taylor Cowan wrote: I believe this isn't related to your pom setup in the repo, things work fine with regular java builds, jar packaging, etc it has something to do with maven's webapp packaging, which isn't following tansitive dependencies. I'll report back when I've figured out what I'm

Re: [jena-dev] SDB maven depends

2009-02-04 Thread Paolo Castagna
Taylor Cowan wrote: I have maven'ized my builds on jena, putting away my long time friend ant, and as far as jena proper, all is well, however, when I use SDB like this: dependency groupIdcom.hp.hpl.jena/groupId artifactIdsdb/artifactId version1.2.0/version /dependency Maven only