[ 
https://issues.apache.org/jira/browse/VELOCITY-554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642776#action_12642776
 ] 

Adrian Tarau commented on VELOCITY-554:
---------------------------------------

Attached is the second patch which should close this issue and VELOCITY-466.

As I already mentioned, velocity-dep-1.6-beta2.jar is now 
velocity-1.6-beta2-dep.jar all over the place(I thought is not a good idea to 
have velocity-1.6-beta2-dep.jar in Maven repositories and 
velocity-dep-1.6-beta2.jar in Velocity distribution archives).

Right now there are two tasks maven-install and maven-deploy which depends on 
release but a different integration can be made, depending on how a release 
will be performed now.

Also, digital signatures ca be deployed to, just add(of course files must be 
signed after release and before deploy) :

<attach file="${build.dir}/${project}-${version}.jar.asc" type="jar" 
classifier="jar.asc"/> for every asc file.

If "maven.remote.repository" property exists a custom repository will be 
used(and not the one from Maven POM). Repository id is 
velocity.custom.repository and the following entry must be added in 
$USER/.m2/settings.xml to provide authentication information for this 
repository.

<settings xmlns="http://maven.apache.org/POM/4.0.0";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
                      http://maven.apache.org/xsd/settings-1.0.0.xsd";>
  <servers>

...

    <server>
        <id>velocity.custom.repository</id>
        <username>XXXX</username>
        <password>YYYYY</password>
        <privateKey>${user.home}/.ssh/id_dsa</privateKey>
        <passphrase>ZZZZZZ</passphrase>
        <filePermissions>664</filePermissions>
        <directoryPermissions>775</directoryPermissions>
        <configuration></configuration>
    </server>

....
  </servers>
</settings>

You can have a look at velocity-1.6-beta2 artifacts in my repository. Did 
several tests with my IDE and Maven and all artifacts(jar, source & javadoc) 
worked as it should.


> Velocity sources and javadocs missing in the maven repository
> -------------------------------------------------------------
>
>                 Key: VELOCITY-554
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-554
>             Project: Velocity
>          Issue Type: New Feature
>          Components: Build
>    Affects Versions: 1.5
>            Reporter: Aliaksandr Radzivanovich
>         Attachments: VELOCITY-554_download.patch
>
>
> It is really annoying when popular projects like Apache Velocity do not 
> provide their sources and javadocs to the Maven repository.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to