Problem Building a JIRA Plugin

2011-01-13 Thread Richard Plana
Hi,

I’m trying to use Maven / Eclipse to build a skeleton Atlassian JIRA plugin and 
I'm coming up against some errors. The ff. is what I get in the logs:

13/01/11 3:01:09 MST PM: Maven Builder: FULL_BUILD requireFullBuild
13/01/11 3:01:09 MST PM: [WARN] 
13/01/11 3:01:09 MST PM: [WARN] Some problems were encountered while building 
the effective model for 
com.enabil.jira.plugins:AssignIssueByField:atlassian-plugin:1.0-SNAPSHOT
13/01/11 3:01:09 MST PM: [WARN] 'build.plugins.plugin.version' for 
org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 54, column 21
13/01/11 3:01:09 MST PM: [WARN] 
13/01/11 3:01:09 MST PM: [WARN] It is highly recommended to fix these problems 
because they threaten the stability of your build.
13/01/11 3:01:09 MST PM: [WARN] 
13/01/11 3:01:09 MST PM: [WARN] For this reason, future Maven versions might no 
longer support building such malformed projects.
13/01/11 3:01:09 MST PM: [WARN] 
13/01/11 3:01:10 MST PM: [WARN] The POM for javax.transaction:jta:jar:1.0.1b is 
missing, no dependency information available
13/01/11 3:01:10 MST PM: [WARN] The POM for jndi:jndi:jar:1.2.1 is missing, no 
dependency information available
13/01/11 3:01:10 MST PM: [WARN] The POM for jta:jta:jar:1.0.1 is missing, no 
dependency information available
13/01/11 3:01:10 MST PM: Build errors for AssignIssueByField; 
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
com.atlassian.maven.plugins:maven-jira-plugin:3.2.3:copy-bundled-dependencies 
(default-copy-bundled-dependencies) on project AssignIssueByField: Unable to 
execute mojo

Could someone tell me what the message in line 4 above means? How do I fix the 
missing dependency problem? And for the last line, since it doesn't look 
Maven-specific, could someone tell me how to interpret the message? 
Understanding it will make it easier for me to ask the question from the JIRA 
forums.

Thanks!
--

Richard Plana


Re: Problem Building a JIRA Plugin

2011-01-13 Thread Wayne Fay
 13/01/11 3:01:09 MST PM: [WARN] 'build.plugins.plugin.version' for 
 org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 54, column 
 21

Honestly, read the error and then take a wild guess what this means,
and you are probably correct. (Here's a hint: open the project's
pom.xml file and look around line 54 for a plugin/ declaration that
uses maven-compiler-plugin -- then look for a version/ node. I'm
guessing you won't find one. This is regarded as a problem.)

 13/01/11 3:01:10 MST PM: [WARN] The POM for javax.transaction:jta:jar:1.0.1b 
 is missing, no dependency information available
 13/01/11 3:01:10 MST PM: [WARN] The POM for jndi:jndi:jar:1.2.1 is missing, 
 no dependency information available
 13/01/11 3:01:10 MST PM: [WARN] The POM for jta:jta:jar:1.0.1 is missing, no 
 dependency information available

These jars cannot be distributed by Maven Central due to licensing
constraints. You will need to manually download and install them using
mvn install:install-file.

 13/01/11 3:01:10 MST PM: Build errors for AssignIssueByField; 
 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
 goal 
 com.atlassian.maven.plugins:maven-jira-plugin:3.2.3:copy-bundled-dependencies 
 (default-copy-bundled-dependencies) on project AssignIssueByField: Unable to 
 execute mojo

I am going to guess this mojo failed due to the missing dependencies.
If you fix them, this will probably execute ok. But I am not familiar
with that mojo so I can't say for sure.

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org