Package org.apache.felix.scrplugin

Examples of org.apache.felix.scrplugin.Options


        project.setDependencies(scanner.getDependencies());
        project.setSources(scanner.getSources());
        project.setClassesDirectory(this.project.getBuild().getOutputDirectory());

        // create options
        final Options options = new Options();
        options.setOutputDirectory(outputDirectory);
        options.setGenerateAccessors(generateAccessors);
        options.setStrictMode(strictMode);
        options.setProperties(properties);
        options.setSpecVersion(SpecVersion.fromName(specVersion));
        options.setIncremental(this.buildContext.isIncremental());
        options.setSkipVolatileCheck(this.skipVolatileCheck);

        if ( specVersion != null && options.getSpecVersion() == null ) {
            throw new MojoExecutionException("Unknown spec version specified: " + specVersion);
        }

        try {
View Full Code Here


            project.setDependencies(getDependencies(classPath));
            project.setSources(getSourceFiles(getImplicitFileSet()));
            project.setClassesDirectory(destdir.getAbsolutePath());

            // create options
            final Options options = new Options();
            options.setOutputDirectory(destdir);
            options.setGenerateAccessors(generateAccessors);
            options.setStrictMode(strictMode);
            options.setProperties(new HashMap<String, String>());
            options.setSpecVersion(SpecVersion.fromName(specVersion));
            if ( specVersion != null && options.getSpecVersion() == null ) {
                throw new BuildException("Unknown spec version specified: " + specVersion);
            }

            final SCRDescriptorGenerator generator = new SCRDescriptorGenerator( scrLog );
View Full Code Here

      project.setDependencies(getDependencies(analyzer));
      project.setSources(getClassFiles(analyzer));
      project.setClassesDirectory(destDir.getAbsolutePath());

      // create options
      final Options options = new Options();
      options.setOutputDirectory(destDir);
      options.setGenerateAccessors(generateAccessor);
      options.setStrictMode(strictMode);
      options.setProperties(new HashMap<String, String>());
      options.setSpecVersion(specVersion);

      final SCRDescriptorGenerator generator = new SCRDescriptorGenerator(
          log);

      // setup from plugin configuration
View Full Code Here

TOP

Related Classes of org.apache.felix.scrplugin.Options

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.