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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]
> P.S. A good JDO? O, Gasp!
>
>
--
Patrick Linskey
202 669 5907