You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicecomb.apache.org by GitBox <gi...@apache.org> on 2018/01/04 18:03:01 UTC

[GitHub] wujimin commented on issue #460: [JAV-566] report type/version when register to SC

wujimin commented on issue #460: [JAV-566] report type/version when register to SC
URL: https://github.com/apache/incubator-servicecomb-java-chassis/pull/460#issuecomment-355354274
 
 
   maybe this is simpler and not depend on jackson Deprecated method:
   ```
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-jar-plugin</artifactId>
           <configuration>
             <archive>
               <manifest>
                 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
               </manifest>
             </archive>
           </configuration>
         </plugin>
   
   xxxClass.class.getPackage().getImplementationVersion()
   ```
   
   but you need to do more test at least include: 
   1.web container, eg: tomcat
   2.maybe openjdk

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services