Hi all,

I am trying to do a release:perform on a project that creates a jar with a
classifier.

For some reason, as part of release:perform, install:install is called,
and when install:install is called _without_ being part of the build
lifecycle, it fails with the error below.

I tried configuring the install plugin to have a classifier, but to no avail.

I also tried setting the finalName to the name+version+classifier, but
also to no avail:

   <finalName>${artifactId}-${version}-${os-platform}-${os-arch}</finalName>

Has anyone seen release:perform work with a classifier present?

    [INFO] Preparing source:jar
    [WARNING] Removing: jar from forked lifecycle, to prevent recursive
invocation.
    [WARNING] Removing: jar from forked lifecycle, to prevent recursive
invocation.
    [INFO] No goals needed for project - skipping
    [INFO] [source:jar {execution: attach-sources}]
    [INFO] Building jar:
/udd001/app/alchemy/development/native-new/trunk/target/checkout/alchemy-cdo/target/alchemy-cdo-4.0.6-sources.jar
    [INFO] [install:install]
    [INFO] No primary artifact to install, installing attached artifacts
instead.
    [INFO] Installing
/udd001/app/alchemy/development/native-new/trunk/target/checkout/alchemy-cdo/target/alchemy-cdo-4.0.6-linux-Linux
amd64.jar to
/udd001/app/alchemy/.m2/repository/alchemy/alchemy-cdo/4.0.6/alchemy-cdo-4.0.6-linux-Linux
amd64.jar
    [INFO] Installing
/udd001/app/alchemy/development/native-new/trunk/target/checkout/alchemy-cdo/target/alchemy-cdo-4.0.6-sources.jar
to
/udd001/app/alchemy/.m2/repository/alchemy/alchemy-cdo/4.0.6/alchemy-cdo-4.0.6-sources.jar
    [INFO] [deploy:deploy]
    altDeploymentRepository = null
    [INFO]
------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO]
------------------------------------------------------------------------
    [INFO] Error deploying artifact:
/udd001/app/alchemy/development/native-new/trunk/target/checkout/alchemy-cdo/target/classes
(Is a directory)

Regards,
Graham
--



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to