add as plugin repository the apache snapshot repo (the url is in the pom)

- Romain


2012/5/22 alexaverbuch <[email protected]>

> I tried to use *mvn tomee:run* as you suggested in the pull request, but I
> get the following error:
>
>
> alex@laptop:~/workspace/java/order$ mvn clean install tomee:run
> [INFO] Scanning for projects...
> [INFO] Cannot find mojo descriptor for: 'tomee:run' - Treating as
> non-aggregator.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building order
> [INFO]    task-segment: [clean, install, tomee:run]
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] A required plugin was not found: Plugin could not be found - check
> that the goal name is correct: Unable to download the artifact from any
> repository
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
>    mvn install:install-file -DgroupId=org.apache.openejb.maven
> -DartifactId=tomee-maven-plugin -Dversion=1.0.0-SNAPSHOT
> -Dpackaging=maven-plugin -Dfile=/path/to/file
>
> Alternatively, if you host your own repository you can deploy the file
> there:
>    mvn deploy:deploy-file -DgroupId=org.apache.openejb.maven
> -DartifactId=tomee-maven-plugin -Dversion=1.0.0-SNAPSHOT
> -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url]
> -DrepositoryId=[id]
>
>
>  org.apache.openejb.maven:tomee-maven-plugin:maven-plugin:1.0.0-SNAPSHOT
>
> from the specified remote repositories:
>  central (http://repo1.maven.org/maven2)
>
>
>  org.apache.openejb.maven:tomee-maven-plugin:maven-plugin:1.0.0-SNAPSHOT
>
> from the specified remote repositories:
>  central (http://repo1.maven.org/maven2)
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Tue May 22 15:39:59 CEST 2012
> [INFO] Final Memory: 7M/73M
> [INFO]
> ------------------------------------------------------------------------
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/EntityManager-injection-not-working-tp4649755p4649905.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Reply via email to