Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Help guys pls!!!

Vladimir August 6, 2018

[INFO] Total time: 58.287 s
[INFO] Finished at: 2018-08-07T08:32:19+03:00
[INFO] Final Memory: 29M/126M
[INFO] ------------------------------------------------------------------------
c:\jiralive\test1>atlas-package
Executing: "C:\Applications\Atlassian\atlassian-plugin-sdk-6.3.10\apache-maven-3
.2.1\bin\mvn.bat" package -gs C:\Applications\Atlassian\atlassian-plugin-sdk-6.3
.10\apache-maven-3.2.1/conf/settings.xml
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; sup
port was removed in 8.0
[INFO] Scanning for projects...
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethrea
ded.SingleThreadedBuilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building test1 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-jira-plugin:6.3.15:compress-resources (default-compress-resourc
es) @ test1 ---
[INFO] Compiling javascript using YUI
[INFO] 0 Javascript file(s) were minified into target directory c:\jiralive\test
1\target\classes
[INFO] 0 CSS file(s) were minified into target directory c:\jiralive\test1\targe
t\classes
[INFO] Compressing XML files
[INFO] 0 XML file(s) were minified into target directory c:\jiralive\test1\targe
t\classes
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ test1 --
-
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 10 resources
[INFO]
[INFO] --- maven-jira-plugin:6.3.15:filter-plugin-descriptor (default-filter-plu
gin-descriptor) @ test1 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ test1 ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-jira-plugin:6.3.15:generate-rest-docs (default-generate-rest-do
cs) @ test1 ---
[INFO]
[INFO] --- atlassian-spring-scanner-maven-plugin:1.2.13:atlassian-spring-scanner
(default) @ test1 ---
[INFO] Starting Atlassian Spring Byte Code Scanner...
[INFO]
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.imports.Sta
shImport] annotated as a component, but the type is not a concrete class. NOT ad
ding to index file!!
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.imports.Ref
appImport] annotated as a component, but the type is not a concrete class. NOT a
dding to index file!!
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.imports.Jir
aImport] annotated as a component, but the type is not a concrete class. NOT add
ing to index file!!
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.imports.Fec
ruImport] annotated as a component, but the type is not a concrete class. NOT ad
ding to index file!!
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.imports.Con
fluenceImport] annotated as a component, but the type is not a concrete class. N
OT adding to index file!!
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.imports.Bit
bucketImport] annotated as a component, but the type is not a concrete class. NO
T adding to index file!!
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.imports.Bam
booImport] annotated as a component, but the type is not a concrete class. NOT a
dding to index file!!
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.export.Modu
leType] annotated as a component, but the type is not a concrete class. NOT addi
ng to index file!!
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.component.S
tashComponent] annotated as a component, but the type is not a concrete class. N
OT adding to index file!!
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.component.R
efappComponent] 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.J
iraComponent] annotated as a component, but the type is not a concrete class. NO
T adding to index file!!
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.component.F
ecruComponent] annotated as a component, but the type is not a concrete class. N
OT adding to index file!!
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.component.C
onfluenceComponent] annotated as a component, but the type is not a concrete cla
ss. NOT adding to index file!!
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.component.C
lasspathComponent] annotated as a component, but the type is not a concrete clas
s. NOT adding to index file!!
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.component.B
itbucketComponent] annotated as a component, but the type is not a concrete clas
s. NOT adding to index file!!
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.component.B
ambooComponent] annotated as a component, but the type is not a concrete class.
NOT adding to index file!!
[INFO]
[INFO] Analysis ran in 4037 ms.
[INFO] Encountered 562 total classes
[INFO] Processed 2 annotated classes
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @
test1 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-jira-plugin:6.3.15:filter-test-plugin-descriptor (default-filte
r-test-plugin-descriptor) @ test1 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ test1
---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-jira-plugin:6.3.15:unit-test (default-unit-test) @ test1 ---
[INFO] Surefire report directory: c:\jiralive\test1\target\surefire-reports

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running ut.test.jira.webwork.TestFunctionActionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.084 sec
Running ut.test2.MyComponentUnitTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec

Results :

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

[INFO]
[INFO] --- maven-jira-plugin:6.3.15:copy-bundled-dependencies (default-copy-bund
led-dependencies) @ test1 ---
[INFO] gson-2.2.2-atlassian-1.jar already exists in destination.
[INFO] atlassian-spring-scanner-runtime-1.2.13.jar already exists in destination
.
[INFO] atlassian-spring-scanner-annotation-1.2.13.jar already exists in destinat
ion.
[INFO] mssql-jdbc-6.4.0.jre8.jar already exists in destination.
[INFO]
[INFO] --- maven-jira-plugin:6.3.15:copy-test-bundled-dependencies (default-copy
-test-bundled-dependencies) @ test1 ---
[INFO] atlassian-mail-2.8.6.jar already exists in destination.
[INFO] entityengine-1.3.4.jar already exists in destination.
[INFO] atlassian-plugins-osgi-testrunner-1.2.3.jar already exists in destination
.
[INFO] atlassian-application-api-1.2.jar already exists in destination.
[INFO] javax.mail-1.5.6.jar already exists in destination.
[INFO] commons-beanutils-1.6.1.jar already exists in destination.
[INFO] atlassian-collectors-util-1.1.jar already exists in destination.
[INFO] webwork-1.4-atlassian-30.jar already exists in destination.
[INFO] closure-compiler-v20151216.jar already exists in destination.
[INFO] velocity-htmlsafe-1.4.jar already exists in destination.
[INFO] atlassian-annotations-1.1.0.jar already exists in destination.
[INFO] jsr305-3.0.0.jar already exists in destination.
[INFO] atlassian-profiling-1.9.jar already exists in destination.
[INFO] httpclient-4.1.1.jar already exists in destination.
[INFO] atlassian-plugin-point-safety-0.10.jar already exists in destination.
[INFO] upm-api-2.15.jar already exists in destination.
[INFO] beehive-api-1.1.0.jar already exists in destination.
[INFO] imageio-metadata-3.2.jar already exists in destination.
[INFO] commons-logging-1.1.1.jar already exists in destination.
[INFO] atlassian-cache-api-2.13.7.jar already exists in destination.
[INFO] javax.servlet-api-3.0.1.jar already exists in destination.
[INFO] common-io-3.2.jar already exists in destination.
[INFO] applinks-api-5.4.1.jar already exists in destination.
[INFO] common-lang-3.2.jar already exists in destination.
[INFO] atlassian-plugins-webresource-api-3.5.39.jar already exists in destinatio
n.
[INFO] wink-common-1.1.3-incubating.jar already exists in destination.
[INFO] javax.mail-api-1.5.6.jar already exists in destination.
[INFO] jira-api-7.7.1.jar already exists in destination.
[INFO] atlassian-extras-3.2.jar already exists in destination.
[INFO] validation-api-1.1.0.Final.jar already exists in destination.
[INFO] fugue-2.6.0.jar already exists in destination.
[INFO] jfreechart-1.0.13.jar already exists in destination.
[INFO] atlassian-plugins-webresource-compiler-gcc-3.5.39.jar already exists in d
estination.
[INFO] imageio-jpeg-3.2.jar already exists in destination.
[INFO] jaxb-impl-2.2.1.1.jar already exists in destination.
[INFO] atlassian-core-user-5.0.8.jar already exists in destination.
[INFO] analytics-api-5.3.1.jar already exists in destination.
[INFO] commons-digester-1.4.1.jar already exists in destination.
[INFO] atlassian-tenancy-api-1.4.0.jar already exists in destination.
[INFO] commons-lang-2.6.jar already exists in destination.
[INFO] activation-1.1.jar already exists in destination.
[INFO] commons-io-2.1.jar already exists in destination.
[INFO] common-image-3.2.jar already exists in destination.
[INFO] imageio-tiff-3.2.jar already exists in destination.
[INFO] oro-2.0.7.jar already exists in destination.
[INFO] jsr311-api-1.1.1.jar already exists in destination.
[INFO] atlassian-plugins-webresource-spi-3.5.39.jar already exists in destinatio
n.
[INFO] commons-codec-1.4.jar already exists in destination.
[INFO] entityengine-share-1.3.4.jar already exists in destination.
[INFO] log4j-1.2.16.jar already exists in destination.
[INFO] pell-multipart-request-1.31.0.jar already exists in destination.
[INFO] javax.inject-1.jar already exists in destination.
[INFO] upgrade-task-framework-api-2.0.2.jar already exists in destination.
[INFO] urlrewritefilter-4.0.4.jar already exists in destination.
[INFO] jcommon-1.0.8.jar already exists in destination.
[INFO] jaxen-1.0-FCS.jar already exists in destination.
[INFO] stax-api-1.0-2.jar already exists in destination.
[INFO] slf4j-api-1.6.6.jar already exists in destination.
[INFO] guava-18.0.jar already exists in destination.
[INFO] httpcore-4.1.jar already exists in destination.
[INFO] atlassian-core-5.0.8.jar already exists in destination.
[INFO] joda-time-2.8.2.jar already exists in destination.
[INFO] atlassian-util-concurrent-0.0.12.jar already exists in destination.
[INFO] geronimo-annotation_1.1_spec-1.0.jar already exists in destination.
[INFO] atlassian-instrumentation-core-2.2.2.jar already exists in destination.
[INFO] xercesImpl-2.4.0.jar already exists in destination.
[INFO] hamcrest-core-1.1.jar already exists in destination.
[INFO] atlassian-spring-scanner-runtime-1.2.13.jar already exists in destination
.
[INFO] jta-1.0.1.jar already exists in destination.
[INFO] atlassian-velocity-1.3.jar already exists in destination.
[INFO] xml-apis-1.0.b2.jar already exists in destination.
[INFO] isorelax-20020414.jar already exists in destination.
[INFO] embedded-crowd-api-2.10.2-rc04.jar already exists in destination.
[INFO] commons-pool-1.5.4.jar already exists in destination.
[INFO] imageio-core-3.2.jar already exists in destination.
[INFO] jackson-mapper-asl-1.9.13-atlassian-1.jar already exists in destination.
[INFO] dom4j-1.4.jar already exists in destination.
[INFO] sal-api-3.1.0.jar already exists in destination.
[INFO] wink-client-1.1.3-incubating.jar already exists in destination.
[INFO] atlassian-plugins-webfragment-api-4.1.0.jar already exists in destination
.
[INFO] commons-collections-3.1.jar already exists in destination.
[INFO] sourcemap-1.7.6.jar already exists in destination.
[INFO] atlassian-html-encoder-1.4.jar already exists in destination.
[INFO] atlassian-event-2.3.2.jar already exists in destination.
[INFO] commons-lang3-3.3.2.jar already exists in destination.
[INFO] saxpath-1.0-FCS.jar already exists in destination.
[INFO] atlassian-johnson-core-3.4.0.jar already exists in destination.
[INFO] atlassian-core-thumbnail-5.0.8.jar already exists in destination.
[INFO] osworkflow-2.9.0-atlassian-1.jar already exists in destination.
[INFO] mssql-jdbc-6.4.0.jre8.jar already exists in destination.
[INFO] atlassian-plugins-api-4.5.0.jar already exists in destination.
[INFO] velocity-1.6.4.jar already exists in destination.
[INFO] atlassian-scheduler-api-1.7.0.jar already exists in destination.
[INFO] atlassian-threadlocal-1.3.jar already exists in destination.
[INFO] jaxb-api-2.2.jar already exists in destination.
[INFO] atlassian-plugins-webresource-3.5.39.jar already exists in destination.
[INFO] atlassian-gadgets-api-4.2.21.jar already exists in destination.
[INFO] relaxngDatatype-20020414.jar already exists in destination.
[INFO] commons-httpclient-3.1-atlassian-2.jar already exists in destination.
[INFO] propertyset-1.5.jar already exists in destination.
[INFO] mockito-all-1.8.5.jar already exists in destination.
[INFO] atlassian-spring-scanner-annotation-1.2.13.jar already exists in destinat
ion.
[INFO] atlassian-image-consumer-1.0.1.jar already exists in destination.
[INFO] jackson-core-asl-1.9.13-atlassian-1.jar already exists in destination.
[INFO] gson-2.2.2-atlassian-1.jar already exists in destination.
[INFO] atlassian-plugins-webfragment-4.1.0.jar already exists in destination.
[INFO] msv-20020414.jar already exists in destination.
[INFO] oscore-2.2.7.jar already exists in destination.
[INFO] atlassian-plugins-servlet-3.2.8.jar already exists in destination.
[INFO]
[INFO] --- maven-jira-plugin:6.3.15:generate-manifest (default-generate-manifest
) @ test1 ---
[INFO] Generating a manifest for this plugin
[INFO] using maven-bundle-plugin v2.5.3
[INFO]
[INFO] --- maven-jira-plugin:6.3.15:generate-test-manifest (default-generate-tes
t-manifest) @ test1 ---
[INFO]
[INFO] --- maven-jira-plugin:6.3.15:validate-manifest (default-validate-manifest
) @ test1 ---
[INFO] Manifest found, validating...
[INFO] Manifest validated
[INFO]
[INFO] --- maven-jira-plugin:6.3.15:jar (default-jar) @ test1 ---
[INFO] Building jar: c:\jiralive\test1\target\test1-1.0.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-jira-plugin:6.3.15:generate-obr-artifact (default-generate-obr-
artifact) @ test1 ---
[INFO] using maven-bundle-plugin v2.5.3
[INFO] Installing test1-1.0.0-SNAPSHOT.jar
[INFO] Writing OBR metadata
[INFO] Building jar: c:\jiralive\test1\target\test1-1.0.0-SNAPSHOT.obr
[INFO]
[INFO] --- maven-jira-plugin:6.3.15:validate-test-manifest (default-validate-tes
t-manifest) @ test1 ---
[INFO] Manifest found, validating...
[INFO] Manifest validated
[INFO]
[INFO] --- maven-jira-plugin:6.3.15:test-jar (default-test-jar) @ test1 ---
[INFO] found Test: it.test2.MyComponentWiredTest, adding to plugin.xml...
[INFO] Building jar: c:\jiralive\test1\target\test1-1.0.0-SNAPSHOT-tests.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 33.951 s
[INFO] Finished at: 2018-08-07T08:53:45+03:00
[INFO] Final Memory: 27M/243M
[INFO] ------------------------------------------------------------------------

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 7, 2018

You get a build success, so I can only assume something is not working in your add-on when you test it, and you suspect it's down to one of the warnings or errors in the log?

Could you explain what the fault is?  Or are you just worried about the block of spring errors?

Vladimir August 8, 2018

After executing the atlas-run command from the directory with the add-on, the add-on is not connected.

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 8, 2018

What do you mean by "not connected"?

Vladimir August 8, 2018

After connecting the add-on writes "failed to enable this add-on"

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 9, 2018

Where do you see this message?

What do you see when you go to admin -> manage add-ons and look at the add-on?

Vladimir August 16, 2018

I connect the add - on via administration-plugins-load plugins. After this action, you receive a message that the plugin is not connected.

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 16, 2018

I'm sorry,  but you seem to be swapping between error messages and processes, which is confusing.

When you use atlas-run, the add-on you have built should be installed automatically.   I guess it that is not happening, so I want you to look in "manage add-ons" and tell us what is in there for your add-on.  Try to enable it (or tell us what error message is there telling you you can't do it) and tell us what the single error message you get back is - "not connected", "failed to enable"?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events