Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4083500
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T18:19:14+00:00 2026-05-20T18:19:14+00:00

I need the javax.comm library when building my project on our Hudson build server

  • 0

I need the javax.comm library when building my project on our Hudson build server with Maven. In my projects pom.xml file I have the dependency like this:

<dependency>
    <groupId>javax.comm</groupId>
    <artifactId>comm</artifactId>
    <version>2.0.3</version>
</dependency>

I also read somewhere that I would have better luck with javax lib’s if I included the repository:

    <repository>
        <id>java.net repository</id>
        <url>http://download.java.net/maven/2</url>
    </repository>

which I did. Rest of my pom.xml is pretty standard and minimalistic.

When I try to build on the build server I get:

Downloading: [company repo]/content/groups/public//javax/comm/comm/2.0.3/comm-2.0.3.jar
[INFO] Unable to find resource 'javax.comm:comm:jar:2.0.3' in repository java.net repository (http://download.java.net/maven/2)
Downloading: [company repo]/content/groups/public//javax/comm/comm/2.0.3/comm-2.0.3.jar
[INFO] Unable to find resource 'javax.comm:comm:jar:2.0.3' in repository central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) javax.comm:comm:jar:2.0.3

Try downloading the file manually from: 
  http://www.sun.com/download/products.xml?id=43208d3d

Then, install it using the command: 
  mvn install:install-file -DgroupId=javax.comm -DartifactId=comm -Dversion=2.0.3 -Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there: 
  mvn deploy:deploy-file -DgroupId=javax.comm -DartifactId=comm -Dversion=2.0.3 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency: 
1) com.siriusit.fisherysolution.inmcsim:InmCSim:jar:1.0-SNAPSHOT
2) javax.comm:comm:jar:2.0.3

----------

What am I doing wrong?

-edit-

I ended up downloading the java comm lib from Oracle and had our Maven admin install it on our local Repository.
As pointed out by answers below the java comm lib is not available on public repos due to license restrictions from Oracle (and Sun before them).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T18:19:15+00:00Added an answer on May 20, 2026 at 6:19 pm

    If you have a look here, in the “official” Maven 2 repository, you will see that in the pom.xml file for your library:

    <project>
        <modelVersion>4.0.0</modelVersion>
        <groupId>javax.comm</groupId>
        <artifactId>comm</artifactId>
        <version>2.0.3</version>
        <name>Java Communications API</name>
        <description>
            The Java Communications API is a Java extension that facilitates developing platform-independent
            communications applications for technologies such as Smart Cards, embedded systems, and point-of-sale
            devices, financial services devices, fax, modems, display terminals, and robotic equipment.
        </description>
        <url>http://java.sun.com/products/javacomm/</url>
        <distributionManagement>
            <downloadUrl>http://www.sun.com/download/products.xml?id=43208d3d</downloadUrl>
        </distributionManagement>
        <dependencies></dependencies>
    </project>
    

    which means that you should download the library yourself (the URL is given in <downloadUrl> tag), and then install it on your local repository (or even better, deploy it on your enterprise repository).

    This happen sometimes with some libraries (the Oracle JDBC driver is another example) that are not available for direct download, essentially because of specific licenses…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For XSLT transformation I need a javax.xml.transform.stream.StreamSource object representing xml file being transformed. I
i need to create a object Image from import javax.microedition.lcdui.Image; using a file .png
I need to include/inherit javax.xml.datatype.XmlGregorianCalendar in my GWT module. I have a proxy gxt.xml
I need to read a XML file returned from a web service. I was
I need to add some jars from JRE7 library to my Android project. But
I need to validate my JAXB objects before marshalling to an XML file. Prior
I need to save the javax.net.debug=all output that is created to a file. I'm
I need to use the result of a javax.xml.transform.Transformer as an input to another
I need to maintain/install the following java code: javax.xml.transform.Transformer t = tf.newTransformer(new javax.xml.transform.stream.StreamSource(foo.xsl)) ;
I need a Java library to convert PDFs to TIFF images. The PDFs are

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.