Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added maven configuration for feature.xml generation #21

Closed
wants to merge 2 commits into from
Closed

added maven configuration for feature.xml generation #21

wants to merge 2 commits into from

Conversation

acoburn
Copy link
Contributor

@acoburn acoburn commented May 7, 2015

Resolves https://jira.duraspace.org/browse/FCREPO-1479

I chose not to use the karaf plugin as it was overly eager in including transitive dependencies, but in certain cases not eager enough. Either way, it didn't work. For now, there are some hard-coded transitive dependencies listed for the fcrepo-audit module. This is necessary until the fcrepo-audit module is packaged as its own feature.

@acoburn
Copy link
Contributor Author

acoburn commented May 8, 2015

In order to test this with karaf 3.0.3, it is necessary to change the $KARAF_HOME/etc/jre.properties file by increasing the version of javax.annotation from 1.0 to either 1.1 or 1.2. So, for the appropriate JRE, the line should read:

javax.annotation;version="1.1", \

This change is not necessary for Karaf 3.0.2

@acoburn
Copy link
Contributor Author

acoburn commented May 8, 2015

Also, once karaf is running, the commands to run from the console are (after a successful mvn install):

$> feature:repo-add mvn:org.fcrepo.camel/fcrepo-camel-toolbox/4.1.2-SNAPSHOT/xml/features
$> feature:install fcrepo-indexing-solr
$> feature:install fcrepo-indexing-triplestore
$> feature:install fcrepo-audit-triplestore

@acoburn
Copy link
Contributor Author

acoburn commented May 9, 2015

By incrementing the activemq version, all of the javax.annotation-related errors go away

@awoods
Copy link

awoods commented May 14, 2015

Resolved with: efcb7b7

@awoods awoods closed this May 14, 2015
@acoburn acoburn deleted the fcrepo-1479 branch August 17, 2015 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants