[jbosstools-issues] [JBoss JIRA] (JBIDE-19169) use Tycho 0.22 to build JBT 4.2.3 / JBDS 8.1.0

Nick Boldt (JIRA) issues at jboss.org
Thu Feb 5 16:39:49 EST 2015


    [ https://issues.jboss.org/browse/JBIDE-19169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13038108#comment-13038108 ] 

Nick Boldt commented on JBIDE-19169:
------------------------------------

If I enable create-full-site in the root pom, JBDS 8.1.0 fails to build:

{code}
$➔ gd
diff --git a/p2-director/pom.xml b/p2-director/pom.xml
index ff3e775..b7d8fd6 100644
--- a/p2-director/pom.xml
+++ b/p2-director/pom.xml
@@ -21,7 +21,6 @@
          <plugin>
            <groupId>org.jboss.tools.tycho-plugins</groupId>
            <artifactId>repository-utils</artifactId>
-           <version>0.19.0-SNAPSHOT</version>
          </plugin>
        </plugins>
   </build>
diff --git a/pom.xml b/pom.xml
index 626aef3..067fe7a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -74,6 +74,21 @@
           </execution>
         </executions>
       </plugin>
+
+      <plugin>
+        <groupId>org.jboss.tools.tycho-plugins</groupId>
+        <artifactId>repository-utils</artifactId>
+        <executions>
+           <execution>
+            <id>generate-full-site</id>
+            <phase>package</phase>
+            <goals>
+              <goal>create-full-site</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+
       <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-enforcer-plugin</artifactId>
{code}

{code}
 mvn clean install -Dtycho.localArtifacts=ignore -DskipTests

[INFO] installer ......................................... FAILURE [4.845s]
[INFO] JBoss Developer Studio Sources .................... SKIPPED
[INFO] JBoss Developer Studio Build Results .............. SKIPPED

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-publisher-plugin:0.22.0:publish-products (default-publish-products) on project installer: Execution default-publish-products of goal org.eclipse.tycho:tycho-p2-publisher-plugin:0.22.0:publish-products failed: org.eclipse.equinox.p2.core.ProvisionException: Unable to read repository at file:/home/nboldt/eclipse/workspace-jboss/jbdevstudio-github-42x/jbdevstudio-product/installer/target/. No repository found at file:/home/nboldt/eclipse/workspace-jboss/jbdevstudio-github-42x/jbdevstudio-product/installer/target/jbds/. -> [Help 1]
{code}

So... I think it's better to enable it ONLY for the sites we want to create-full-site on, or else figure out a way to disable it for the installer/pom.xml.

> use Tycho 0.22 to build JBT 4.2.3 / JBDS 8.1.0
> ----------------------------------------------
>
>                 Key: JBIDE-19169
>                 URL: https://issues.jboss.org/browse/JBIDE-19169
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: build
>    Affects Versions: 4.2.1.Final
>            Reporter: Nick Boldt
>            Assignee: Mickael Istria
>             Fix For: 4.2.3.Beta1
>
>
> Tycho 0.22 is out; we should use it to build JBT 4.3/JBDS 9, and see what new fun goodies we can take advantage of, too.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)



More information about the jbosstools-issues mailing list