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-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to