Coder Social home page Coder Social logo

fedoraproject-p2's People

Contributors

akurtakov avatar jonahgraham avatar mbooth101 avatar mizdebsk avatar rgrunber avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

fedoraproject-p2's Issues

Port to new XMvn

Next version of XMvn is going to change API, so fedoraproject-p2 will need to be updated to keep working.

Tests are failing on Fedora 22

Failed tests:
ArtifactRepositoryTest.existsFeatureInRepository:98 Artifact Repository must contain an IU referencing an artifact of type org.eclipse.update.feature.
MetadataRepositoryTest.existsFeatureInRepository:107 Metadata Repository must contain an IU referencing an artifact of type org.eclipse.update.feature.
InstallTest.bundleShapeDirUnitInstallTest:84->checkUnitInstallation:110 null

Tests run: 47, Failures: 3, Errors: 0, Skipped: 2

Can't compile project

mvn clean verify
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.fedoraproject.p2:xmvn-p2-installer-plugin:0.0.1-SNAPSHOT (/home/akurtakov/git/fedoraproject-p2/xmvn-p2-installer-plugin/pom.xml) has 7 errors
[ERROR] Non-resolvable import POM: Failure to find org.fedoraproject.xmvn:xmvn-parent:pom:2.4.0 in http://mizdebsk.fedorapeople.org/xmvn/repo/ was cached in the local repository, resolution will not be reattempted until the update interval of xmvn has elapsed or updates are forced @ org.fedoraproject.p2:xmvn-p2-installer-plugin:[unknown-version], /home/akurtakov/git/fedoraproject-p2/xmvn-p2-installer-plugin/pom.xml, line 32, column 19 -> [Help 2]
[ERROR] 'dependencies.dependency.version' for javax.inject:javax.inject:jar is missing. @ org.fedoraproject.p2:xmvn-p2-installer-plugin:[unknown-version], /home/akurtakov/git/fedoraproject-p2/xmvn-p2-installer-plugin/pom.xml, line 47, column 17
[ERROR] 'dependencies.dependency.version' for org.eclipse.sisu:org.eclipse.sisu.inject:jar is missing. @ org.fedoraproject.p2:xmvn-p2-installer-plugin:[unknown-version], /home/akurtakov/git/fedoraproject-p2/xmvn-p2-installer-plugin/pom.xml, line 52, column 17
[ERROR] 'dependencies.dependency.version' for org.sonatype.sisu:sisu-guice:jar:no_aop is missing. @ org.fedoraproject.p2:xmvn-p2-installer-plugin:[unknown-version], /home/akurtakov/git/fedoraproject-p2/xmvn-p2-installer-plugin/pom.xml, line 56, column 17
[ERROR] 'dependencies.dependency.version' for org.fedoraproject.xmvn:xmvn-install:jar is missing. @ org.fedoraproject.p2:xmvn-p2-installer-plugin:[unknown-version], /home/akurtakov/git/fedoraproject-p2/xmvn-p2-installer-plugin/pom.xml, line 66, column 17
[ERROR] 'dependencies.dependency.version' for org.slf4j:slf4j-simple:jar is missing. @ org.fedoraproject.p2:xmvn-p2-installer-plugin:[unknown-version], /home/akurtakov/git/fedoraproject-p2/xmvn-p2-installer-plugin/pom.xml, line 70, column 17
[ERROR] 'dependencies.dependency.version' for com.google.guava:guava:jar is missing. @ org.fedoraproject.p2:xmvn-p2-installer-plugin:[unknown-version], /home/akurtakov/git/fedoraproject-p2/xmvn-p2-installer-plugin/pom.xml, line 74, column 17
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

FedoraBundleRepositoryTest fails when packaged Eclipse is not installed

FedoraBundleRepositoryTest relies on packaged Eclipse to be installed. When that is not the case, the test fails.
The test should use resources included in git repository and not rely system paths such as /usr/share/java/, /etc/java/eclipse.conf and so on.
Alternatively, the test can use JUnit Assume to skip test execution when packaged Eclipse is not installed.

Use standard OSGi API for launching framework

Recent OSGi specification includes standard API to launch OSGi framework. We should try using it for launching Equinox, instead of currently-used non-standard EclipseStarter.

FrameworkFactory frameworkFactory = ServiceLoader.load(FrameworkFactory.class).iterator().next();

Map<String, String> config = new HashMap<String, String>();
config.put(Constants.FRAMEWORK_STORAGE, "/tmp/some/path");
config.put(Constants.FRAMEWORK_STORAGE_CLEAN, Constants.FRAMEWORK_STORAGE_CLEAN_ONFIRSTINIT);
Framework framework = frameworkFactory.newFramework(config);

framework.start();
BundleContext bundleContext = framework.getBundleContext();

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.