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

Создание файла pom.xml для функционального модуля #39

Closed
UUSR opened this issue Mar 6, 2016 · 4 comments
Labels

Comments

@UUSR
Copy link

UUSR commented Mar 6, 2016

Файл pom.xml создан для нового модуля "my-brain" ,Eclipse синхронизировал модуль с всеми необходимыми библиотеками.
Возникает вопрос: Синхронизация проекта в Eclipse c установленным плагином EGit со своим Fork на github.com

@UUSR
Copy link
Author

UUSR commented Mar 6, 2016

Ну короче ,мне нужна помощь по составлению файла pom.xml ,вот уперся в репозиторий https://dl.bintray.com/uzyovoys/aggregate
Мой pom.xml выглядит так:
`

<modelVersion>4.0.0</modelVersion>

<groupId>com.aggregate</groupId>
<artifactId>my-brain</artifactId>
<version>0.0.1-SNAPSHOT</version>

<distributionManagement>
    <repository>
        <id>bintray-aggregate</id>
        <url>https://api.bintray.com/maven/uzyovoys/aggregate/my-brain/;publish=1</url>
    </repository>
</distributionManagement>

<dependencies>
    <dependency>
        <groupId>io.vertx</groupId>
        <artifactId>vertx-core</artifactId>
        <version>3.2.1</version>
        <scope>provided</scope>
    </dependency>
    <dependency>
        <groupId>com.aggregate</groupId>
        <artifactId>api</artifactId>
        <version>0.0.1</version>
        <scope>provided</scope>
    </dependency>
</dependencies> 

`
подскажите ,что с репозиторий https://dl.bintray.com/uzyovoys/aggregate, нужно делать для добавления нового модуля?

@morfeusys
Copy link
Contributor

Вместо секции distributionManagement вам нужна секция repositories следующего вида

    <repositories>
        <repository>
            <id>bintray-aggregate</id>
            <url>https://dl.bintray.com/uzyovoys/aggregate</url>
        </repository>
    </repositories>

Секцию distributionManagement уберите полностью.

@UUSR
Copy link
Author

UUSR commented Mar 6, 2016

@morfeusys понял ,убераю.

@ivanbalashov239
Copy link
Contributor

@UUSR вы автор этой issue, можете закрыть её сами.

@UUSR UUSR closed this as completed Mar 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants