openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernd Bohmann <bernd.bohm...@atanion.com>
Subject Re: 1.0.2 maven stage:copy issue
Date Sat, 23 Feb 2008 12:11:30 GMT
Hello Patrick,

the artifacts are not in the right place

the place should be

http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/openjpa

but is

http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/openjpa/org/apache/openjpa/


Can you include the source and javadoc artifacts?

Regards

Bernd

Patrick Linskey schrieb:
> First, it creates an archive file (a "wagon", in the parlance) on the
> local machine. Sadly, as has been documented regarding Windows, it
> seems to be overly-sensitive to URL formatting issues, and somehow
> converted file://./<path> into a /-rooted file.
> 
> In any event, it seems to be all better now, and everything looks like
> it's in the right places in the Apache ibiblio dir.
> 
> -Patrick
> 
> On Wed, Feb 20, 2008 at 10:05 AM, Craig L Russell <Craig.Russell@sun.com> wrote:
>> 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