You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by ws...@apache.org on 2007/06/23 02:25:36 UTC

svn commit: r549983 - in /maven/archiva/trunk: archiva-web/archiva-standalone/archiva-plexus-runtime/pom.xml pom.xml

Author: wsmoak
Date: Fri Jun 22 17:25:35 2007
New Revision: 549983

URL: http://svn.apache.org/viewvc?view=rev&rev=549983
Log:
MRM-424 include 'apache' and the version number in the distribution filenames
How do I get the source distro to unpack to a directory ending in -src?

Modified:
    maven/archiva/trunk/archiva-web/archiva-standalone/archiva-plexus-runtime/pom.xml
    maven/archiva/trunk/pom.xml

Modified: maven/archiva/trunk/archiva-web/archiva-standalone/archiva-plexus-runtime/pom.xml
URL: http://svn.apache.org/viewvc/maven/archiva/trunk/archiva-web/archiva-standalone/archiva-plexus-runtime/pom.xml?view=diff&rev=549983&r1=549982&r2=549983
==============================================================================
--- maven/archiva/trunk/archiva-web/archiva-standalone/archiva-plexus-runtime/pom.xml (original)
+++ maven/archiva/trunk/archiva-web/archiva-standalone/archiva-plexus-runtime/pom.xml Fri Jun 22 17:25:35 2007
@@ -139,7 +139,7 @@
         </executions>
         <configuration>
           <descriptor>src/main/assembly/bin.xml</descriptor>
-          <finalName>archiva-${version}</finalName>
+          <finalName>apache-archiva-${version}</finalName>
         </configuration>
       </plugin>
       <plugin>

Modified: maven/archiva/trunk/pom.xml
URL: http://svn.apache.org/viewvc/maven/archiva/trunk/pom.xml?view=diff&rev=549983&r1=549982&r2=549983
==============================================================================
--- maven/archiva/trunk/pom.xml (original)
+++ maven/archiva/trunk/pom.xml Fri Jun 22 17:25:35 2007
@@ -160,7 +160,7 @@
             <descriptor>src/main/assembly/src.xml</descriptor>
           </descriptors>
           <tarLongFileMode>gnu</tarLongFileMode>
-          <finalName>archiva</finalName>
+          <finalName>apache-archiva-${version}</finalName>
         </configuration>
         <executions>
           <execution>



Re: svn commit: r549983 - in /maven/archiva/trunk: archiva-web/archiva-standalone/archiva-plexus-runtime/pom.xml pom.xml

Posted by Wendy Smoak <ws...@gmail.com>.
On 6/23/07, Wendy Smoak <ws...@gmail.com> wrote:

> It's correct when unpacked, and -src-src in target.

Adding this got rid of the double -src-src in the filename:

    <appendAssemblyId>false</appendAssemblyId>

It's still artifactId-version in the repository, but that's as
expected.  We'd have to rename the archiva-parent pom, and that would
only fix it for the source distribution, not the plexus runtime binary
distro.

-- 
Wendy

Re: svn commit: r549983 - in /maven/archiva/trunk: archiva-web/archiva-standalone/archiva-plexus-runtime/pom.xml pom.xml

Posted by Wendy Smoak <ws...@gmail.com>.
On 6/22/07, Brett Porter <br...@apache.org> wrote:

> Simply add it to the finalName (you get a weird -src-src artifact in
> target, but it's correct in the repository and when unpacked - see
> the maven root pom).

It's correct when unpacked, and -src-src in target.  The name in the
repository is always artifactId-version, in this case
archiva-parent-1.0-alpha-2-SNAPSHOT-src.zip.

But it's better to have the correct directory name inside, and deal
with fixing the filename manually.

Thanks!
-- 
Wendy

Re: svn commit: r549983 - in /maven/archiva/trunk: archiva-web/archiva-standalone/archiva-plexus-runtime/pom.xml pom.xml

Posted by Brett Porter <br...@apache.org>.
On 23/06/2007, at 10:25 AM, wsmoak@apache.org wrote:

> How do I get the source distro to unpack to a directory ending in - 
> src?
>

Simply add it to the finalName (you get a weird -src-src artifact in  
target, but it's correct in the repository and when unpacked - see  
the maven root pom).

- Brett