lesamly / jcseg

Automatically exported from code.google.com/p/jcseg
0 stars 0 forks source link

话说把jcseg放到自己的maven repository上没问题吧 (已解决) #11

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
为了给maven用,我把jcseg放到了自己的maven repository上
      <repository>
          <id>gjz010</id>
          <name>gjz010's Repo</name>
          <url>http://repo.gjz010.tk/</url>
      </repository>

    <dependency>
      <groupId>com.webssky.jcseg</groupId>
      <artifactId>jcseg-core</artifactId>
      <version>1.8.8</version>
    </dependency>
    <dependency>
      <groupId>com.webssky.jcseg</groupId>
      <artifactId>jcseg-solr</artifactId>
      <version>1.8.8</version>
    </dependency>
    <dependency>
      <groupId>com.webssky.jcseg</groupId>
      <artifactId>jcseg-analyzer</artifactId>
      <version>1.8.8</version>
    </dependency>
这个没问题吧= =

Original issue reported on code.google.com by gjz010...@gmail.com on 6 Aug 2013 at 6:31

GoogleCodeExporter commented 8 years ago
哈, 抱歉, 我很少使用maven管理项目, 所以对maven也不怎么熟悉.

<dependency>
      <groupId>com.webssky.jcseg</groupId>
      <artifactId>jcseg-core</artifactId>
      <version>1.8.8</version>
</dependency>

如果将artifactId和version联合起来就是 jcseg-core1.8.8, 
但是实际文件名应该是jcseg-core-1.8.8,
是否需要将artifactId要改成"jcseg-core-"呢?

类似的jcseg-solr还有jcseg-analyzer应该也需要更改过来.

Original comment by chenxin6...@gmail.com on 6 Aug 2013 at 11:13

GoogleCodeExporter commented 8 years ago
不会的 maven会把它自动理解成${artifactId}-${version}.jar 
也就是自动加上一道横杠
不用修改

Original comment by gjz010...@gmail.com on 8 Aug 2013 at 2:08

GoogleCodeExporter commented 8 years ago
哈, 这样啊.

你现在是这样配置不能正确工作吗???

Original comment by chenxin6...@gmail.com on 8 Aug 2013 at 2:10

GoogleCodeExporter commented 8 years ago

Original comment by chenxin6...@gmail.com on 19 Sep 2013 at 4:43