java - Maven dependencies for Gson not being downloaded -


i'm not familiar using maven, user error in case. understanding of elements in pom file "dependency" listed here retrieved central repository based upon scope of dependency. in case, i'm attempting use gson library google. located on central repository , should reachable maven tool. i've executed "mvn -x compile" determine if can see dependencies in import. don't see them being downloaded during compile. ideas wrong configuration?

below pom project.

<project xmlns="http://maven.apache.org/pom/4.0.0" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"   xsi:schemalocation="http://maven.apache.org/pom/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">   <modelversion>4.0.0</modelversion>   <groupid>com.acumen.app</groupid>   <artifactid>catalogconverter</artifactid>   <packaging>jar</packaging>   <version>1.0-snapshot</version>   <name>catalogconverter</name>   <url>http://maven.apache.org</url>   <dependencies>     <dependency>       <groupid>junit</groupid>       <artifactid>junit</artifactid>       <version>3.8.1</version>       <scope>test</scope>     </dependency>     <dependency>         <groupid>com.google.code.gson</groupid>         <artifactid>gson</artifactid>         <version>2.3.1</version>     </dependency>   </dependencies>   <properties>     <project.build.sourceencoding>utf-8</project.build.sourceencoding>   </properties> </project> 


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -