https://bz.apache.org/bugzilla/show_bug.cgi?id=66706

            Bug ID: 66706
           Summary: The name of jar is different with the artifactId in
                    the pom file
           Product: Tomcat 9
           Version: 9.0.x
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Packaging
          Assignee: dev@tomcat.apache.org
          Reporter: huw...@redhat.com
  Target Milestone: -----

Hello,

I find the jar name defined in build.xml is different with the artifactId in
the pom file, take annotaion-api.jar for example:
https://github.com/apache/tomcat/blob/9.0.62/build.xml#L114
https://github.com/apache/tomcat/blob/9.0.62/res/maven/tomcat-annotations-api.pom#L24

I build tomcat with ant in fedora, annotaion-api.jar is installed in lib
sub-package. Someone asks for the pom file, so I install the pom file by the
macro %mvn_artifact in the spec file:
%mvn_artifact res/maven/tomcat-annotations-api.pom
${RPM_BUILD_ROOT}%{libdir}/annotations-api.jar

This will create the jar with the name tomcat-annotaion-api.jar, which is same
with annotaion-api.jar but has different name, and they are duplicated.

It will be better if the jar name in the build.xml is the same with the
artifactId in the pom file.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to