db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Hillegas <Richard.Hille...@Sun.COM>
Subject Re: problem deploying release jars to maven
Date Fri, 06 Oct 2006 17:29:09 GMT
Andrew McIntyre wrote:

> On 10/6/06, Rick Hillegas <Richard.Hillegas@sun.com> wrote:
>> I would appreciate some guidance about how to recover from this problem.
>> Should I manually sftp the jars to that directory? Is there some
>> diagnostic information I can get from maven which will explain why it is
>> failing silently?
> No, you need maven to generate the checksum and pom files that should
> be deployed alongside the jars.
> Make sure that you uncomment the maven.repo.list=apache line in the
> project.properties, so that maven picks up the list of properties for
> the repo to deploy to from the 'maven.repo.apache.*' lines that follow
> it. For a list of what the appropriate values for those lines are,
> consult this document:
> http://maven.apache.org/maven-1.x/plugins/artifact/properties.html
> And don't miss the list of available protocols here:
> http://maven.apache.org/maven-1.x/plugins/artifact/protocols.html
> scpexe was the only protocol for deployment that worked for me. You
> need to pick one that works for your machine and which you can also
> connect to the apache machine, which basically means sftp, scp, or
> scpexe.
> andrew

Thanks, Andrew. Alas, I am still not having any luck using maven to 
deploy the jars, checksums, and poms. Is there some way to rig the 
script so that it generates the checksums and poms locally so that I can 
just sftp everything into the /www tree on people.apache.org?

For the record, I have filled my project.properties with garbage and 
maven still blithely gives me the same success status. The only piece of 
the property file that seems to be sensitive is the protocol. For me 
that has to be either "file" or "scpexe". Here's a garbage properties 
file which maven happily runs with:

## $Rev: 226555 $ $Date: 2005-07-30 11:15:15 -0700 (Sat, 30 Jul 2005) $




Here's a snippet of the output:

| Executing multiproject:deploy-callback Derby Engine
| Memory: 6M/7M



    [echo] Running jar:deploy for Derby Engine
    [copy] Copying 1 file to 

    [echo] Deploying...
Will deploy to 1 repository(ies): apache
Deploying to repository: apache
Uploading to org.apache.derby/poms/derby-
.................... (2K)
Will deploy to 1 repository(ies): apache
Deploying to repository: apache
Uploading to org.apache.derby/jars/derby-
.................... (2200K)

View raw message