Yeah, I added it and run this command :
mvn install:install-file -DgroupId=com.google.code -DartifactId=struts2-fullhibernatecore-plugin -Dversion=2.2.2-GA -Dpackaging=jar -Dfile=/etc/crux/crux/struts2-fullhibernatecore-plugin-2.2.2-GA.jar
and then got this messages :
[WARNING] Some problems were encountered while building the effective model for co.nubetech.crux:crux:war:2.0-alpha
[WARNING] The expression ${name} is deprecated. Please use ${
project.name} instead.
[WARNING] The expression ${name} is deprecated. Please use ${
project.name} instead.
[WARNING] 'dependencies.dependency.scope' for mysql:mysql-connector-java:jar must be one of [provided, compile, runtime, test, system] but is 'runtime,test'. @ line 353, column 11
[WARNING] 'dependencies.dependency.scope' for org.hibernate:hibernate-c3p0:jar must be one of [provided, compile, runtime, test, system] but is 'runtime,test'. @ line 359, column 11
[WARNING] 'dependencies.dependency.scope' for org.hibernate:hibernate-validator:jar must be one of [provided, compile, runtime, test, system] but is 'runtime,test'. @ line 371, column 11
[WARNING] 'dependencies.dependency.scope' for org.hibernate:hibernate-commons-annotations:jar must be one of [provided, compile, runtime, test, system] but is 'runtime,test'. @ line 377, column 11
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
Downloading:
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.3.2/maven-compiler-plugin-2.3.2.pom
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-compiler-plugin:2.3.2: Plugin org.apache.maven.plugins:maven-compiler-plugin:2.3.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-compiler-plugin:jar:2.3.2
Downloading:
http://repo.maven.apache.org/maven2/org/mortbay/jetty/jetty-maven-plugin/8.0.1.v20110908/jetty-maven-plugin-8.0.1.v20110908.pom
[WARNING] Failed to retrieve plugin descriptor for org.mortbay.jetty:jetty-maven-plugin:8.0.1.v20110908: Plugin org.mortbay.jetty:jetty-maven-plugin:8.0.1.v20110908 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.mortbay.jetty:jetty-maven-plugin:jar:8.0.1.v20110908
Downloading:
http://repo.maven.apache.org/maven2/org/codehaus/mojo/sql-maven-plugin/1.5/sql-maven-plugin-1.5.pom
[WARNING] Failed to retrieve plugin descriptor for org.codehaus.mojo:sql-maven-plugin:1.5: Plugin org.codehaus.mojo:sql-maven-plugin:1.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.codehaus.mojo:sql-maven-plugin:jar:1.5
Downloading:
http://repo.maven.apache.org/maven2/org/codehaus/mojo/cobertura-maven-plugin/2.5.1/cobertura-maven-plugin-2.5.1.pom
[WARNING] Failed to retrieve plugin descriptor for org.codehaus.mojo:cobertura-maven-plugin:2.5.1: Plugin org.codehaus.mojo:cobertura-maven-plugin:2.5.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.codehaus.mojo:cobertura-maven-plugin:jar:2.5.1
Downloading:
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.3.2/maven-jar-plugin-2.3.2.pom
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-jar-plugin:2.3.2: Plugin org.apache.maven.plugins:maven-jar-plugin:2.3.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-jar-plugin:jar:2.3.2
Downloading:
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.5/maven-resources-plugin-2.5.pom
... ... ...
[ERROR] No plugin found for prefix 'install' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/root/.m2/repository), central (
http://repo.maven.apache.org/maven2)] -> [Help 1]
What do you think about it ?