Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-13468

Local build fails to resolve org.jboss.tools.tycho-plugins:repository-utils:jar:0.0.1-SNAPSHOT

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 4.1.0.Alpha1
    • 4.1.0.Alpha1
    • build
    • None

      After version was updated from 0.0.1-SNAPSHOT to 0.16.0-SNAPSHOT I cannot build jbosstools repos with submodules like: jbosstools-base, jbosstools-javaee. The reason is jbosstools-javaee/site is still using org.jboss.tools.tycho-plugins:repository-utils:jar:0.0.1-SNAPSHOT. What is happening to me are:

      1. When I am building from scratch with new local repository build cannot resolve org.jboss.tools.tycho-plugins:repository-utils:jar:0.0.1-SNAPSHOT
      2. When I am building org.jboss.tools.tycho-plugins:repository-utils and then build component (for example jbosstools-base) it still cannot resolve org.jboss.tools.tycho-plugins:repository-utils:jar:0.0.1-SNAPSHOT because master now contains different version org.jboss.tools.tycho-plugins:repository-utils:jar:0.16.0-SNAPSHOT.

      It turned out that adding

      <pluginRepository> 
        <id>jboss-releases</id>
        <name>JBoss Releases Maven Repository</name>
        <url>https://repository.jboss.org/nexus/content/repositories/releases/</url>
        <releases>
          <enabled>true</enabled>
        </releases> 
      </pluginRepository>
      <pluginRepository>
        <id>jboss-snapshots-repository</id>
        <name>JBoss Snapshots Repository</name>
        <url>https://repository.jboss.org/nexus/content/repositories/snapshots/</url>
        <snapshots> 
          <enabled>true</enabled>
        </snapshots>
      </pluginRepository>

      into <pluginRepositories> in parent/pm.xml solved all my problems.

      Also it would be good to have tags for previous version so I could easily have it checked out, built and resolved through local repository.

            nivologd@gmail.com Denis Golovin (Inactive)
            nivologd@gmail.com Denis Golovin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: