Hi, I am learning and using SDK to develop a plugin for bamboo.
When I atlas-package in my helloword project, it build successfully, but there is no jar file in the target directory.
I can export the jar file from the eclipse and it works, but I can never use atlas-package to create the jar. Why the atlas-package does not work? I need help, thanks.
[INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for helloworld:helloworld:pom:1.0.0 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-comp iler-plugin is missing. @ line 76, column 21 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten t he stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support buildin g such malformed projects. [WARNING] [INFO] [INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethrea ded.SingleThreadedBuilder with a thread count of 1 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building helloworld 1.0.0 [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.710 s [INFO] Finished at: 2015-03-25T10:20:05-07:00 [INFO] Final Memory: 10M/149M [INFO] ------------------------------------------------------------------------
Can you post the pom.xml ? Does anything get created in the target folder? Which SDK version are you using?
Thanks, I have figured out that: in my pom.xml, if I keep the <packaging>atlassian-plugin</packaging> element as this package, it will create the jar. If I change the packaging to something else such as pom or war, it will not create the jar file. That is really strange. because "-" cannot be part of a package name.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
packaging doesn't mean package name - it's how maven should 'package' it. atlassian-plugin adds a bunch of magic related to usage manifest generation which Maven won't normally do.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, I have figured out that: in my pom.xml, if I keep the <packaging>atlassian-plugin</packaging> element as this package, it will create the jar. If I change the packaging to something else such as pom or war, it will not create the jar file. That is really strange. because "-" cannot be part of a package name.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.