openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig L Russell <Craig.Russ...@Sun.COM>
Subject Re: 1.0.2 maven stage:copy issue
Date Wed, 20 Feb 2008 18:05:19 GMT
Hi Patrick,

Are you sure that the target for the stage is correct? I expected to  
see something like
>> copying repository from
>> file:./openjpa-jdbc-5/target/site/m2-repository to
>>
>> scp://people.apache.org/users/plinskey/stage/release/1.0.2/org/ 
>> apache/openjpa/

Doesn't the command you are executing here put the staging artifacts  
directly into the m2 repository?

Craig

On Feb 18, 2008, at 9:45 PM, Patrick Linskey wrote:

> FTR, I ended up getting it working by changing the URL in the source
> command to mvn stage:copy to be 'file:{}', expanding to things like
> 'file:./openjpa-persistence/.....'
>
> -Patrick
>
> On Feb 18, 2008 7:58 PM, Patrick Linskey <plinskey@gmail.com> wrote:
>> Hi,
>>
>> I'm trying to run the 'mvn stage:copy' step of the release, and am
>> running into the following issue;
>>
>> Caused by: org.apache.maven.plugin.MojoExecutionException: Error
>> copying repository from
>> file://./openjpa-jdbc-5/target/site/m2-repository to
>> scp://people.apach
>> e.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository/org/ 
>> apache/openjpa/
>>        at  
>> org 
>> .apache 
>> .maven 
>> .plugins.stage.CopyRepositoryMojo.execute(CopyRepositoryMojo.java: 
>> 102)
>>        at  
>> org 
>> .apache 
>> .maven 
>> .plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java: 
>> 443)
>>        at  
>> org 
>> .apache 
>> .maven 
>> .lifecycle 
>> .DefaultLifecycleExecutor 
>> .executeGoals(DefaultLifecycleExecutor.java:539)
>>        ... 16 more
>> Caused by: org.apache.maven.wagon.ConnectionException: Repository  
>> path
>> /openjpa-jdbc-5/target/site/m2-repository does not exist, and cannot
>> be created.
>>        at  
>> org 
>> .apache 
>> .maven.wagon.providers.file.FileWagon.openConnection(FileWagon.java: 
>> 122)
>>        at  
>> org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:143)
>>        at  
>> org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:106)
>>        at  
>> org 
>> .apache 
>> .maven 
>> .plugins 
>> .stage.DefaultRepositoryCopier.copy(DefaultRepositoryCopier.java:112)
>>        at  
>> org 
>> .apache 
>> .maven 
>> .plugins.stage.CopyRepositoryMojo.execute(CopyRepositoryMojo.java:93)
>>        ... 18 more
>>
>>
>> Have any of you seen this before? It looks like maven is trying to
>> make a temporary directory at / or something like that.
>>
>> -Patrick
>>
>> --
>> Patrick Linskey
>> 202 669 5907
>>
>
>
>
> -- 
> Patrick Linskey
> 202 669 5907

Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!


Mime
View raw message