Please follow the instructions I sent you!
You need both pluginRepositories and repositories sections.

/Anders
On Fri, Aug 20, 2010 at 08:12, Naresh <naresh_gambirapu...@adp.com> wrote:

>
> Hi Sir,
> Now i am using the PluginRepositories tag and now it is downloading the
> content from internal repo. But I get this Error Sir
>
> *****************************************************************
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] Deleting directory
> /root/.hudson/jobs/FinalIhub/workspace/iHubFaces/iHubEAR/target
> [INFO] [ear:generate-application-xml {execution:
> default-generate-application-xml}]
> [INFO] Generating application.xml
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
> /root/.hudson/jobs/FinalIhub/workspace/iHubFaces/iHubEAR/src/main/resources
> -----------------------------------------------------
> this realm =
> app0.child-container[org.apache.maven.plugins:maven-ear-plugin:2.3.1]
> urls[0] =
>
> file:/root/.hudson/jobs/Testmaven/workspace/iHubFaces/org/apache/maven/plugins/maven-ear-plugin/2.3.1/maven-ear-plugin-2.3.1.jar
> urls[1] =
>
> file:/root/.hudson/jobs/Testmaven/workspace/iHubFaces/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
> Number of imports: 10
> import: org.codehaus.classworlds.en...@a6c57a42
> import: org.codehaus.classworlds.en...@12f43f3b
> import: org.codehaus.classworlds.en...@20025374
> import: org.codehaus.classworlds.en...@f8e44ca4
> import: org.codehaus.classworlds.en...@92758522
> import: org.codehaus.classworlds.en...@ebf2705b
> import: org.codehaus.classworlds.en...@bb25e54
> import: org.codehaus.classworlds.en...@bece5185
> import: org.codehaus.classworlds.en...@3fee8e37
> import: org.codehaus.classworlds.en...@3fee19d8
>
>
> this realm = plexus.core
> urls[0] = file:/root/MavenTest/apache-maven-2.2.1/lib/maven-2.2.1-uber.jar
> Number of imports: 10
> import: org.codehaus.classworlds.en...@a6c57a42
> import: org.codehaus.classworlds.en...@12f43f3b
> import: org.codehaus.classworlds.en...@20025374
> import: org.codehaus.classworlds.en...@f8e44ca4
> import: org.codehaus.classworlds.en...@92758522
> import: org.codehaus.classworlds.en...@ebf2705b
> import: org.codehaus.classworlds.en...@bb25e54
> import: org.codehaus.classworlds.en...@bece5185
> import: org.codehaus.classworlds.en...@3fee8e37
> import: org.codehaus.classworlds.en...@3fee19d8
> -----------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Internal error in the plugin manager executing goal
> 'org.apache.maven.plugins:maven-ear-plugin:2.3.1:ear': Unable to load the
> mojo 'org.apache.maven.plugins:maven-ear-plugin:2.3.1:ear' in the plugin
> 'org.apache.maven.plugins:maven-ear-plugin'. A required class is missing:
> org.codehaus.plexus.archiver.ArchiverException
> [INFO]
> ------------------------------------------------------------------------
>
> **************************************************************************
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/How-to-force-Maven-to-use-the-internal-repository-tp2641805p2641846.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

Reply via email to