aled/jsi

Error on POM configuration

Closed this issue · 9 comments

"Malformed \uxxxx encoding." error ocurrs on eclipse.

aled commented

Can you give steps to reproduce please?

Well, I just put the lines to install the depenpency on pom.xml, and this error occurs and eclipse does not recognises the lib classes

I could not even compile/test the lib.

aled commented

"the lines"

What lines? You need to be more helpful I'm afraid.

"the lines"

What lines? You need to be more helpful I'm afraid.

net.sourceforge.jsi jsi 1.0.0
aled commented

What happens when you use the example in the readme in the pom.xml?

<repository>
  <id>jsi.sourceforge.net</id>
  <name>sourceforge jsi repository</name>
  <url>http://sourceforge.net/projects/jsi/files/m2_repo</url>
</repository>

<dependency>
  <groupId>net.sourceforge.jsi</groupId>
  <artifactId>jsi</artifactId>
  <version>1.0.0</version>
</dependency>

As I've said:

"Malformed \uxxxx encoding." error ocurrs on eclipse.

Eclipse marks the "" line with a red tag. And the error above is reported in the "Problems" tab.

aled commented

I just created a new eclipse project, manually edited the pom.xml to import the library and it works fine.

Please feel free to re-open if you can document a minimal set of detailed steps to reproduce the error.

Here is the POM I just created that works:

 <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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
   <modelVersion>4.0.0</modelVersion>
   <groupId>test2</groupId>
   <artifactId>test2</artifactId>
   <version>0.0.1-SNAPSHOT</version>
   <repositories>
 	  <repository>
 		   <id>jsi.sourceforge.net</id>
 		   <name>sourceforge jsi repository</name>
   		   <url>http://sourceforge.net/projects/jsi/files/m2_repo</url>
 	  </repository>
   </repositories>
   <dependencies>
   	<dependency>
   		<groupId>net.sourceforge.jsi</groupId>
   		<artifactId>jsi</artifactId>
   		<version>1.0.0</version>
   	</dependency>
   </dependencies>
 </project>

Right, I did the same simple POM in a new project, and the error continues. Maybe is a problem with my eclipse/JVM/OS version, but it only happens with this dependency, of many I use.
Thank you.