[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| 
[tycho-user] Newbie has problems with dependencies when migrating a plugin project to tycho maven
 | 
  
  
    Hello together,
      first time using a Mailing List, so please excuse mistakes I'll
      make during my conversation with you.
      
      I'm trying to migrate a Eclipse Plugin Project to Tycho Maven and
      I have done this sucessfully with an simple example project. But
      now I'm stuck during the migration of the actual project. I've
      converted the first Plugin to maven and I'm getting this Error
      trying to run the maven lifecycle. 
    
    
      
        
          [ERROR] Cannot resolve project dependencies: 
            [ERROR]   Software being installed: online.yamm.coreModelXmi
            0.1.0.qualifier 
            [ERROR]   Missing requirement: online.yamm.coreModelXmi
            0.1.0.qualifier requires 'osgi.bundle; jscience 1.0.0' but
            it could not be found 
            [ERROR]  
            [ERROR] See
            http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting
            for help. 
            [...] 
           | 
        
      
    
    So I added the dependency to the corresponding pom.xml file and
      defined a suitable repository. 
    
    
      
        
               <repositories> 
                    <!-- add latest repository to resolve
            dependencies --> 
                    <repository> 
                        <id>Latest</id> 
                        <layout>p2</layout> 
                       
            <url>http://download.eclipse.org/releases/latest/</url> 
                    </repository> 
             
                    <repository> 
                        <id>MVNRepository</id> 
                       
            <url>https://repo1.maven.org/maven2/</url> 
                    </repository> 
                </repositories> 
             
                   [...] 
                   <dependency> 
                        <groupId>org.jscience</groupId> 
                        <artifactId>jscience</artifactId> 
                        <version>4.3.1</version> 
                    </dependency> | 
        
      
    
    But I still get the same error. I have already tried to remove
      the version number of jscience from the MANIFEST.MF 
    
    Can anyone help me with this or link a tutorial?
    With kind regards
    Jannis Brune