commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <joerg.schai...@gmx.de>
Subject RE: [codec] Large test data set!
Date Fri, 28 Jan 2011 15:10:14 GMT
Hi Gary,

Gary Gregory wrote:

>> >
>> > You would use the dependency plugin in the generate-resources phase to
>> > extract the zip file into your local target directory where you then
>> > access the file(s) in your test. Quite a normal action with Maven.
>> >
>> > And regarding an IDE there's no difference from any other task that
>> > generates resources or additional source files.
>> 
>> BTW: If you're unsure how to do this, I can give this a shot at the
>> weekend.
>> Just an offer.
> 
> Yes, thank you!
> 
> What you could help on now is getting the files in the proper Maven
> repository. Beware the SourceForge appears to be broken for this project
> ATM. I can download the Zip namen-0.11.1.zip but it is corrupted. Franz,
> the author, sent me the Zip and it unzips fine here. If you want to do the
> upload, let me know which email to send you the Zip (11MB)

I'd take always what is publicly available i.e. currently 0.10.x. If the 
author makes a version available that is no longer broken, we can add it at 
any time later again. Otherwise nobody can be sure where the file from Maven 
Central came from if it differs from the original.

The procedure is described here:
http://maven.apache.org/guides/mini/guide-central-repository-upload.html

Your POM may use:

groupId: net.sourceforge.familynamephon
artifactId: namen
packaging: zip

Obviously no deps.

When its available in central, you can refer it in the configuration for the 
dependency:unpack goal (example: http://maven.apache.org/plugins/maven-
dependency-plugin/examples/unpacking-artifacts.html). You should bind that 
goal to the phase process-test-resources.

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message