Le 26/10/16 à 16:16, Shawn McKinney a écrit : >> On Oct 26, 2016, at 9:00 AM, Emmanuel Lécharny <[email protected]> wrote: >> >> Ah, shit, MINA 2.0.16 vote is still going on, so the maven central repo >> is not yet populated. >> >> You'll have to get MINA 2.0.16 and install it into your local repository >> (https://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html). >> >> The MINA lib is available on >> https://dist.apache.org/repos/dist/dev/mina/mina/2.0.16/ > Going to need a bit of hand-holding to get through this step. > > I downloaded this package: > https://dist.apache.org/repos/dist/dev/mina/mina/2.0.16/apache-mina-2.0.16-bin.zip > > extracted, and ran this command from the /dist folder: > [student@NY1SCOLAPACHE01 dist]$ mvn install:install-file > -Dfile=mina-core-2.0.16.jar > > and get errors as below. Obviously we need values for all of these missing > elements. What are they? > > INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 0.993s > [INFO] Finished at: Wed Oct 26 14:10:08 UTC 2016 > [INFO] Final Memory: 7M/102M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-install-plugin:2.3.1:install-file > (default-cli) on project standalone-pom: The artifact information is > incomplete or not valid: > [ERROR] [0] 'groupId' is missing. > [ERROR] [1] 'artifactId' is missing. > [ERROR] [2] 'packaging' is missing. > [ERROR] [3] 'version' is missing. That should be something like :
mvn install:install-file -Dfile=<path-to-file>-DgroupId=org.apache.mina-DartifactId=mina-core-Dversion=2.0.16-Dpackaging=jar You just need mina-core atm. -- Emmanuel Lecharny Symas.com directory.apache.org
