Hello Patrick, the maven super pom has a profile for this.
http://maven.apache.org/guides/introduction/introduction-to-the-pom.html This is activated if you are using the maven-release-plugin or you can activate the profile with the property -DperformRelease=true An other option would be to add the source and javadoc plugin to the openjpa release profile or a new profile. The javadoc plugin in version 2.3 has some problems with multi-module builds. Please use the 2.2 version see: http://jira.codehaus.org/browse/MJAVADOC-137 Or specified on command line mvn source:jar org.apache.maven.plugins:maven-javadoc-plugin:2.2:jar Regards Bernd Patrick Linskey schrieb: >> the artifacts are not in the right place > > Fixed. Sorry about that; the incorrect directory structure was the > result of a failed debugging attempt that I forgot to edit out of the > command line. > >> Can you include the source and javadoc artifacts? > > I'm far from a mvn expert; is there a mvn way of doing that? > > -Patrick > > On Sat, Feb 23, 2008 at 4:11 AM, Bernd Bohmann > <[EMAIL PROTECTED]> wrote: >> 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 <[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! >> >> >> >> >> > >> > >> > >> > > >
