[
https://issues.apache.org/jira/browse/SM-2241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13904373#comment-13904373
]
Krzysztof Sobkowiak commented on SM-2241:
-----------------------------------------
Due to the known problem in Karaf 2.3.4 with the feature for Hibernate Envers
3.x added by mistake the build of the full assembly fails due to following error
{code}
[INFO] Apache ServiceMix :: Assemblies :: Apache ServiceMix SUCCESS [48.985s]
[INFO] Apache ServiceMix :: Assemblies :: Apache ServiceMix (Minimal) SUCCESS
[29.453s]
[INFO] Apache ServiceMix :: Assemblies :: Apache ServiceMix (Full) FAILURE
[9.780s]
[INFO] Apache ServiceMix :: Integration Tests ............ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:56.608s
[INFO] Finished at: Tue Feb 18 19:04:09 CET 2014
[INFO] Final Memory: 206M/664M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.karaf.tooling:features-maven-plugin:2.3.4:add-features-to-repo
(add-features-to-repo) on project apache-servicemix-full: Can't resolve bundle
org.hibernate:hibernate-envers:jar:3.3.2.GA: Failure to find
org.hibernate:hibernate-envers:jar:3.3.2.GA in
https://repository.jboss.org/nexus/content/repositories/ea was cached in the
local repository, resolution will not be reattempted until the update interval
of jboss.m2rp has elapsed or updates are forced
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.hibernate
-DartifactId=hibernate-envers -Dversion=3.3.2.GA -Dpackaging=jar
-Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the file
there:
[ERROR] mvn deploy:deploy-file -DgroupId=org.hibernate
-DartifactId=hibernate-envers -Dversion=3.3.2.GA -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR]
[ERROR] org.hibernate:hibernate-envers:jar:3.3.2.GA
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] jboss.m2rp (https://repository.jboss.org/nexus/content/repositories/ea,
releases=true, snapshots=false),
[ERROR] apache.snapshots (http://repository.apache.org/snapshots,
releases=false, snapshots=true),
[ERROR] jboss (http://repository.jboss.com/nexus/content/groups/public/,
releases=true, snapshots=false),
[ERROR] scriptengines (http://scriptengines.googlecode.com/svn/m2-repo,
releases=true, snapshots=false),
[ERROR] servicemix.m2-repo (http://svn.apache.org/repos/asf/servicemix/m2-repo,
releases=true, snapshots=false),
[ERROR] alfresco.public
(https://maven.alfresco.com/nexus/content/groups/public, releases=true,
snapshots=false),
[ERROR] ops4j.sonatype.snapshots.deploy
(https://oss.sonatype.org/content/repositories/ops4j-snapshots/,
releases=false, snapshots=true),
[ERROR] central (http://repo.maven.apache.org/maven2, releases=true,
snapshots=false)
{code}
The problem has been solved in karaf-2.3.x branch and the fix will be available
in Karaf 2.3.5. Otherwise we must find a workaround for this problem.
> Upgrade to Karaf 2.3.4
> ----------------------
>
> Key: SM-2241
> URL: https://issues.apache.org/jira/browse/SM-2241
> Project: ServiceMix
> Issue Type: Task
> Components: assemblies
> Reporter: Krzysztof Sobkowiak
> Fix For: 5.0.0
>
> Attachments: 0001-SM-2241.patch
>
>
> Karaf 2.3.4 has been released. I'd like to attach a patch I have used once to
> perform upgrade to 2.3.4-SNAPSHOT
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)