Projects tigase _server server-core Issues #229
Unable to download tigase 5.2.0 beta3 via maven (#229)
Closed
Sivakumar Ekambaram opened 1 decade ago

Unable to download tigase 5.2.0 beta3 via maven. Tried below options and both didn't work.

  1.  <dependency>
    
         <groupId>tigase</groupId>
    
         <artifactId>tigase-server</artifactId>
    
         <version>5.2.0-beta3</version>            
    
     </dependency>
    
  2.  <dependency>
    
         <groupId>tigase</groupId>
    
         <artifactId>tigase-server-master</artifactId>
    
         <version>5.2.0-beta3</version>            
    
     </dependency>
    

Noticed that in http://maven.tigase.org/tigase/tigase-server/5.2.0-beta3/tigase-issue #5.2.0-beta3.pom the parent artifact id is stated as tigase-server-master, but that is not there in maven.tigase.org.

Please help.

Eric Dziewa commented 1 decade ago

Thanks for alerting us Sivakumar. The issue has been resolved.

Eric

Sivakumar Ekambaram commented 1 decade ago

Its still not working. tigase-server-master-5.2.0-beta3.jar is missing in http://maven.tigase.org/tigase/tigase-server-master/5.2.0-beta3/

Artur Hefczyc commented 1 decade ago

Eric, please have a look at it again.

wojciech.kapcia@tigase.net commented 1 decade ago

There won't be any jar file for tigase-server-master module. As it is master maven project (please have a look at it's pom.xml) it has packaging property set to @pom@:

<packaging>pom</packaging>

Why would you put tigase-server-master as a depencency?

I've checked with simple maven project and following set as depencency:

    <dependency>
      <groupId>tigase</groupId>
      <artifactId>tigase-server</artifactId>
      <version>5.2.0-beta3</version>
    </dependency>

and it worked without any issue (with cleaned local maven repository):

------------------------------------------------------------------------
Building test 1.0-SNAPSHOT
------------------------------------------------------------------------
Downloading: http://maven.tigase.org/tigase/tigase-server/5.2.0-beta3/tigase-issue #5.2.0-beta3.pom
         
Downloaded: http://maven.tigase.org/tigase/tigase-server/5.2.0-beta3/tigase-issue #5.2.0-beta3.pom (5 KB at 9.5 KB/sec)
Downloading: http://maven.tigase.org/tigase/tigase-server-master/5.2.0-beta3/tigase-server-master-5.2.0-beta3.pom
         
Downloaded: http://maven.tigase.org/tigase/tigase-server-master/5.2.0-beta3/tigase-server-master-5.2.0-beta3.pom (7 KB at 48.5 KB/sec)
Downloading: http://maven.tigase.org/tigase/tigase-server/5.2.0-beta3/tigase-issue #5.2.0-beta3.jar
               
Downloaded: http://maven.tigase.org/tigase/tigase-server/5.2.0-beta3/tigase-issue #5.2.0-beta3.jar (1587 KB at 1958.8 KB/sec)

[...]

------------------------------------------------------------------------
BUILD SUCCESS
Sivakumar Ekambaram commented 1 decade ago

Sorry, we used tigase-server-master artifact id and once we changed it to tigase-server..it worked. Thanks.

issue 1 of 1
Type
Bug
Priority
Major
Assignee
RedmineID
1517
Version
tigase-server-5.2.0
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#229
Please wait...
Page is in error, reload to recover