directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse McConnell" <jesse.mcconn...@gmail.com>
Subject Re: [shared] Unable to release shared 0.9.8
Date Fri, 08 Feb 2008 17:02:09 GMT
hm, didn't work...lemme fiddle a bit locally and see if I can work it out

you have a profile in your settings.xml for release right? you could just
add it there without having to muck with your code in scm..

jesse

On Feb 8, 2008 10:59 AM, Pierre-Arnaud Marcelot <pa@marcelot.net> wrote:

> Thanks,
>
> Here the log:
> MacBook-Pro:shared pajbam$ mvn -Prelease release:prepare -
> Dmaven.release.arguments="-X"
>
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO]   Apache Directory Shared
> [INFO]   Apache Directory ASN.1 Shared
> [INFO]   Apache Directory Protocol Ldap Shared Constants
> [INFO]   Apache Directory Protocol Ldap Shared
> [INFO]   Apache Directory JNDI Shared
> [INFO]   Apache Directory MINA ASN.1 Codec Shared
> [INFO]   Apache Directory Protocol Ldap Converters
> [INFO] Searching repository for plugin with prefix: 'release'.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache Directory Shared
> [INFO]    task-segment: [release:prepare] (aggregator-style)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [release:prepare]
> [INFO] Verifying that there are no local modifications...
> [INFO] Executing: svn --non-interactive status
> [INFO] Working directory: /Users/pajbam/release/shared
> [INFO] Checking dependencies and plugins for snapshots ...
> What is the release version for "Apache Directory Shared"? (
> org.apache.directory.shared:shared-parent) 0.9.8: :
> What is the release version for "Apache Directory ASN.1 Shared"? (
> org.apache.directory.shared:shared-asn1) 0.9.8: :
> What is the release version for "Apache Directory Protocol Ldap Shared
> Constants"? (org.apache.directory.shared:shared-ldap-constants) 0.9.8: :
> What is the release version for "Apache Directory Protocol Ldap Shared"? (
> org.apache.directory.shared:shared-ldap) 0.9.8: :
> What is the release version for "Apache Directory JNDI Shared"? (
> org.apache.directory.shared:shared-ldap-jndi) 0.9.8: :
> What is the release version for "Apache Directory MINA ASN.1 Codec
> Shared"? (org.apache.directory.shared:shared-asn1-codec) 0.9.8: :
> What is the release version for "Apache Directory Protocol Ldap
> Converters"? (org.apache.directory.shared:shared-converter) 0.9.8: :
> What is SCM release tag or label for "Apache Directory Shared"? (
> org.apache.directory.shared:shared-parent) shared-parent-0.9.8: : 0.9.8
> What is the new development version for "Apache Directory Shared"? (
> org.apache.directory.shared:shared-parent) 0.9.9-SNAPSHOT: :
> What is the new development version for "Apache Directory ASN.1 Shared"? (
> org.apache.directory.shared:shared-asn1) 0.9.9-SNAPSHOT: :
> What is the new development version for "Apache Directory Protocol Ldap
> Shared Constants"? (org.apache.directory.shared:shared-ldap-constants)
> 0.9.9-SNAPSHOT: :
> What is the new development version for "Apache Directory Protocol Ldap
> Shared"? (org.apache.directory.shared:shared-ldap) 0.9.9-SNAPSHOT: :
> What is the new development version for "Apache Directory JNDI Shared"? (
> org.apache.directory.shared:shared-ldap-jndi) 0.9.9-SNAPSHOT: :
> What is the new development version for "Apache Directory MINA ASN.1 Codec
> Shared"? (org.apache.directory.shared:shared-asn1-codec) 0.9.9-SNAPSHOT: :
>
> What is the new development version for "Apache Directory Protocol Ldap
> Converters"? (org.apache.directory.shared:shared-converter) 0.9.9-SNAPSHOT:
> :
> [INFO] Transforming 'Apache Directory Shared'...
> [INFO] Transforming 'Apache Directory ASN.1 Shared'...
> [INFO] Transforming 'Apache Directory Protocol Ldap Shared Constants'...
> [INFO] Transforming 'Apache Directory Protocol Ldap Shared'...
> [INFO] Updating shared-asn1 to 0.9.8
> [INFO] Ignoring artifact version update for expression: ${pom.version}
> [INFO] Updating shared-ldap-constants to 0.9.8
> [INFO] Ignoring artifact version update for expression: ${pom.version}
> [INFO] Transforming 'Apache Directory JNDI Shared'...
> [INFO] Transforming 'Apache Directory MINA ASN.1 Codec Shared'...
> [INFO] Updating shared-asn1 to 0.9.8
> [INFO] Ignoring artifact version update for expression: ${pom.version}
> [INFO] Transforming 'Apache Directory Protocol Ldap Converters'...
> [INFO] Updating shared-ldap to 0.9.8
> [INFO] Ignoring artifact version update for expression: ${pom.version}
> [INFO] Not generating release POMs
> [INFO] Executing goals 'clean verify'...
> [INFO] Executing: mvn clean verify --no-plugin-updates -P release,release
>     [INFO] Scanning for projects...
>     [INFO] Reactor build order:
>     [INFO]   Apache Directory Shared
>     [INFO]   Apache Directory ASN.1 Shared
>     [INFO]   Apache Directory Protocol Ldap Shared Constants
>     [INFO]   Apache Directory Protocol Ldap Shared
>     [INFO]   Apache Directory JNDI Shared
>     [INFO]   Apache Directory MINA ASN.1 Codec Shared
>     [INFO]   Apache Directory Protocol Ldap Converters
>     [INFO]
> ------------------------------------------------------------------------
>     [INFO] Building Apache Directory Shared
>     [INFO]    task-segment: [clean, verify]
>     [INFO]
> ------------------------------------------------------------------------
>     [INFO] [clean:clean]
>     [INFO] Deleting directory /Users/pajbam/release/shared/target
>     [INFO] Deleting directory /Users/pajbam/release/shared/target/classes
>     [INFO] Deleting directory
> /Users/pajbam/release/shared/target/test-classes
>     [INFO] Deleting directory /Users/pajbam/release/shared/target/site
>     [INFO] Setting property: classpath.resource.loader.class => '
> org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
>     [INFO] Setting property: velocimacro.messages.on => 'false'.
>     [INFO] Setting property: resource.loader => 'classpath'.
>     [INFO] Setting property: resource.manager.logwhenfound => 'false'.
>     [INFO] [remote-resources:process {execution: default}]
>     [INFO] [site:attach-descriptor]
>     [INFO] Preparing source:jar
>     [WARNING] Removing: jar from forked lifecycle, to prevent recursive
> invocation.
>     [INFO] No goals needed for project - skipping
>     [INFO] [source:jar {execution: attach-sources}]
>     [INFO] Preparing javadoc:jar
>     [INFO]
> ------------------------------------------------------------------------
>     [INFO] Building Apache Directory Shared
>     [INFO]
> ------------------------------------------------------------------------
>     [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]
> ------------------------------------------------------------------------
>     [INFO] Building Apache Directory ASN.1 Shared
>     [INFO]
> ------------------------------------------------------------------------
>     [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]
> ------------------------------------------------------------------------
>     [INFO] Building Apache Directory Protocol Ldap Shared Constants
>     [INFO]
> ------------------------------------------------------------------------
>     [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]
> ------------------------------------------------------------------------
>     [INFO] Building Apache Directory Protocol Ldap Shared
>     [INFO]
> ------------------------------------------------------------------------
>     [WARNING] Removing: jar from forked lifecycle, to prevent recursive
> invocation.
>     [WARNING] Removing: jar from forked lifecycle, to prevent recursive
> invocation.
>     Downloading:
> http://repo1.maven.org/maven2/org/apache/directory/shared/shared-asn1/0.9.8/shared-asn1-0.9.8.jar
>     Downloading:
> http://repo1.maven.org/maven2/org/apache/directory/shared/shared-ldap-constants/0.9.8/shared-ldap-constants-0.9.8.jar
>     [INFO]
> ------------------------------------------------------------------------
>     [ERROR] BUILD ERROR
>     [INFO]
> ------------------------------------------------------------------------
>     [INFO] Failed to resolve artifact.
>
>     Missing:
>     ----------
>     1) org.apache.directory.shared:shared-asn1:jar:0.9.8
>
>       Try downloading the file manually from the project website.
>
>       Then, install it using the command:
>           mvn install:install-file -DgroupId=org.apache.directory.shared-DartifactId=shared-asn1
-Dversion=
> 0.9.8 -Dpackaging=jar -Dfile=/path/to/file
>
>       Alternatively, if you host your own repository you can deploy the
> file there:
>           mvn deploy:deploy-file -DgroupId=org.apache.directory.shared-DartifactId=shared-asn1
-Dversion=
> 0.9.8 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>       Path to dependency:
>           1) org.apache.directory.shared:shared-ldap:jar:0.9.8
>           2) org.apache.directory.shared:shared-asn1:jar:0.9.8
>
>     2) org.apache.directory.shared:shared-ldap-constants:jar:0.9.8
>
>       Try downloading the file manually from the project website.
>
>       Then, install it using the command:
>           mvn install:install-file -DgroupId=org.apache.directory.shared-DartifactId=shared-ldap-constants
-Dversion=
> 0.9.8 -Dpackaging=jar -Dfile=/path/to/file
>
>       Alternatively, if you host your own repository you can deploy the
> file there:
>           mvn deploy:deploy-file -DgroupId=org.apache.directory.shared-DartifactId=shared-ldap-constants
-Dversion=
> 0.9.8 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>       Path to dependency:
>           1) org.apache.directory.shared:shared-ldap:jar:0.9.8
>           2) org.apache.directory.shared:shared-ldap-constants:jar:0.9.8
>
>     ----------
>     2 required artifacts are missing.
>
>     for artifact:
>       org.apache.directory.shared:shared-ldap:jar:0.9.8
>
>     from the specified remote repositories:
>       central (http://repo1.maven.org/maven2),
>       apache.snapshots (
> http://people.apache.org/repo/m2-snapshot-repository)
>
>
>     [INFO]
> ------------------------------------------------------------------------
>     [INFO] For more information, run Maven with the -e switch
>     [INFO]
> ------------------------------------------------------------------------
>     [INFO] Total time: 4 seconds
>     [INFO] Finished at: Fri Feb 08 17:58:46 CET 2008
>     [INFO] Final Memory: 13M/24M
>     [INFO]
> ------------------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Maven execution failed, exit code: '1'
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 21 seconds
> [INFO] Finished at: Fri Feb 08 17:58:46 CET 2008
> [INFO] Final Memory: 5M/9M
> [INFO]
> ------------------------------------------------------------------------
>
> Pierre-Arnaud
>
>
> On Feb 8, 2008 5:56 PM, Jesse McConnell <jesse.mcconnell@gmail.com> wrote:
>
> > ya, it would be something like...
> >
> > mvn -Dmaven.release.arguments="-X"
> >
> > off the top of my head
> >
> > jesse
> >
> >
> > On Feb 8, 2008 10:51 AM, Emmanuel Lecharny <elecharny@gmail.com> wrote:
> >
> > > Jesse McConnell wrote:
> > > > sorry, try adding -X as an argument to the release plugin
> > > >
> > > > in the configuration you can add the 'arguments' configuration
> > > option
> > > > and throw in -X
> > > >
> > > >
> > > http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html
> > > >
> > > > jesse
> > > >
> > > there is no way to do that on the CL ?
> > >
> > > --
> > > --
> > > cordialement, regards,
> > > Emmanuel L├ęcharny
> > > www.iktek.com
> > > directory.apache.org
> > >
> > >
> > >
> >
> >
> > --
> > jesse mcconnell
> > jesse.mcconnell@gmail.com
> >
>
>


-- 
jesse mcconnell
jesse.mcconnell@gmail.com
Mime
View raw message