Bug 471971 - RuntimeError when trying to install project into local repository. Error caused by class org.eclipse.tycho.p2
Summary: RuntimeError when trying to install project into local repository. Error caus...
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Tycho (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-06 15:58 EDT by Quentin Fulsher CLA
Modified: 2021-04-28 16:53 EDT (History)
2 users (show)

See Also:


Attachments
debug log (53.47 KB, text/x-log)
2015-07-06 15:58 EDT, Quentin Fulsher CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Quentin Fulsher CLA 2015-07-06 15:58:59 EDT
Created attachment 254992 [details]
debug log

Trying to install a project into my local repo, when I run "mvn clean install" I get this error. The project is an eclipse plugin. I opened a bug report with maven; a developer told me that maven wasn't the culprit and to contact you guys. 

debug log is attached. (mvn -X clean install)
Comment 1 Igor Fedorenko CLA 2015-07-06 16:49:12 EDT
You are using old version 0.15 of Tycho according to the log. It can't consume artifacts signed by recent JDK versions.
Comment 2 Quentin Fulsher CLA 2015-07-06 17:48:30 EDT
@Igor How do you update tycho to a newer version on eclipse?
Comment 3 Martin Schreiber CLA 2015-07-07 01:23:33 EDT
(In reply to Quentin Fulsher from comment #2)
> @Igor How do you update tycho to a newer version on eclipse?

In one of your pom.xml files (if you do have more than one it might be in the parent pom) you must have something like this to enable tycho:
   <build>
      <plugins>
         <plugin>
            <groupId>org.eclipse.tycho</groupId>
            <artifactId>tycho-maven-plugin</artifactId>
            <version>0.15.0</version>
            <extensions>true</extensions>
         </plugin>
      </plugins>
   </build>

Maybe your pom is using a variable:

   <properties>
      <tycho-version>0.15.0</tycho-version>
   </properties>

   <build>
      <plugins>
         <plugin>
            <groupId>org.eclipse.tycho</groupId>
            <artifactId>tycho-maven-plugin</artifactId>
            <version>${tycho-version}</version>
            <extensions>true</extensions>
         </plugin>
      </plugins>
   </build>

Try to update this version to 0.23.0
Details how to enable Tycho could be found here:

https://wiki.eclipse.org/Tycho/Reference_Card
Comment 4 Mickael Istria CLA 2021-04-08 18:06:02 EDT
Eclipse Tycho is moving away from this bugs.eclipse.org issue tracker to https://github.com/eclipse/tycho/issues/ instead. If this issue is relevant to you, your action is required.
0. Verify this issue is still happening with latest Tycho 2.4.0-SNAPSHOT
  if issue has disappeared, please change status of this issue to "CLOSED WORKFORME" with some details about your testing environment and how you did verify the issue; and you're done
  if issue is still present when latest release:
* Create a new issue at https://github.com/eclipse/tycho/issues/
  ** Use as title in GitHub the title of this Bugzilla ticket (may include the bug number or not, at your own convenience)
  ** In the GitHub description, start with a link to this bugzilla ticket
  ** Optionally add new content to the description if it can helps towards resolution
  ** Submit GitHub issue
* Update bugzilla ticket
  ** Add to "See also" property (up right column) the link to the newly created GitHub issue
  ** Add a comment "Migrated to <link-to-newly-created-GitHub-issue>"
  ** Set status as CLOSED MOVED
  ** Submit

All issues that remain open will be automatically closed next week or so. Then the Bugzilla component for Tycho will be archived and made read-only.