ctakes-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pei Chen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CTAKES-76) get third party dependencies into Maven Central
Date Thu, 18 Jul 2013 18:24:48 GMT

    [ https://issues.apache.org/jira/browse/CTAKES-76?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13712600#comment-13712600
] 

Pei Chen commented on CTAKES-76:
--------------------------------

I tried updating the pom to use:
Description         Resource             Path       Location               Type
ArtifactDescriptorException: Failed to read artifact descriptor for org.mitre:jcarafe-core_2.9.1:jar:0.9.8.2:
ArtifactResolutionException: Failure to transfer org.mitre:jcarafe-core_2.9.1:pom:0.9.8.2
from http://rcf.mitre.org/project/chatter/repo/ was cached in the local repository, resolution
will not be reattempted until the update interval of mitrechatterrepository has elapsed or
updates are forced. Original error: Could not transfer artifact org.mitre:jcarafe-core_2.9.1:pom:0.9.8.2
from/to mitrechatterrepository (http://rcf.mitre.org/project/chatter/repo/): null to http://rcf.mitre.org/project/chatter/repo/org/mitre/jcarafe-core_2.9.1/0.9.8.2/jcarafe-core_2.9.1-0.9.8.2.pom
               pom.xml              /ctakes-assertion             line 1     Maven Dependency
Problem

              <dependency>
                     <groupId>net.sf.mastif</groupId>
                     <artifactId>mastif-i2b2</artifactId>
                     <version>1.4</version>
              </dependency>
              <dependency>
                     <groupId>net.sf.mastif</groupId>
                     <artifactId>mastif-zoner</artifactId>
                     <version>1.4</version>
              </dependency>
              <dependency>
                     <groupId>net.sf.carafe.jcarafe</groupId>
                     <artifactId>jcarafe-core_2.9.1</artifactId>
                     <version>0.9.8.3.RC4</version>
              </dependency>
              <dependency>
                     <groupId>net.sf.carafe.jcarafe</groupId>
                     <artifactId>jcarafe-ext_2.9.1</artifactId>
                     <version>0.9.8.3.RC4</version>
              </dependency>        

                
> get third party dependencies into Maven Central
> -----------------------------------------------
>
>                 Key: CTAKES-76
>                 URL: https://issues.apache.org/jira/browse/CTAKES-76
>             Project: cTAKES
>          Issue Type: Bug
>            Reporter: Steven Bethard
>            Priority: Blocker
>             Fix For: 3.1
>
>
> There are lots of third party dependencies in cTAKES that aren't in Maven Central, e.g.
> OpenAI_FSM.jar
> FindStructAPI.jar
> SQLWrapper.jar
> lvg2010dist.jar
> med-facts-i2b2-1.2-SNAPSHOT.jar
> med-facts-zoner-1.1.jar
> jcarafe-core_2.9.1-0.9.8.3.RC4.jar
> jcarafe-ext_2.9.1-0.9.8.3.RC4.jar
> These are currently all referenced like:
> 	<dependency>
> 		...
> 		<scope>system</scope>
> 		<systemPath>${project.basedir}/lib/OpenAI_FSM.jar</systemPath>
> 	</dependency>
> Now, when we release cTAKES, anyone who declares a Maven dependency on cTAKES will get
errors, since none of these jars will be present.
> To fix this, we need to upload the third party jars to Maven Central. Full instructions
are here:
> https://docs.sonatype.org/display/Repository/Uploading+3rd-party+Artifacts+to+The+Central+Repository
> Essentially, you create a minimal pom.xml for each library, and then run:
> mvn source:jar javadoc:jar package gpg:sign repository:bundle-create

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message