[ 
https://issues.apache.org/jira/browse/HADOOP-3305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12592320#action_12592320
 ] 

Steve Loughran commented on HADOOP-3305:
----------------------------------------

>> -having a property file driving version numbering of all artifacts

>Lucene does this by using the version property from build.xml, so that we 
>don't have to maintain another version file.

Yes, hadoop should do that to. Even so you need another file to drive the 
versions of all your dependencies, those that are currently encoded in the 
filenames in /lib (jetty, log4j) or not documented at all (servlet-api.jar)


>> -public releases only: sticking this POM file up on people.apache.org in the 
>> right place, along with the JAR and some .md5 checksums

>If these are officially released artifacts, can't we just post them with the 
>release, to www.apache.org/dist/hadoop/core? Why do we need to alter our 
>distribution mechanism for Maven?

Its something that could be done on the side (in a separate build.xml), which 
takes the signed off release artifacts and scps them them up to 
people.apache.org. The repository police do check that the JARs put up are 
officially released, although they dont audit the POMs so thoroughly

> Publish hadoop-core to the apache repository with an appropriate POM file
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-3305
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3305
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: build
>    Affects Versions: 0.16.2, 0.16.3
>            Reporter: Steve Loughran
>            Priority: Minor
>         Attachments: hadoop-core-0.16.2.pom
>
>
> To let people downstream build/test with hadoop, using Apache Ivy or Apache 
> Maven2 to pull it down, hadoop-core needs to be published to the apache 
> repository with a .pom file that lists its mandatory dependencies.
> In an automated build process, this means
> -having a template XML pom defining all included dependencies (and excluded 
> transient dependency artifacts)
> -having a property file driving version numbering of all artifacts
> -copying this template with property expansion to create the release POM file
> -public releases only: sticking this POM file up on people.apache.org in the 
> right place, along with the JAR and some .md5 checksums
> There's a risk that if the hadoop team dont do this, someone else will (as 
> mahout are doing under 
> http://people.apache.org/~kalle/mahout/maven2/org/apache/hadoop/ )
> This is bad as hadoop end up fielding the support calls from someone elses 
> files. 
> Before automating the process, existing hadoop-core JARs can be pushed out 
> with hand-encoded POM files. The repository police dont allow pom files ever 
> to be changed, so supporting existing releases (.16.2, 0.16.3 ... ) is a way 
> of beta testing the POMs. 

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

Reply via email to