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

Bump The Version Not The ArtifactId #6

Open
opticyclic opened this issue Feb 14, 2016 · 1 comment
Open

Bump The Version Not The ArtifactId #6

opticyclic opened this issue Feb 14, 2016 · 1 comment

Comments

@opticyclic
Copy link

The Maven convention is to bump the version and not to change the artifact id.
i.e. you have gone from

<dependency>
  <groupId>net.anthavio</groupId>
  <artifactId>phanbedder-1.9.8</artifactId>
  <version>1.0.0</version>
  <scope>test</scope>
</dependency>

to

<dependency>
  <groupId>net.anthavio</groupId>
  <artifactId>phanbedder-2.1.1</artifactId>
  <version>1.0.0</version>
  <scope>test</scope>
</dependency>

Instead of

<dependency>
  <groupId>net.anthavio</groupId>
  <artifactId>phanbedder</artifactId>
  <version>1.9.8</version>
  <scope>test</scope>
</dependency>

to

<dependency>
  <groupId>net.anthavio</groupId>
  <artifactId>phanbedder</artifactId>
  <version>2.1.1</version>
  <scope>test</scope>
</dependency>

If you keep the artifactId the same then maven repositories/search engines will list all the versions together making it easier to see.
e.g. http://mvnrepository.com/artifact/org.springframework/spring-context

@anthavio
Copy link
Owner

anthavio commented Jul 3, 2017

Yeah, that was bit unfortunate decision I made at the start.
No reason to change it now as PhantomJS development is pretty much halted https://groups.google.com/forum/m/#!topic/phantomjs/9aI5d-LDuNE
Means no more need to release phanbedder

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