Maven Error : Could not resolve dependencies for project - maven-2

I am new to Maven . I am running Maven POM.xml file From Eclipse IDE , There was a error occurred in console , i even tried with mvn install -X , but of no use .
Please see the stack trace
Failed to execute goal on project bayer-ws: Could not resolve dependencies for project com.tataaig:bayer-ws:war:1.0:
Failed to collect dependencies for [com.tataaig:bayer-util:jar:1.0 (compile), com.tataaig:bayer-model:jar:1.0 (compile), com.tataaig:bayer-samples:jar:1.0 (compile), com.tataaig:bayer-mw:jar:1.0 (compile), com.tataaig:bayer-fixml:jar:1.0 (compile), cglib:cglib-nodep:jar:2.1_3 (runtime), jdom:jdom:jar:1.1 (compile), org.apache.ws.commons.schema:XmlSchema:jar:1.4.5 (runtime), javax.servlet:servlet-api:jar:2.5 (provided), junit:junit:jar:4.4 (test), org.easymock:easymockclassextension:jar:2.3 (test), org.easymock:easymock:jar:2.3 (test), org.apache.cxf:cxf-rt-bindings-http:jar:2.2.1 (compile), org.apache.cxf:cxf-rt-ws-security:jar:2.2.1 (compile), org.apache.derby:derby:jar:10.3.1.4 (test), org.springframework:spring-beans:jar:2.5.2 (compile), org.springframework:spring-context:jar:2.5.2 (compile), org.springframework:spring-core:jar:2.5.2 (compile), org.springframework:spring-web:jar:2.5.2 (compile), log4j:log4j:jar:1.2.14 (runtime), commons-logging:commons-logging:jar:1.1.1 (runtime), com.tataaig:middleware:jar:5.0.0 (compile), com.tataaig:PRO:jar:1.0.0 (compile), com.tataaig:legacy.backoffice:jar:1.0.0 (compile), hessian:hessian:jar:3.1.6 (compile), commons-httpclient:commons-httpclient:jar:3.1 (runtime), xstream:xstream:jar:1.2.2 (compile), bouncycastle:bcprov-jdk16:jar:140 (runtime), org.apache.ws.security:wss4j:jar:1.5.8 (compile), net.sf.ehcache:ehcache-core:jar:2.4.1 (runtime)]: Failed to read artifact descriptor for commons-logging:commons-logging:jar:99.1: Could not transfer artifact commons-logging:commons-logging:pom:99.1 from/to maven-central (http://repo1.maven.org/maven/): No connector available to access repository maven-central (http://repo1.maven.org/maven/) of type legacy using the available factories AsyncRepositoryConnectorFactory, WagonRepositoryConnectorFactory -> [Help 1]
Anybody please help me , i am badly struck .

Let me answer my questions so that may be useful to others, as i was successful with maven build now .
For installing Application jar files we must use mvn install -- path to jar file .
Please see the syntax
mvn install:install-file -Dfile=your-artifact-1.0.jar \

Related

Vercel Deployment failed "react-scripts build" exited with 1

I tried to deploy my react site to vercel. But deployment failed with error. Please help to me fix this.
fresh packages...
[14:35:44.935] success Saved lockfile.
[14:35:44.944] Done in 66.75s.
[14:35:48.226] Creating an optimized production build...
[14:36:21.640] Browserslist: caniuse-lite is outdated. Please run:
[14:36:21.640] npx browserslist#latest --update-db
[14:36:21.640] Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
[14:36:22.326] Browserslist: caniuse-lite is outdated. Please run:
[14:36:22.327] npx browserslist#latest --update-db
[14:36:22.327] Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
[14:36:23.309] Failed to compile.
[14:36:23.310]
[14:36:23.310] Error: error:0308010C:digital envelope routines::unsupported
[14:36:23.310] at String.replace (<anonymous>)
[14:36:23.310]
[14:36:23.310]
[14:36:23.385] Error: Command "react-scripts build" exited with 1

brew install cpp-ethereum CMake Error

I am trying to manually build my ethereum client on Mac OS X 10.13.5 (using brew gives me a similar error). I follow the simple instructions to :
git clone https://github.com/ethereum/cpp-ethereum.git
cd cpp-ethereum
mkdir -p build
cd build
cmake ..
It gives me an error and fails the build:
CMake Error at CMakeLists.txt:7 (include):
include could not find load file:
evmc/cmake/cable/bootstrap.cmake
CMake Error at CMakeLists.txt:8 (include):
include could not find load file:
CableBuildInfo
CMake Error at CMakeLists.txt:9 (include):
include could not find load file:
CableBuildType
CMake Error at CMakeLists.txt:10 (include):
include could not find load file:
CableToolchains
CMake Error at CMakeLists.txt:19 (cable_configure_toolchain):
Unknown CMake command "cable_configure_toolchain".
-- Configuring incomplete, errors occurred!
I know CMake is used to manage the building process but Id on't understand what is causing the problem. What is this CMakeList that is causing my build to fail and how do I troubleshoot these?
I think you can try
git clone --recursive https://github.com/ethereum/cpp-ethereum.git
I read it from the aleth github project.
Run this inside the cloned folder
git submodule update --init --recursive

Yarn Install Error: Arguments: -c ./node_modules/.bin/typings install

When trying to run yarn install I am getting:
Jasons-MacBook-Pro: jasonbiondo$ yarn install
yarn install v0.21.3
[1/4] :mag: Resolving packages...
[2/4] :truck: Fetching packages...
[3/4] :link: Linking dependencies...
[4/4] :page_with_curl: Building fresh packages...
[1/6] ⠂ aurelia-infinite-scroll
[2/6] ⠂ fsevents
[3/6] ⠂ gifsicle
[4/6] ⠂ mozjpeg
error /Users/jasonbiondo/Sites/mysite-app/node_modules/aurelia-infinite-scroll: Command failed.
Exit code: 127
Command: sh
Arguments: -c ./node_modules/.bin/typings install
Directory: /Users/jasonbiondo/Sites/mysite-app/node_modules/aurelia-infinite-scroll
Output:
sh: ./node_modules/.bin/typings: No such file or directory
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Note: This does not throw an error with npm install.
Here is a link to a gist of my package.json: https://gist.github.com/jasonbiondo/fac812526499c99e44c171645bee5533

Error while installing AndroMDA

Error in installing the AndroMDA. while installing the maven archetype code = mvn archetype:create -DgroupId=testapp -DartifactId=testapp. It is saying BUILD FALIURE

Cmake compilation error

I tried to compile a project with cmake, but I got the following error :
mostafa#ubuntu:~/oooark$ cmake .
CMake Error at CMakeLists.txt:19 (message):
In-source builds are not allowed.
For example run:
rm CMakeCache.txt
mkdir build
cd build
cmake ..
make
-- Configuring incomplete, errors occurred!
Can anyone help me ?
Do as the help message says: remove the CMakeCache.txt file, create a subdirectory called build, change into that directory, then re-run cmake from there.
rm CMakeCache.txt
mkdir build
cd build
cmake ..
make
This is because you ran "cmake ." in the top of the source tree. The reason for preventing you running cmake in the source directory is to prevent the source tree getting build artefacts spewed all over it.