Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Another allowMajorUpdates=false bug #22

Closed
stagrlee opened this issue Sep 8, 2015 · 2 comments
Closed

Another allowMajorUpdates=false bug #22

stagrlee opened this issue Sep 8, 2015 · 2 comments
Assignees
Milestone

Comments

@stagrlee
Copy link

stagrlee commented Sep 8, 2015

Debug output follows, should have given 1.2.0-SNAPSHOT, but outputs 2.0.0-SNAPSHOT.
Interestingly, if I change the test .m2 repo to host 2.0.1-SNAPSHOT instead of 2.0.0-SNAPSHOT, it gives correct version which I think is different from issue #11

The rerun command is just some scripting I have around the maven command line, You can see the variables sent into versions-maven-plugin in the debug output below.

$ rerun repo:artifact-version-get --test_mode true --artifact scripts --group com.reruntest.atlas --snapshot y --pinned_version 1.0.0 --update_major false

Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T11:29:23-06:00)
Maven home: /usr/local/Cellar/maven32/3.2.5/libexec
Java version: 1.8.0_45, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.10.5", arch: "x86_64", family: "mac"
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from /usr/local/Cellar/maven32/3.2.5/libexec/conf/settings.xml
[DEBUG] Reading user settings from /private/tmp/rerun.repo.wnKi8/./settings.xml
[DEBUG] Using local repository at /Users/thompson/.m2/repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for /Users/thompson/.m2/repository
[INFO] Scanning for projects...
[DEBUG] Extension realms for project com.reruntest.atlas:deploy:pom:1.0.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
[DEBUG] Resolving plugin prefix versions from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Could not find metadata org.apache.maven.plugins/maven-metadata.xml in local (/Users/thompson/.m2/repository)
[DEBUG] Could not find metadata org.codehaus.mojo/maven-metadata.xml in local (/Users/thompson/.m2/repository)
[DEBUG] Using transporter WagonTransporter with priority -1.0 for https://repo.maven.apache.org/maven2
[DEBUG] Using transporter WagonTransporter with priority -1.0 for https://repo.maven.apache.org/maven2
[DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://repo.maven.apache.org/maven2
[DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://repo.maven.apache.org/maven2
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (13 KB at 15.3 KB/sec)
[DEBUG] Writing tracking file /Users/thompson/.m2/repository/org/apache/maven/plugins/resolver-status.properties
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (20 KB at 23.4 KB/sec)
[DEBUG] Writing tracking file /Users/thompson/.m2/repository/org/codehaus/mojo/resolver-status.properties
[DEBUG] Resolved plugin prefix versions to org.codehaus.mojo:versions-maven-plugin from repository central
[DEBUG] Resolving plugin version for org.codehaus.mojo:versions-maven-plugin
[DEBUG] Could not find metadata org.codehaus.mojo:versions-maven-plugin/maven-metadata.xml in local (/Users/thompson/.m2/repository)
[DEBUG] Using transporter WagonTransporter with priority -1.0 for https://repo.maven.apache.org/maven2
[DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://repo.maven.apache.org/maven2
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/codehaus/mojo/versions-maven-plugin/maven-metadata.xml
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/mojo/versions-maven-plugin/maven-metadata.xml (655 B at 10.5 KB/sec)
[DEBUG] Writing tracking file /Users/thompson/.m2/repository/org/codehaus/mojo/versions-maven-plugin/resolver-status.properties
[DEBUG] Resolved plugin version for org.codehaus.mojo:versions-maven-plugin to 2.2 from repository central (https://repo.maven.apache.org/maven2, default, releases)
[DEBUG] === REACTOR BUILD PLAN ================================================
[DEBUG] Project: com.reruntest.atlas:deploy:pom:1.0.0-SNAPSHOT
[DEBUG] Tasks:   [versions:use-latest-snapshots]
[DEBUG] Style:   Regular
[DEBUG] =======================================================================
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Deploy packages to bintray 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[DEBUG] Resolving plugin prefix versions from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Could not find metadata org.apache.maven.plugins/maven-metadata.xml in local (/Users/thompson/.m2/repository)
[DEBUG] Skipped remote request for org.apache.maven.plugins/maven-metadata.xml, already updated during this session.
[DEBUG] Could not find metadata org.codehaus.mojo/maven-metadata.xml in local (/Users/thompson/.m2/repository)
[DEBUG] Skipped remote request for org.codehaus.mojo/maven-metadata.xml, already updated during this session.
[DEBUG] Resolved plugin prefix versions to org.codehaus.mojo:versions-maven-plugin from repository central
[DEBUG] Resolving plugin version for org.codehaus.mojo:versions-maven-plugin
[DEBUG] Could not find metadata org.codehaus.mojo:versions-maven-plugin/maven-metadata.xml in local (/Users/thompson/.m2/repository)
[DEBUG] Skipped remote request for org.codehaus.mojo:versions-maven-plugin/maven-metadata.xml, already updated during this session.
[DEBUG] Resolved plugin version for org.codehaus.mojo:versions-maven-plugin to 2.2 from repository central (https://repo.maven.apache.org/maven2, default, releases)
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] === PROJECT BUILD PLAN ================================================
[DEBUG] Project:       com.reruntest.atlas:deploy:1.0.0-SNAPSHOT
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): []
[DEBUG] Repositories (dependencies): [atlas-releases (file:///Users/thompson/src/rerun-modules/repo/lib/mvnrepo/releases, default, releases), atlas-snapshots (file:///Users/thompson/src/rerun-modules/repo/lib/mvnrepo/snapshots, default, releases+snapshots), central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] Repositories (plugins)     : [central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.codehaus.mojo:versions-maven-plugin:2.2:use-latest-snapshots (default-cli)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <allowIncrementalUpdates default-value="true">${allowIncrementalUpdates}</allowIncrementalUpdates>
  <allowMajorUpdates default-value="false">${allowMajorUpdates}</allowMajorUpdates>
  <allowMinorUpdates default-value="false">${allowMinorUpdates}</allowMinorUpdates>
  <allowSnapshots default-value="false">${allowSnapshots}</allowSnapshots>
  <excludeReactor>${excludeReactor}</excludeReactor>
  <excludesList>${excludes}</excludesList>
  <generateBackupPoms>${generateBackupPoms}</generateBackupPoms>
  <includesList>${includes}</includesList>
  <localRepository>${localRepository}</localRepository>
  <processDependencies>${processDependencies}</processDependencies>
  <processDependencyManagement>${processDependencyManagement}</processDependencyManagement>
  <project>${project}</project>
  <reactorProjects>${reactorProjects}</reactorProjects>
  <remoteArtifactRepositories>${project.remoteArtifactRepositories}</remoteArtifactRepositories>
  <remotePluginRepositories>${project.pluginArtifactRepositories}</remotePluginRepositories>
  <rulesUri>${maven.version.rules}</rulesUri>
  <serverId default-value="serverId">${maven.version.rules.serverId}</serverId>
  <session>${session}</session>
  <settings>${settings}</settings>
</configuration>
[DEBUG] =======================================================================
[INFO] 
[INFO] --- versions-maven-plugin:2.2:use-latest-snapshots (default-cli) @ deploy ---
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG]   Imported: org.apache.maven.cli < plexus.core
[DEBUG]   Imported: org.eclipse.aether.internal.impl < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.lifecycle < plexus.core
[DEBUG]   Imported: org.apache.maven.lifecycle < plexus.core
[DEBUG]   Imported: org.apache.maven.repository < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.personality < plexus.core
[DEBUG]   Imported: org.apache.maven.usability < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.configuration < plexus.core
[DEBUG]   Imported: javax.enterprise.inject.* < plexus.core
[DEBUG]   Imported: org.apache.maven.* < plexus.core
[DEBUG]   Imported: org.apache.maven.project < plexus.core
[DEBUG]   Imported: org.apache.maven.exception < plexus.core
[DEBUG]   Imported: org.eclipse.aether.spi < plexus.core
[DEBUG]   Imported: org.apache.maven.plugin < plexus.core
[DEBUG]   Imported: org.eclipse.aether.collection < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.* < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.logging < plexus.core
[DEBUG]   Imported: org.apache.maven.profiles < plexus.core
[DEBUG]   Imported: org.eclipse.aether.transfer < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core
[DEBUG]   Imported: org.apache.maven.execution.scope < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.* < plexus.core
[DEBUG]   Imported: org.apache.maven.rtinfo < plexus.core
[DEBUG]   Imported: org.eclipse.aether.impl < plexus.core
[DEBUG]   Imported: org.apache.maven.monitor < plexus.core
[DEBUG]   Imported: org.eclipse.aether.graph < plexus.core
[DEBUG]   Imported: org.eclipse.aether.metadata < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.context < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.observers < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.resource < plexus.core
[DEBUG]   Imported: javax.inject.* < plexus.core
[DEBUG]   Imported: org.apache.maven.model < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
[DEBUG]   Imported: org.eclipse.aether.deployment < plexus.core
[DEBUG]   Imported: org.apache.maven.artifact < plexus.core
[DEBUG]   Imported: org.apache.maven.toolchain < plexus.core
[DEBUG]   Imported: org.eclipse.aether.resolution < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core
[DEBUG]   Imported: org.apache.maven.settings < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authorization < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.events < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authentication < plexus.core
[DEBUG]   Imported: org.apache.maven.reporting < plexus.core
[DEBUG]   Imported: org.eclipse.aether.repository < plexus.core
[DEBUG]   Imported: org.slf4j.* < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.repository < plexus.core
[DEBUG]   Imported: javax.enterprise.util.* < plexus.core
[DEBUG]   Imported: org.apache.maven.configuration < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.classworlds < plexus.core
[DEBUG]   Imported: org.codehaus.classworlds < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core
[DEBUG]   Imported: org.apache.maven.classrealm < plexus.core
[DEBUG]   Imported: org.eclipse.aether.* < plexus.core
[DEBUG]   Imported: org.eclipse.aether.artifact < plexus.core
[DEBUG]   Imported: org.apache.maven.execution < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.proxy < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.container < plexus.core
[DEBUG]   Imported: org.eclipse.aether.version < plexus.core
[DEBUG]   Imported: org.eclipse.aether.installation < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.component < plexus.core
[DEBUG] Populating class realm maven.api
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=2, ConflictMarker.markTime=1, ConflictMarker.nodeCount=317, ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=1, ConflictIdSorter.conflictIdCount=76, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=8, ConflictResolver.conflictItemCount=185, DefaultDependencyCollector.collectTime=239, DefaultDependencyCollector.transformTime=13}
[DEBUG] org.codehaus.mojo:versions-maven-plugin:jar:2.2:
[DEBUG]    org.apache.maven:maven-artifact:jar:2.2.1:compile
[DEBUG]    org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
[DEBUG]       backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
[DEBUG]    org.apache.maven:maven-core:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1:compile
[DEBUG]       org.slf4j:slf4j-jdk14:jar:1.5.6:runtime
[DEBUG]          org.slf4j:slf4j-api:jar:1.5.6:runtime
[DEBUG]       org.slf4j:jcl-over-slf4j:jar:1.5.6:runtime
[DEBUG]       org.apache.maven:maven-profile:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-error-diagnostics:jar:2.2.1:compile
[DEBUG]       commons-cli:commons-cli:jar:1.2:compile
[DEBUG]       org.apache.maven:maven-monitor:jar:2.2.1:compile
[DEBUG]       classworlds:classworlds:jar:1.1:compile
[DEBUG]       org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[DEBUG]          org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[DEBUG]    org.apache.maven:maven-model:jar:2.2.1:compile
[DEBUG]    org.apache.maven:maven-plugin-api:jar:2.2.1:compile
[DEBUG]    org.apache.maven:maven-plugin-descriptor:jar:2.2.1:compile
[DEBUG]    org.apache.maven:maven-settings:jar:2.2.1:compile
[DEBUG]       org.codehaus.plexus:plexus-interpolation:jar:1.11:compile
[DEBUG]    org.apache.maven:maven-project:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
[DEBUG]    org.apache.maven.reporting:maven-reporting-api:jar:3.0:compile
[DEBUG]    org.apache.maven.reporting:maven-reporting-impl:jar:2.2:compile
[DEBUG]       commons-validator:commons-validator:jar:1.3.1:compile
[DEBUG]          commons-beanutils:commons-beanutils:jar:1.7.0:compile
[DEBUG]          commons-digester:commons-digester:jar:1.6:compile
[DEBUG]          commons-logging:commons-logging:jar:1.0.4:compile
[DEBUG]    org.apache.maven.shared:maven-common-artifact-filters:jar:1.4:compile
[DEBUG]    org.apache.maven.wagon:wagon-provider-api:jar:2.5:compile
[DEBUG]    org.apache.maven.wagon:wagon-file:jar:2.5:compile
[DEBUG]    org.apache.maven.doxia:doxia-core:jar:1.4:compile
[DEBUG]       org.apache.maven.doxia:doxia-logging-api:jar:1.4:compile
[DEBUG]       org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
[DEBUG]       xerces:xercesImpl:jar:2.9.1:compile
[DEBUG]          xml-apis:xml-apis:jar:1.3.04:compile
[DEBUG]       org.apache.httpcomponents:httpclient:jar:4.0.2:compile
[DEBUG]          commons-codec:commons-codec:jar:1.3:compile
[DEBUG]       org.apache.httpcomponents:httpcore:jar:4.0.1:compile
[DEBUG]    org.apache.maven.doxia:doxia-sink-api:jar:1.4:compile
[DEBUG]    org.apache.maven.doxia:doxia-site-renderer:jar:1.4:compile
[DEBUG]       org.apache.maven.doxia:doxia-decoration-model:jar:1.4:compile
[DEBUG]       org.apache.maven.doxia:doxia-module-xhtml:jar:1.4:compile
[DEBUG]       org.apache.maven.doxia:doxia-module-fml:jar:1.4:compile
[DEBUG]       org.codehaus.plexus:plexus-velocity:jar:1.1.7:compile
[DEBUG]       org.apache.velocity:velocity:jar:1.5:compile
[DEBUG]          oro:oro:jar:2.0.8:compile
[DEBUG]       org.apache.velocity:velocity-tools:jar:2.0:compile
[DEBUG]          commons-chain:commons-chain:jar:1.1:compile
[DEBUG]          dom4j:dom4j:jar:1.1:compile
[DEBUG]          sslext:sslext:jar:1.2-0:compile
[DEBUG]          org.apache.struts:struts-core:jar:1.3.8:compile
[DEBUG]             antlr:antlr:jar:2.7.2:compile
[DEBUG]          org.apache.struts:struts-taglib:jar:1.3.8:compile
[DEBUG]          org.apache.struts:struts-tiles:jar:1.3.8:compile
[DEBUG]       commons-collections:commons-collections:jar:3.2.1:compile
[DEBUG]    org.codehaus.plexus:plexus-utils:jar:3.0.20:compile
[DEBUG]    org.codehaus.plexus:plexus-container-default:jar:1.5.5:compile
[DEBUG]       org.codehaus.plexus:plexus-classworlds:jar:2.2.2:compile
[DEBUG]       org.apache.xbean:xbean-reflect:jar:3.4:compile
[DEBUG]          log4j:log4j:jar:1.2.12:compile
[DEBUG]          commons-logging:commons-logging-api:jar:1.1:compile
[DEBUG]       com.google.collections:google-collections:jar:1.0:compile
[DEBUG]       junit:junit:jar:4.11:test
[DEBUG]          org.hamcrest:hamcrest-core:jar:1.3:test
[DEBUG]    org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-6:compile
[DEBUG]    org.codehaus.plexus:plexus-i18n:jar:1.0-beta-10:compile
[DEBUG]    org.codehaus.woodstox:woodstox-core-asl:jar:4.2.0:compile
[DEBUG]       javax.xml.stream:stax-api:jar:1.0-2:compile
[DEBUG]       org.codehaus.woodstox:stax2-api:jar:3.1.1:compile
[DEBUG]    commons-lang:commons-lang:jar:2.6:compile
[DEBUG] Created new class realm plugin>org.codehaus.mojo:versions-maven-plugin:2.2
[DEBUG] Importing foreign packages into class realm plugin>org.codehaus.mojo:versions-maven-plugin:2.2
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>org.codehaus.mojo:versions-maven-plugin:2.2
[DEBUG]   Included: org.codehaus.mojo:versions-maven-plugin:jar:2.2
[DEBUG]   Included: backport-util-concurrent:backport-util-concurrent:jar:3.1
[DEBUG]   Included: org.slf4j:slf4j-jdk14:jar:1.5.6
[DEBUG]   Included: org.slf4j:slf4j-api:jar:1.5.6
[DEBUG]   Included: org.slf4j:jcl-over-slf4j:jar:1.5.6
[DEBUG]   Included: commons-cli:commons-cli:jar:1.2
[DEBUG]   Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3
[DEBUG]   Included: org.sonatype.plexus:plexus-cipher:jar:1.4
[DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.11
[DEBUG]   Included: org.apache.maven.reporting:maven-reporting-api:jar:3.0
[DEBUG]   Included: org.apache.maven.reporting:maven-reporting-impl:jar:2.2
[DEBUG]   Included: commons-validator:commons-validator:jar:1.3.1
[DEBUG]   Included: commons-beanutils:commons-beanutils:jar:1.7.0
[DEBUG]   Included: commons-digester:commons-digester:jar:1.6
[DEBUG]   Included: commons-logging:commons-logging:jar:1.0.4
[DEBUG]   Included: org.apache.maven.shared:maven-common-artifact-filters:jar:1.4
[DEBUG]   Included: org.apache.maven.wagon:wagon-file:jar:2.5
[DEBUG]   Included: org.apache.maven.doxia:doxia-core:jar:1.4
[DEBUG]   Included: org.apache.maven.doxia:doxia-logging-api:jar:1.4
[DEBUG]   Included: org.codehaus.plexus:plexus-component-annotations:jar:1.5.5
[DEBUG]   Included: xerces:xercesImpl:jar:2.9.1
[DEBUG]   Included: xml-apis:xml-apis:jar:1.3.04
[DEBUG]   Included: org.apache.httpcomponents:httpclient:jar:4.0.2
[DEBUG]   Included: commons-codec:commons-codec:jar:1.3
[DEBUG]   Included: org.apache.httpcomponents:httpcore:jar:4.0.1
[DEBUG]   Included: org.apache.maven.doxia:doxia-sink-api:jar:1.4
[DEBUG]   Included: org.apache.maven.doxia:doxia-site-renderer:jar:1.4
[DEBUG]   Included: org.apache.maven.doxia:doxia-decoration-model:jar:1.4
[DEBUG]   Included: org.apache.maven.doxia:doxia-module-xhtml:jar:1.4
[DEBUG]   Included: org.apache.maven.doxia:doxia-module-fml:jar:1.4
[DEBUG]   Included: org.codehaus.plexus:plexus-velocity:jar:1.1.7
[DEBUG]   Included: org.apache.velocity:velocity:jar:1.5
[DEBUG]   Included: oro:oro:jar:2.0.8
[DEBUG]   Included: org.apache.velocity:velocity-tools:jar:2.0
[DEBUG]   Included: commons-chain:commons-chain:jar:1.1
[DEBUG]   Included: dom4j:dom4j:jar:1.1
[DEBUG]   Included: sslext:sslext:jar:1.2-0
[DEBUG]   Included: org.apache.struts:struts-core:jar:1.3.8
[DEBUG]   Included: antlr:antlr:jar:2.7.2
[DEBUG]   Included: org.apache.struts:struts-taglib:jar:1.3.8
[DEBUG]   Included: org.apache.struts:struts-tiles:jar:1.3.8
[DEBUG]   Included: commons-collections:commons-collections:jar:3.2.1
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:3.0.20
[DEBUG]   Included: org.apache.xbean:xbean-reflect:jar:3.4
[DEBUG]   Included: log4j:log4j:jar:1.2.12
[DEBUG]   Included: commons-logging:commons-logging-api:jar:1.1
[DEBUG]   Included: com.google.collections:google-collections:jar:1.0
[DEBUG]   Included: org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-6
[DEBUG]   Included: org.codehaus.plexus:plexus-i18n:jar:1.0-beta-10
[DEBUG]   Included: org.codehaus.woodstox:woodstox-core-asl:jar:4.2.0
[DEBUG]   Included: javax.xml.stream:stax-api:jar:1.0-2
[DEBUG]   Included: org.codehaus.woodstox:stax2-api:jar:3.1.1
[DEBUG]   Included: commons-lang:commons-lang:jar:2.6
[DEBUG]   Excluded: org.apache.maven:maven-artifact:jar:2.2.1
[DEBUG]   Excluded: org.apache.maven:maven-artifact-manager:jar:2.2.1
[DEBUG]   Excluded: org.apache.maven:maven-repository-metadata:jar:2.2.1
[DEBUG]   Excluded: org.apache.maven:maven-core:jar:2.2.1
[DEBUG]   Excluded: org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1
[DEBUG]   Excluded: org.apache.maven:maven-profile:jar:2.2.1
[DEBUG]   Excluded: org.apache.maven:maven-error-diagnostics:jar:2.2.1
[DEBUG]   Excluded: org.apache.maven:maven-monitor:jar:2.2.1
[DEBUG]   Excluded: classworlds:classworlds:jar:1.1
[DEBUG]   Excluded: org.apache.maven:maven-model:jar:2.2.1
[DEBUG]   Excluded: org.apache.maven:maven-plugin-api:jar:2.2.1
[DEBUG]   Excluded: org.apache.maven:maven-plugin-descriptor:jar:2.2.1
[DEBUG]   Excluded: org.apache.maven:maven-settings:jar:2.2.1
[DEBUG]   Excluded: org.apache.maven:maven-project:jar:2.2.1
[DEBUG]   Excluded: org.apache.maven:maven-plugin-registry:jar:2.2.1
[DEBUG]   Excluded: org.apache.maven.wagon:wagon-provider-api:jar:2.5
[DEBUG]   Excluded: org.codehaus.plexus:plexus-container-default:jar:1.5.5
[DEBUG]   Excluded: org.codehaus.plexus:plexus-classworlds:jar:2.2.2
[DEBUG]   Excluded: junit:junit:jar:4.11
[DEBUG]   Excluded: org.hamcrest:hamcrest-core:jar:1.3
[DEBUG] Configuring mojo org.codehaus.mojo:versions-maven-plugin:2.2:use-latest-snapshots from plugin realm ClassRealm[plugin>org.codehaus.mojo:versions-maven-plugin:2.2, parent: sun.misc.Launcher$AppClassLoader@5c647e05]
[DEBUG] Configuring mojo 'org.codehaus.mojo:versions-maven-plugin:2.2:use-latest-snapshots' with basic configurator -->
[DEBUG]   (f) allowIncrementalUpdates = true
[DEBUG]   (f) allowMajorUpdates = false
[DEBUG]   (f) allowMinorUpdates = true
[DEBUG]   (f) allowSnapshots = true
[DEBUG]   (f) localRepository =       id: local
      url: file:///Users/thompson/.m2/repository/
   layout: default
snapshots: [enabled => true, update => always]
 releases: [enabled => true, update => always]

[DEBUG]   (s) project = MavenProject: com.reruntest.atlas:deploy:1.0.0-SNAPSHOT @ /private/tmp/rerun.repo.wnKi8/pom.xml
[DEBUG]   (f) reactorProjects = [MavenProject: com.reruntest.atlas:deploy:1.0.0-SNAPSHOT @ /private/tmp/rerun.repo.wnKi8/pom.xml]
[DEBUG]   (f) remoteArtifactRepositories = [      id: atlas-releases
      url: file:///Users/thompson/src/rerun-modules/repo/lib/mvnrepo/releases
   layout: default
snapshots: [enabled => false, update => daily]
 releases: [enabled => true, update => daily]
,       id: atlas-snapshots
      url: file:///Users/thompson/src/rerun-modules/repo/lib/mvnrepo/snapshots
   layout: default
snapshots: [enabled => true, update => daily]
 releases: [enabled => true, update => daily]
,       id: central
      url: https://repo.maven.apache.org/maven2
   layout: default
snapshots: [enabled => false, update => daily]
 releases: [enabled => true, update => daily]
]
[DEBUG]   (f) remotePluginRepositories = [      id: central
      url: https://repo.maven.apache.org/maven2
   layout: default
snapshots: [enabled => false, update => daily]
 releases: [enabled => true, update => never]
]
[DEBUG]   (f) serverId = serverId
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@d71adc2
[DEBUG]   (f) settings = org.apache.maven.execution.SettingsAdapter@1a1d3c1a
[DEBUG] -- end configuration --
[INFO] Minor version changes allowed
[DEBUG] Looking for latest snapshot of com.reruntest.atlas:scripts:deb:1.0.0
[INFO] artifact com.reruntest.atlas:scripts: checking for updates from atlas-releases
[DEBUG] SHA1 not found, trying MD5: File: /Users/thompson/src/rerun-modules/repo/lib/mvnrepo/releases/com/reruntest/atlas/scripts/maven-metadata.xml.sha1 does not exist
[WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for com/reruntest/atlas/scripts/maven-metadata.xml - IGNORING
[DEBUG] Reading resolution-state from: /Users/thompson/.m2/repository/com/reruntest/atlas/scripts/resolver-status.properties
[DEBUG] Writing resolution-state to: /Users/thompson/.m2/repository/com/reruntest/atlas/scripts/resolver-status.properties
[INFO] artifact com.reruntest.atlas:scripts: checking for updates from atlas-snapshots
[DEBUG] SHA1 not found, trying MD5: File: /Users/thompson/src/rerun-modules/repo/lib/mvnrepo/snapshots/com/reruntest/atlas/scripts/maven-metadata.xml.sha1 does not exist
[WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for com/reruntest/atlas/scripts/maven-metadata.xml - IGNORING
[DEBUG] Reading resolution-state from: /Users/thompson/.m2/repository/com/reruntest/atlas/scripts/resolver-status.properties
[DEBUG] Writing resolution-state to: /Users/thompson/.m2/repository/com/reruntest/atlas/scripts/resolver-status.properties
[INFO] artifact com.reruntest.atlas:scripts: checking for updates from central
[DEBUG] repository metadata for: 'artifact com.reruntest.atlas:scripts' could not be found on repository: central
[DEBUG] Reading resolution-state from: /Users/thompson/.m2/repository/com/reruntest/atlas/scripts/resolver-status.properties
[DEBUG] Writing resolution-state to: /Users/thompson/.m2/repository/com/reruntest/atlas/scripts/resolver-status.properties
[INFO] Upper bound: 2.0.0
[DEBUG] Candidate versions [1.0.1-SNAPSHOT, 1.0.4-SNAPSHOT, 1.0.5-SNAPSHOT, 1.0.6-SNAPSHOT, 1.0.6, 1.0.6.2, 1.0.6.3, 1.0.6.6, 1.1.1-SNAPSHOT, 1.1.1, 1.1.2-SNAPSHOT, 1.1.2, 1.2.0-SNAPSHOT, 2.0.0-SNAPSHOT]
[INFO] Updated com.reruntest.atlas:scripts:deb:1.0.0 to version 2.0.0-SNAPSHOT
[DEBUG] Backing up /private/tmp/rerun.repo.wnKi8/pom.xml to /private/tmp/rerun.repo.wnKi8/pom.xml.versionsBackup
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.886 s
[INFO] Finished at: 2015-09-08T15:36:36-05:00
[INFO] Final Memory: 14M/314M
[INFO] ------------------------------------------------------------------------
2.0.0-SNAPSHOT

@stagrlee
Copy link
Author

stagrlee commented Sep 8, 2015

For brevity, the key output are these lines..

[DEBUG] - (f) allowMajorUpdates = false

[INFO] Upper bound: 2.0.0

[DEBUG] Candidate versions [1.0.1-SNAPSHOT, 1.0.4-SNAPSHOT, 1.0.5-SNAPSHOT, 1.0.6-SNAPSHOT, 1.0.6, 1.0.6.2, 1.0.6.3, 1.0.6.6, 1.1.1-SNAPSHOT, 1.1.1, 1.1.2-SNAPSHOT, 1.1.2, 1.2.0-SNAPSHOT, 2.0.0-SNAPSHOT]

@khmarbaise
Copy link
Member

This should be fixed by #11

@khmarbaise khmarbaise added this to the 3.0.0 milestone Mar 26, 2017
@khmarbaise khmarbaise self-assigned this May 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants