Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

atlas-package error: Found a type annotated as a component, but the type is not a concrete class. NOT adding to index file!! #2

Closed
iehyxue opened this issue Oct 20, 2016 · 0 comments
Assignees

Comments

@iehyxue
Copy link

iehyxue commented Oct 20, 2016

`C:\Users\xuehaoyuan\Downloads\onlyoffice-confluence-master>atlas-package
Executing: "C:\Applications\Atlassian\atlassian-plugin-sdk-6.2.9\apache-maven-3.2.1\bin\mvn.bat" package -gs C:\Applications\Atlassian\atlassian-plugin-sdk-6.2.9\apache-maven-3.2.1/conf/settings.xml
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0
[INFO] Scanning for projects...
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ONLYOFFICE Confluence plugin 1.0.0
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for com.atlassian.analytics:analytics-api:jar:5.0.2-hashfix is missing, no dependency information available
[INFO]
[INFO] --- maven-confluence-plugin:6.2.1:compress-resources (default-compress-resources) @ onlyoffice-confluence-plugin ---
[WARNING] File encoding has not been set, using platform encoding GBK, i.e. build is platform dependent!
[INFO] Compiling javascript using YUI
[INFO] 0 Javascript file(s) were minified into target directory C:\Users\xuehaoyuan\Downloads\onlyoffice-confluence-master\target\classes
[INFO] 0 CSS file(s) were minified into target directory C:\Users\xuehaoyuan\Downloads\onlyoffice-confluence-master\target\classes
[INFO] Compressing XML files
[INFO] 0 XML file(s) were minified into target directory C:\Users\xuehaoyuan\Downloads\onlyoffice-confluence-master\target\classes
[INFO]
[INFO] --- maven-resources-plugin:3.0.1:resources (default-resources) @ onlyoffice-confluence-plugin ---
[WARNING] Using platform encoding (GBK actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 15 resources
[INFO]
[INFO] --- maven-confluence-plugin:6.2.1:filter-plugin-descriptor (default-filter-plugin-descriptor) @ onlyoffice-confluence-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ onlyoffice-confluence-plugin ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-confluence-plugin:6.2.1:generate-rest-docs (default-generate-rest-docs) @ onlyoffice-confluence-plugin ---
[INFO]
[INFO] --- atlassian-spring-scanner-maven-plugin:1.2.6:atlassian-spring-scanner (default) @ onlyoffice-confluence-plugin ---
[INFO] Starting Atlassian Spring Byte Code Scanner...
[INFO]
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.imports.RefappImport] annotated as a component, but the type is not a concrete class. NOT adding to index file!!
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.imports.JiraImport] annotated as a component, but the type is not a concrete class. NOT adding to index file!!
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.imports.ConfluenceImport] annotated as a component, but the type is not a concrete class. NOT adding to index file!!
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.export.ModuleType] annotated as a component, but the type is not a concrete class. NOT adding to index file!!
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.component.RefappComponent] annotated as a component, but the type is not a concrete class. NOT adding to index file!!
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.component.JiraComponent] annotated as a component, but the type is not a concrete class. NOT adding to index file!!
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.component.ConfluenceComponent] annotated as a component, but the type is not a concrete class. NOT adding to index file!!
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.component.ClasspathComponent] annotated as a component, but the type is not a concrete class. NOT adding to index file!!
[INFO]
[INFO] Analysis ran in 530 ms.
[INFO] Encountered 41 total classes
[INFO] Processed 0 annotated classes
[INFO]
[INFO] --- maven-resources-plugin:3.0.1:testResources (default-testResources) @ onlyoffice-confluence-plugin ---
[WARNING] Using platform encoding (GBK actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\Users\xuehaoyuan\Downloads\onlyoffice-confluence-master\src\test\resources
[INFO]
[INFO] --- maven-confluence-plugin:6.2.1:filter-test-plugin-descriptor (default-filter-test-plugin-descriptor) @ onlyoffice-confluence-plugin ---
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ onlyoffice-confluence-plugin ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-confluence-plugin:6.2.1:unit-test (default-unit-test) @ onlyoffice-confluence-plugin ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-confluence-plugin:6.2.1:copy-bundled-dependencies (default-copy-bundled-dependencies) @ onlyoffice-confluence-plugin ---
[INFO] atlassian-spring-scanner-runtime-1.2.6.jar already exists in destination.
[INFO] atlassian-spring-scanner-annotation-1.2.6.jar already exists in destination.
[INFO]
[INFO] --- maven-confluence-plugin:6.2.1:copy-test-bundled-dependencies (default-copy-test-bundled-dependencies) @ onlyoffice-confluence-plugin ---
[INFO]
[INFO] --- maven-confluence-plugin:6.2.1:generate-manifest (default-generate-manifest) @ onlyoffice-confluence-plugin ---
[INFO] Generating a manifest for this plugin
[INFO] using maven-bundle-plugin v2.5.3
[INFO]
[INFO] --- maven-confluence-plugin:6.2.1:generate-test-manifest (default-generate-test-manifest) @ onlyoffice-confluence-plugin ---
[INFO]
[INFO] --- maven-confluence-plugin:6.2.1:validate-manifest (default-validate-manifest) @ onlyoffice-confluence-plugin ---
[INFO] Manifest found, validating...
[WARNING] The manifest should contain versions for all imports to prevent ambiguity at install time due to multiple versions of a package. Here are some suggestions for the maven-confluence-plugin configuration generated for this project to start from:



org.springframework.context.annotation;version="0.0.0",
org.springframework.beans;version="0.0.0",
org.w3c.dom;version="0.0.0",
javax.servlet.http;version="0.0.0",
com.atlassian.confluence.;version="0.0.0",
com.atlassian.spring.container;version="0.0.0",
com.google.common.
;version="0.0.0",
org.apache.commons.;version="0.0.0",
org.eclipse.gemini.blueprint.service.
;version="0.0.0",
javax.xml.parsers;version="0.0.0",
org.osgi.util.tracker;version="0.0.0",
org.osgi.framework;version="0.0.0",
javax.servlet;version="0.0.0",
org.json;version="0.0.0",
org.springframework.osgi.service.;version="0.0.0",
org.springframework.stereotype;version="0.0.0",
org.xml.sax;version="0.0.0",
org.springframework.beans.factory
;version="0.0.0",
com.atlassian.user;version="0.0.0",
org.springframework.util;version="0.0.0",
com.atlassian.plugin.*;version="0.0.0",
org.apache.log4j;version="0.0.0",
com.atlassian.plugin;version="0.0.0"



You may notice many packages you weren't expecting. This is usually because of a bundled jar that references packages that don't apply. You can usually remove these or if necessary, mark them as optional by adding ';resolution:=optional' to the package import. Packages that are detected as version '0.0.0' usually mean either they are JDK packages or ones that aren't referenced in your project, and therefore, likely candidates for removal entirely.
[INFO] Manifest validated
[INFO]
[INFO] --- maven-confluence-plugin:6.2.1:jar (default-jar) @ onlyoffice-confluence-plugin ---
[INFO] Building jar: C:\Users\xuehaoyuan\Downloads\onlyoffice-confluence-master\target\onlyoffice-confluence-plugin-1.0.0.jar
[INFO]
[INFO] --- maven-confluence-plugin:6.2.1:generate-obr-artifact (default-generate-obr-artifact) @ onlyoffice-confluence-plugin ---
[INFO] using maven-bundle-plugin v2.5.3
[INFO] Installing onlyoffice-confluence-plugin-1.0.0.jar
[INFO] Writing OBR metadata
[INFO] Building jar: C:\Users\xuehaoyuan\Downloads\onlyoffice-confluence-master\target\onlyoffice-confluence-plugin-1.0.0.obr
[INFO]
[INFO] --- maven-confluence-plugin:6.2.1:validate-test-manifest (default-validate-test-manifest) @ onlyoffice-confluence-plugin ---
[INFO]
[INFO] --- maven-confluence-plugin:6.2.1:test-jar (default-test-jar) @ onlyoffice-confluence-plugin ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27.218 s
[INFO] Finished at: 2016-10-20T10:20:22+08:00
[INFO] Final Memory: 32M/90M
[INFO] ------------------------------------------------------------------------
C:\Users\xuehaoyuan\Downloads\onlyoffice-confluence-master>

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants