Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GoogleCodeExporter opened this issue Mar 9, 2016 · 4 comments

Comments

@GoogleCodeExporter
Copy link
Contributor

为了给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 [email protected] on 6 Aug 2013 at 6:31

@GoogleCodeExporter
Copy link
Contributor Author

哈, 抱歉, 我很少使用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 [email protected] on 6 Aug 2013 at 11:13

@GoogleCodeExporter
Copy link
Contributor Author

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

Original comment by [email protected] on 8 Aug 2013 at 2:08

@GoogleCodeExporter
Copy link
Contributor Author

哈, 这样啊.

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

Original comment by [email protected] on 8 Aug 2013 at 2:10

@GoogleCodeExporter
Copy link
Contributor Author

Original comment by [email protected] on 19 Sep 2013 at 4:43

  • Changed title: 话说把jcseg放到自己的maven repository上没问题吧 (已解决)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant