Jump to content

I am trying to configure maven 3.


Manoj Chaurasia

Recommended Posts

Hi All,

I am trying to configure maven 3.2.5 in TIBCO BW 6.2.1 . My steps are

1. downloaded maven binary (zip) file from apache maven .

2. configured the path variables.

3. checked with mvn -version command maven is fine and working.

4. Now executed bwinstall bw6-plugin-maven from TIBCO_HOME/bw/6.2/bin directory.

 

After 4th step i am getting following error .

 

Buildfile: D:tibco_BW6bw6.2scriptsbwinstall.xmlbw6-plugin-maven:getTibcoHome:setupMacros:maven-install: [echo] Installing Maven Mojo for BW Packaging [unzip] Expanding: D:tibco_BW6bw6.2samplespluginsmavenInstallerconfigcom.tibco.bw.maven.packager.zip into D:tibco_BW6bw6.2mavenpluginscom.tibco.bw.maven.packagerwinInstall: [exec] [exec] D:tibco_BW6bw6.2mavenpluginscom.tibco.bw.maven.packager>echo Installing Maven Plugin to Maven Repository [exec] Installing Maven Plugin to Maven Repository [exec] [exec] D:tibco_BW6bw6.2mavenpluginscom.tibco.bw.maven.packager>mvn install:install-file -Dfile=bw-archiver-1.0.0.jar -DpomFile=pom.xml [exec] [iNFO] Scanning for projects... [exec] [WARNING] [exec] [WARNING] Some problems were encountered while building the effective model for com.tibco.bw:bw-archiver:maven-plugin:1.0.0 [exec] [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-plugin-plugin is missing. @ line 52, column 11 [exec] [WARNING] [exec] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [exec] [WARNING] [exec] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [exec] [WARNING] [exec] Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plug... [exec] [exec] [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-plugin-plugin:3.2: Plugin org.apache.maven.plugins:maven-plugin-plugin:3.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-plugin-plugin:jar:3.2Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clea... [exec] [exec] [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-clean-plugin:2.5: Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies couldnot be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.5Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-reso... [exec] [exec] [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-resources-plugin:2.6: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-jar-... [exec] [exec] [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-jar-plugin:2.4: Plugin org.apache.maven.plugins:maven-jar-plugin:2.4 or one of its dependencies could notbe resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-jar-plugin:jar:2.4Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-comp... [exec] [exec] [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-compiler-plugin:3.1: Plugin org.apache.maven.plugins:maven-compiler-plugin:3.1 or one of its dependenciescould not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-compiler-plugin:jar:3.1Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-sure... [exec] [exec] [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-surefire-plugin:2.12.4: Plugin org.apache.maven.plugins:maven-surefire-plugin:2.12.4 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-surefire-plugin:jar:2.12.4Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-inst... [exec] [exec] [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-install-plugin:2.4: Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-install-plugin:jar:2.4Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-depl... [exec] [exec] [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-deploy-plugin:2.7: Plugin org.apache.maven.plugins:maven-deploy-plugin:2.7 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-deploy-plugin:jar:2.7Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site... [exec] [exec] [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-site-plugin:3.3: Plugin org.apache.maven.plugins:maven-site-plugin:3.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-site-plugin:jar:3.3Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antr... [exec] [exec] [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-antrun-plugin:1.3: Plugin org.apache.maven.plugins:maven-antrun-plugin:1.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-antrun-plugin:jar:1.3Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-asse... [exec] [exec] [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5: Plugin org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5 or one of itsdependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-depe... [exec] [exec] [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-dependency-plugin:2.8: Plugin org.apache.maven.plugins:maven-dependency-plugin:2.8 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-dependency-plugin:jar:2.8Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-rele... [exec] [exec] [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:2.3.2: Plugin org.apache.maven.plugins:maven-release-plugin:2.3.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-release-plugin:jar:2.3.2Downloading: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml [exec] Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-meta... [exec] [exec] [WARNING] Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.maven.apache.org/199.27.79.215] failed: Connection refused: connect[WARNING] Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.maven.apache.org/199.27.79.215] failed: Connection refused: connect [exec] [WARNING] Failure to transfer org.apache.maven.plugins/maven-metadata.xml from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.maven.apache.org/199.27.79.215] failed: Connection refused: connect [exec] [WARNING] Failure to transfer org.codehaus.mojo/maven-metadata.xml from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to central (https://repo.maven.apache.org/maven2):Connect to repo.maven.apache.org:443 [repo.maven.apache.org/199.27.79.215] failed: Connection refused: connect [exec] [iNFO] ------------------------------------------------------------------------ [exec] [iNFO] BUILD FAILURE [exec] [iNFO] ------------------------------------------------------------------------ [exec] [iNFO] Total time: 14.937 s [exec] [iNFO] Finished at: 2015-04-23T10:12:35+05:30 [exec] [iNFO] Final Memory: 7M/77M [exec] [iNFO] ------------------------------------------------------------------------ [exec] [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 (C:Users483215.m2repository), central (https://repo.maven.apache.org/maven2)] -> [Help 1] [exec] [ERROR] [exec] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [exec] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [exec] [ERROR] [exec] [ERROR] For more information about the errors and possible solutions, please read the following articles: [exec] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixE...BUILD FAILED

D:tibco_BW6b

Link to comment
Share on other sites

  • 4 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...