Skip to content
New issue

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

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

Already on GitHub? # to your account

versions:update-parent working in 2.11.0 and not anymore in 2.12.0 #670

Closed
Flowwwww opened this issue Sep 6, 2022 · 4 comments · Fixed by #671
Closed

versions:update-parent working in 2.11.0 and not anymore in 2.12.0 #670

Flowwwww opened this issue Sep 6, 2022 · 4 comments · Fixed by #671
Labels
Milestone

Comments

@Flowwwww
Copy link

Flowwwww commented Sep 6, 2022

Following command :
mvn versions:update-parent -DparentVersion=[$LIB_VERSION] -DallowSnapshots=true
is working great in 2.11.0 :

3191 [INFO] --------------< com.lacroix:lxc-app-vs-output-talq-impl >---------------
3191 [INFO] Building lxc-app-vs-output-talq-impl 0.0.1-1
3191 [INFO] --------------------------------[ jar ]---------------------------------
3194 [INFO] 
3194 [INFO] --- versions-maven-plugin:2.11.0:update-parent (default-cli) @ lxc-app-vs-output-talq-impl ---
8221 [INFO] artifact com.lacroix:lxc-app-vs-root: checking for updates from lacroix
8288 [INFO] Updating parent from 0.0.1-1 to 0.0.1-1-mtls_implementation-folivro-SNAPSHOT
8296 [INFO] ------------------------------------------------------------------------
8296 [INFO] BUILD SUCCESS
8297 [INFO] ------------------------------------------------------------------------
8297 [INFO] Total time:  7.795 s
8298 [INFO] Finished at: 2022-09-06T10:12:24Z
8298 [INFO] ------------------------------------------------------------------------

And not anymore in 2.12.0 :

3504 [INFO] 
3504 [INFO] --------------< com.lacroix:lxc-app-vs-output-talq-impl >---------------
3504 [INFO] Building lxc-app-vs-output-talq-impl 0.0.1-1
3504 [INFO] --------------------------------[ jar ]---------------------------------
3509 [INFO] 
3509 [INFO] --- versions-maven-plugin:2.12.0:update-parent (default-cli) @ lxc-app-vs-output-talq-impl ---
8983 [INFO] artifact com.lacroix:lxc-app-vs-root: checking for updates from lacroix
9016 [WARNING] Not updating version: could not resolve any versions
9017 [INFO] ------------------------------------------------------------------------
9017 [INFO] BUILD SUCCESS
9017 [INFO] ------------------------------------------------------------------------
9018 [INFO] Total time:  8.426 s
9018 [INFO] Finished at: 2022-09-06T10:01:36Z
9018 [INFO] ------------------------------------------------------------------------

2.12.0 release log didn't help ...

@pzygielo
Copy link
Contributor

pzygielo commented Sep 6, 2022

0db6ce4

@andrzejj0
Copy link
Contributor

Looking into it.

andrzejj0 added a commit to andrzejj0/versions-maven-plugin that referenced this issue Sep 6, 2022
@andrzejj0
Copy link
Contributor

Mea culpa. The culprit is this PR I made: #665

@slawekjaranowski slawekjaranowski added this to the next-release milestone Sep 6, 2022
andrzejj0 added a commit to andrzejj0/versions-maven-plugin that referenced this issue Sep 6, 2022
…usePluginRepositories was incorrectly enabled
andrzejj0 added a commit to andrzejj0/versions-maven-plugin that referenced this issue Sep 6, 2022
…usePluginRepositories was incorrectly enabled
slawekjaranowski pushed a commit that referenced this issue Sep 6, 2022
@slawekjaranowski
Copy link
Member

Thanks for reporting and contributing during resolving issue.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants