Colin Patrick McCabe created HTRACE-343:
-------------------------------------------

             Summary: Evaluate whether we can skip generating jar files for 
subprojects with no java
                 Key: HTRACE-343
                 URL: https://issues.apache.org/jira/browse/HTRACE-343
             Project: HTrace
          Issue Type: Improvement
            Reporter: Colin Patrick McCabe
            Priority: Trivial


As [~eclark] pointed out, we current generate jar files even for maven 
subprojects with no java in them, such as {{htrace-c}}.  The jars appear to 
just contain the pom.xml files and a few other miscellaneous things:

{code}
cmccabe@mirabilis:~/htrace2> jar tvf 
./htrace-c/target/htrace-c-4.1.0-incubating-SNAPSHOT.jar
     0 Thu Jan 21 11:14:44 PST 2016 META-INF/
   450 Thu Jan 21 11:14:42 PST 2016 META-INF/MANIFEST.MF
   258 Thu Jan 21 11:14:34 PST 2016 META-INF/DEPENDENCIES
 11358 Thu Jan 21 11:14:34 PST 2016 META-INF/LICENSE
   160 Thu Jan 21 11:14:34 PST 2016 META-INF/NOTICE
     0 Thu Jan 21 11:14:44 PST 2016 META-INF/maven/
     0 Thu Jan 21 11:14:44 PST 2016 META-INF/maven/org.apache.htrace/
     0 Thu Jan 21 11:14:44 PST 2016 META-INF/maven/org.apache.htrace/htrace-c/
  4025 Thu Jan 21 11:13:22 PST 2016 
META-INF/maven/org.apache.htrace/htrace-c/pom.xml
   130 Thu Jan 21 11:14:44 PST 2016 
META-INF/maven/org.apache.htrace/htrace-c/pom.properties
{code}

It's not doing any harm, but it would be nice to skip generating these jars (if 
it's possible in Maven.)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to