Re: No source for 2.3.14 in Maven repository
Jeff Ramsdale <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Daniel Dekany wrote:
> Thursday, November 27, 2008, 11:59:04 AM, Daniel López wrote:
>
>> Hi,
>>
>> If I'm not mistaken, if using a version of Maven-Ant tasks 2.0.6+, we
>> could use an "attach" nested node to upload the packaged sources along
>> with the FreeMarker artifact. You can see the feature documented here:
>> http://maven.apache.org/ant-tasks/reference.html#install
>>
>> And an example that uses it to upload the sources here:
>> https://fisheye.springframework.org/browse/spring-build/trunk/project-build/common/publish.xml?r=515
>> (lines 31-37)
>>
>> So it seems it would simply be a matter of packaging the .java files and
>> then adding a:
>> <attach file="${source-jar.file}" classifier="sources"/>
>> to the artifact:deploy task. I'm not an expert but I think the packaged
>> sources file might need to use a specific name freemarker-sources.jar...
>> but I'm not sure.
>
> I tried it and the name is decided by the artifact:deploy task (the
> name of the local file is irrelevant), so one don't have to worry
> about that.
>
>> Would that work?
>
> It seems it does. Thanks for the tip! I will soon re-deploy 2.3.14.
Great--thanks guys! Been enjoying FreeMarker--thanks for the great work!
-jeff
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/