Closed GoogleCodeExporter closed 9 years ago
The majority seems to prefer the current directory and jar file names,
so I will currently not change it.
Original comment by thomas.t...@gmail.com
on 17 Jul 2009 at 4:54
Just for the record: The "majority" seems to be using maven. They are not
effected by
this suggestion. They opposed for no practical reason (see:
http://groups.google.com/group/h2-database/browse_thread/thread/3de603a636189558
)
Original comment by frank.sc...@gmail.com
on 18 Jul 2009 at 6:52
Hi,
Yes, many are using Maven. And in Maven, the jar file name _needs_ to include
the
version, so h2.jar is not possible. And I don't want to distribute two jar
files with
the same content but a different name.
Regards,
Thomas
Original comment by thomas.t...@gmail.com
on 18 Jul 2009 at 7:42
"mvn install:install-file ..." or "mvn deploy:deploy-file..." will install an
existing "h2.jar" as "h2-1.1.115.jar" into the local or into the remote
repository,
respectively. IMHO, the version number (as part of the maven-coordinates) has
to be
defined over there anyway (-DgroupId=com.h2database -DartifactId=h2
-Dversion=1.115)
Neither is there a compelling reason for a maven artifact to carry on the
version
number on its file name. It can be changed into anything by
<project><build><finalName>${project.artifactId}</finalName>...</></>. And, it
does
not affect how the artifact is installed into the repository.
See:
http://maven.apache.org/guides/mini/guide-3rd-party-jars-remote.html
http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html
http://maven.apache.org/guides/introduction/introduction-to-the-pom.html
Original comment by frank.sc...@gmail.com
on 18 Jul 2009 at 8:21
Hi,
Check your local .m2 directory and you will see the jar file names include the
version.
It will stay like it is, case closed.
Regards,
Thomas
Original comment by thomas.t...@gmail.com
on 18 Jul 2009 at 9:29
As I said: "And, it does
*not* affect how the artifact is installed into the repository." :-)
I am perfectly fine with the case being close. But I dislike lies and
misconceptions.
Best,
Frank
Original comment by frank.sc...@gmail.com
on 18 Jul 2009 at 9:57
> it does *not* affect how the artifact is installed
I know that. But when I wrote "in Maven, the jar file name _needs_ to include
the
version", I meant in the Maven repository (the .m2 directory).
> But I dislike lies and misconceptions.
I guess this was more a misunderstanding than a lie.
Original comment by thomas.t...@gmail.com
on 18 Jul 2009 at 10:06
Original issue reported on code.google.com by
frank.sc...@gmail.com
on 14 Jul 2009 at 7:25