You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/08/27 22:24:55 UTC

[jira] [Commented] (ISIS-501) Maven error with DN enhancer: required artifact missing

    [ https://issues.apache.org/jira/browse/ISIS-501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13751671#comment-13751671 ] 

ASF subversion and git services commented on ISIS-501:
------------------------------------------------------

Commit a2b1d3da4665a282ee71277c6c384c19262ede4e in branch refs/heads/master from [~obou]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=a2b1d3d ]

ISIS-501: Maven error with DN enhancer: required artifact missing 

Seems that there has been changes on the DN repositories and/or
dependencies recently. 

The solution is to go to the pom.xml of the "dom" (domain) module and
force the "datanucleus-maven-plugin" to use the jdo-api 3.0.1 version,
instead of the 3.0.1-SNAPSHOT version.


Signed-off-by: OĢscar Bou <o....@gesconsultor.com>
                
> Maven error with DN enhancer: required artifact missing
> -------------------------------------------------------
>
>                 Key: ISIS-501
>                 URL: https://issues.apache.org/jira/browse/ISIS-501
>             Project: Isis
>          Issue Type: Dependency upgrade
>          Components: Objectstore: JDO
>    Affects Versions: objectstore-jdo-1.2.0
>            Reporter: Oscar Bou
>            Assignee: Oscar Bou
>             Fix For: objectstore-jdo-1.2.0
>
>
> Seems that there has been changes on the DN repositories and/or dependencies recently.
> The current snapshot fails to build with message: 
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1:23.839s
> [INFO] Finished at: Tue Aug 27 21:14:03 CEST 2013
> [INFO] Final Memory: 59M/123M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.datanucleus:datanucleus-maven-plugin:3.2.0-release:enhance (default) on project isis-objectstore-jdo-applib: Execution default of goal org.datanucleus:datanucleus-maven-plugin:3.2.0-release:enhance failed: Plugin org.datanucleus:datanucleus-maven-plugin:3.2.0-release or one of its dependencies could not be resolved: Could not find artifact javax.jdo:jdo-api:jar:3.1-SNAPSHOT -> [Help 1]
> The solution, detailed on [1], is to go to the pom.xml of the "dom" (domain) module and force the "datanucleus-maven-plugin" to use the jdo-api 3.0.1 version, instead of a the 3.0.1-SNAPSHOT version. To do that, simply add this:
> 	<build>
> 		<plugins>
> 			<plugin>
> 				<groupId>org.datanucleus</groupId>
> 				<artifactId>datanucleus-maven-plugin</artifactId>
> 				<version>3.2.0-release</version>
> 				<dependencies>
> 										.....
> 					<dependency> 
>                      		 		<groupId>javax.jdo</groupId> 
>    				                <artifactId>jdo-api</artifactId> 
>                      				<version>3.0.1</version> 
>                			</dependency> 
> 										.....
> [1] http://www.datanucleus.org/servlet/jira/browse/NUCMAVEN-27

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira