You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Shubham Saraswat <Sh...@infosys.com> on 2008/09/11 12:39:46 UTC

Hi

Hi,

I need maven for repackaging LGPL for Edocs installation.

I downloaded Mavan 2.0.9 and set the PATH and M2_HOME

Mvn -version is working fine. But mvn compile is giving following error:-


# mvn compile
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO]    task-segment: [compile]
[INFO] ------------------------------------------------------------------------
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.apache.maven.plugins
ArtifactId: maven-resources-plugin
Version: 2.2

Reason: Unable to download the artifact from any repository

  org.apache.maven.plugins:maven-resources-plugin:pom:2.2

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: Wed Sep 10 10:43:11 IST 2008
[INFO] Final Memory: 4M/494M
[INFO] ------------------------------------------------------------------------


I tried downloading maven-resources-plugin-2.2.pom and replaced it with pom.xml in the repacking directory. But still same errors. Please suggest.

Shubham Saraswat
* Office:  +91 80 2852 0261  Extn- 15258  | Mobile: +91 9902006402
Infosys(r)
P O W E R E D   B Y   I N T  E L L E C T
 D R I V E N   B Y   V A L U E S


**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are not 
to copy, disclose, or distribute this e-mail or its contents to any other person and 
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken 
every reasonable precaution to minimize this risk, but is not liable for any damage 
you may sustain as a result of any virus in this e-mail. You should carry out your 
own virus checks before opening the e-mail or attachment. Infosys reserves the 
right to monitor and review the content of all messages sent to or from this e-mail 
address. Messages sent to or from this e-mail address may be stored on the 
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

Re: Hi

Posted by shubham <Sh...@infosys.com>.
hey Martin,

Thanks for your help.Tried deleting M2 directory also.Facing the error as
below:-
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-6/maven-site-plugin-2.0-beta-6.pom
10K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-6/maven-site-plugin-2.0-beta-6.jar
118K downloaded
[INFO] Reloading plugin container for:
org.apache.maven.plugins:maven-install-plugin. The plugin artifact has
changed.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Required goal not found:
org.apache.maven.plugins:maven-install-plugin:install in
org.apache.maven.plugins:maven-install-plugin:2.2







Martin Höller wrote:
> 
> On Thursday 18 September 2008 shubham wrote:
>> As suggested earlier i added the proxy details in settings.xml with
>> correct Username and Password and it worked fine.
> 
> Well, in the mail where you showed us your proxy details you also showed
> us 
> the exception which is still occuring. From this I don't get it what the 
> actual problem was... Anyway, now you have different problems ;)
> 
>> the command i am using is mvn install.I just now downloaded
>> maven-install-plugin-2.2.jar and installed it which was succesfull as
>> below:-
> 
> Why do you want to download and install the maven-install-plugin manually? 
> Maven should handle this automatically. If it fails you probably have
> still 
> connection problems!
> 
>> $ mvn install:install-file -DgroupId=org.apache.maven.plugins
>> -DartifactId=maven-plugins -Dversion=2.2 -Dpackaging=jar
>> -Dfile=/ebilling/application/edxadmin/installplugin/maven-install-plugin-
>>2.2.jar [INFO] Scanning for projects...
> 
> What you are doing here is using the maven-install-plugin to install a
> file 
> called maven-install-plugin-2.2.jar which is already there as you use it.
> 
> Why do you want to install the file maven-install-plugin-2.2.jar in your 
> repository with the artifactId "maven-plugins" at all? This is very likely 
> to break your local maven repository. If I were you, I'd delete 
> $HOME/.m2/repository and start again, just to be sure you haven't damaged 
> anything important already!
> 
>> [INFO] Searching repository for plugin with prefix: 'install'.
>> Downloading:
>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plug
>>in/2.2/maven-install-plugin-2.2.pom 2K downloaded
>> Downloading:
>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plug
>>in/2.2/maven-install-plugin-2.2.jar 15K downloaded
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building Maven Default Project
>> [INFO]    task-segment: [install:install-file] (aggregator-style)
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] [install:install-file]
>> [INFO] Installing
>> /ebilling/application/edxadmin/installplugin/maven-install-plugin-2.2.jar
>> to
>> /ebilling/application/edxadmin/.m2/repository/org/apache/maven/plugins/ma
>>ven-plugins/2.2/maven-plugins-2.2.jar [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD SUCCESSFUL
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 22 seconds
>> [INFO] Finished at: Thu Sep 18 14:28:51 IST 2008
>> [INFO] Final Memory: 5M/494M
>> [INFO]
>> ------------------------------------------------------------------------
> 
> Ok, the install plugin is definitely working, as you are just using it to 
> install itself...
> 
>> Still when i run mvn install from my project directory still facing the
>> same error.
> 
> Then it's a problem in you pom.xml, not in your maven setup.
> 
> hth,
> - martin
> 
>  
> 

-- 
View this message in context: http://n2.nabble.com/Hi-tp1082498p1097997.html
Sent from the maven users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Hi

Posted by Martin Höller <ma...@xss.co.at>.
On Thursday 18 September 2008 shubham wrote:
> As suggested earlier i added the proxy details in settings.xml with
> correct Username and Password and it worked fine.

Well, in the mail where you showed us your proxy details you also showed us 
the exception which is still occuring. From this I don't get it what the 
actual problem was... Anyway, now you have different problems ;)

> the command i am using is mvn install.I just now downloaded
> maven-install-plugin-2.2.jar and installed it which was succesfull as
> below:-

Why do you want to download and install the maven-install-plugin manually? 
Maven should handle this automatically. If it fails you probably have still 
connection problems!

> $ mvn install:install-file -DgroupId=org.apache.maven.plugins
> -DartifactId=maven-plugins -Dversion=2.2 -Dpackaging=jar
> -Dfile=/ebilling/application/edxadmin/installplugin/maven-install-plugin-
>2.2.jar [INFO] Scanning for projects...

What you are doing here is using the maven-install-plugin to install a file 
called maven-install-plugin-2.2.jar which is already there as you use it.

Why do you want to install the file maven-install-plugin-2.2.jar in your 
repository with the artifactId "maven-plugins" at all? This is very likely 
to break your local maven repository. If I were you, I'd delete 
$HOME/.m2/repository and start again, just to be sure you haven't damaged 
anything important already!

> [INFO] Searching repository for plugin with prefix: 'install'.
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plug
>in/2.2/maven-install-plugin-2.2.pom 2K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plug
>in/2.2/maven-install-plugin-2.2.jar 15K downloaded
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Maven Default Project
> [INFO]    task-segment: [install:install-file] (aggregator-style)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [install:install-file]
> [INFO] Installing
> /ebilling/application/edxadmin/installplugin/maven-install-plugin-2.2.jar
> to
> /ebilling/application/edxadmin/.m2/repository/org/apache/maven/plugins/ma
>ven-plugins/2.2/maven-plugins-2.2.jar [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 22 seconds
> [INFO] Finished at: Thu Sep 18 14:28:51 IST 2008
> [INFO] Final Memory: 5M/494M
> [INFO]
> ------------------------------------------------------------------------

Ok, the install plugin is definitely working, as you are just using it to 
install itself...

> Still when i run mvn install from my project directory still facing the
> same error.

Then it's a problem in you pom.xml, not in your maven setup.

hth,
- martin

Re: Hi

Posted by shubham <Sh...@infosys.com>.
As suggested earlier i added the proxy details in settings.xml with correct
Username and Password and it worked fine.

the command i am using is mvn install.I just now downloaded
maven-install-plugin-2.2.jar and installed it which was succesfull as
below:-



$ mvn install:install-file -DgroupId=org.apache.maven.plugins
-DartifactId=maven-plugins -Dversion=2.2 -Dpackaging=jar
-Dfile=/ebilling/application/edxadmin/installplugin/maven-install-plugin-2.2.jar
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'install'.
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.2/maven-install-plugin-2.2.pom
2K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.2/maven-install-plugin-2.2.jar
15K downloaded
[INFO]
------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO]    task-segment: [install:install-file] (aggregator-style)
[INFO]
------------------------------------------------------------------------
[INFO] [install:install-file]
[INFO] Installing
/ebilling/application/edxadmin/installplugin/maven-install-plugin-2.2.jar to
/ebilling/application/edxadmin/.m2/repository/org/apache/maven/plugins/maven-plugins/2.2/maven-plugins-2.2.jar
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 22 seconds
[INFO] Finished at: Thu Sep 18 14:28:51 IST 2008
[INFO] Final Memory: 5M/494M
[INFO]
------------------------------------------------------------------------


Still when i run mvn install from my project directory still facing the same
error.





Martin Höller wrote:
> 
> Hi!
> 
> On Thursday 18 September 2008 shubham wrote:
>> I that issue is solved now 
> 
> This information is quite useless to most of us. If you could provide 
> information how it was solved others could benefit from this as well.
> 
>> but i am facing another issue now:- 
>>
>> Downloading:
>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/
>>2.0-beta-6/maven-site-plugin-2.0-beta-6.pom 10K downloaded
>> Downloading:
>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/
>>2.0-beta-6/maven-site-plugin-2.0-beta-6.jar 118K downloaded
>> [INFO] Reloading plugin container for:
>> org.apache.maven.plugins:maven-install-plugin. The plugin artifact has
>> changed.
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Required goal not found:
>> org.apache.maven.plugins:maven-install-plugin:install in
>> org.apache.maven.plugins:maven-install-plugin:2.2
> 
> Here is the problem: to goal should be "install", not "install in" or
> "2.2".
> What exact commands are you running?
> 
> There was a similar problem some time ago which was caused by a shell 
> interpreting colons on the command line. See [0] for details, especially 
> the last mails.
> 
> hth,
> - martin
> 
> [0]http://www.nabble.com/problem-installing-the-oracle-library-ojdbc14.jar-to18214538.html
> 
>  
> 

-- 
View this message in context: http://n2.nabble.com/Hi-tp1082498p1097790.html
Sent from the maven users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Hi

Posted by Martin Höller <ma...@xss.co.at>.
Hi!

On Thursday 18 September 2008 shubham wrote:
> I that issue is solved now 

This information is quite useless to most of us. If you could provide 
information how it was solved others could benefit from this as well.

> but i am facing another issue now:- 
>
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/
>2.0-beta-6/maven-site-plugin-2.0-beta-6.pom 10K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/
>2.0-beta-6/maven-site-plugin-2.0-beta-6.jar 118K downloaded
> [INFO] Reloading plugin container for:
> org.apache.maven.plugins:maven-install-plugin. The plugin artifact has
> changed.
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Required goal not found:
> org.apache.maven.plugins:maven-install-plugin:install in
> org.apache.maven.plugins:maven-install-plugin:2.2

Here is the problem: to goal should be "install", not "install in" or "2.2".
What exact commands are you running?

There was a similar problem some time ago which was caused by a shell 
interpreting colons on the command line. See [0] for details, especially 
the last mails.

hth,
- martin

[0]http://www.nabble.com/problem-installing-the-oracle-library-ojdbc14.jar-to18214538.html

Re: modify dependencies in reporting plugins section?

Posted by Stephen Connolly <st...@gmail.com>.
Add a reference in <pluginManagement> and do your tweaking there.

/project/build/pluginManagement is applied to both /project/build/plugins
and /project/reporting

On Thu, Sep 18, 2008 at 8:53 AM, <to...@gi-de.com> wrote:

> Hi
>
> using annotations (@Supresswarning) within methods, I fall into
>
> http://jira.codehaus.org/browse/SONAR-33
>
> As described there as workaround, I have to use JavaNCSS 29.50 as a newer
> dependency, that fixes the bug.
>
> As I read in some other postings, (
>
> http://www.nabble.com/-m2--reporting-plugin-extensions-additional-dependencies-td3663610.html#a3679318
> ) one cannot  modify the dependencies of a plugin within the
> <reporting><plugins> section.
>
> => how can I get my reporting plugin to work, now?
>
> thanx, Torsten
>
>
>
>
>

RE: Hi

Posted by shubham <Sh...@infosys.com>.
It is really very nice of you Martin for all the help and  "Thanks" is lot
bigger than getting paid...

-Shubham

Martin Gainty wrote:
> 
> 
> curious if anyone getting paid to help this outsourcer???
> 
> Martin 
> ______________________________________________ 
> Disclaimer and confidentiality note 
> Everything in this e-mail and any attachments relates to the official
> business of Sender. This transmission is of a confidential nature and
> Sender does not endorse distribution to any party other than intended
> recipient. Sender does not necessarily endorse content contained within
> this transmission. 
> 
> 
>> Date: Thu, 18 Sep 2008 00:37:48 -0700
>> From: Shubham_Saraswat@infosys.com
>> To: users@maven.apache.org
>> Subject: Re: Hi
>> 
>> 
>> Hi,
>> 
>> I that issue is solved now but i am facing another issue now:-
>> 
>> Downloading:
>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-6/maven-site-plugin-2.0-beta-6.pom
>> 10K downloaded
>> Downloading:
>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-6/maven-site-plugin-2.0-beta-6.jar
>> 118K downloaded
>> [INFO] Reloading plugin container for:
>> org.apache.maven.plugins:maven-install-plugin. The plugin artifact has
>> changed.
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Required goal not found:
>> org.apache.maven.plugins:maven-install-plugin:install in
>> org.apache.maven.plugins:maven-install-plugin:2.2
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] For more information, run Maven with the -e switch
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 8 minutes 25 seconds
>> [INFO] Finished at: Thu Sep 18 13:04:33 IST 2008
>> [INFO] Final Memory: 15M/478M
>> [INFO]
>> ------------------------------------------------------------------------
>> 
>> 
>> tried running mvn instal -npu command as well but no luck....any
>> pointers?
>> 
>> 
>> 
>> Thanks
>> Shubham :)
>> 
>> 
>> 
>> 
>> 
>> shubham wrote:
>> > 
>> > Proxy details :-   
>> > <!-- proxies
>> >    | This is a list of proxies which can be used on this machine to
>> > connect to the network.
>> >    | Unless otherwise specified (by system property or command-line
>> > switch), the first proxy
>> >    | specification in this list marked as active will be used.
>> >    |-->
>> >   <proxies>
>> >     <!-- proxy
>> >      | Specification for one proxy, to be used in connecting to the
>> > network.
>> >      |
>> >     <proxy>
>> >       <id>optional</id>
>> >       <active>true</active>
>> >       <protocol>http</protocol>
>> >       <username>XXX</username>
>> >       <password>YYY<password>
>> >       <host>proxy IP address</host>
>> >       <port>80</port>
>> >       <nonProxyHosts>http://repo1.maven.org/maven2</nonProxyHosts>
>> >     </proxy>
>> >     -->
>> >   </proxies>
>> > 
>> > 
>> > MVN command
>> > 
>> > $ mvn -X install:install-file -DgroupId=swarmcache
>> -DartifactId=swarmcache
>> > -Dversion=1.0RC2 -Dpackaging=jar
>> > -Dfile=/ebilling/application/edxadmin/swarm
>> > + Error stacktraces are turned on.
>> > Maven version: 2.0.9
>> > Java version: 1.5.0_04
>> > OS name: "sunos" version: "5.10" arch: "sparc" Family: "unix"
>> > [DEBUG] Building Maven user-level plugin registry from:
>> > '/ebilling/application/edxadmin/.m2/plugin-registry.xml'
>> > [DEBUG] Building Maven global-level plugin registry from:
>> >
>> '/ebilling/application/edxadmin/apache-maven-2.0.9/conf/plugin-registry.xml'
>> > [INFO] Scanning for projects...
>> > [INFO] Searching repository for plugin with prefix: 'install'.
>> > [DEBUG] Loading plugin prefixes from group: org.apache.maven.plugins
>> > [INFO] org.apache.maven.plugins: checking for updates from central
>> > [WARNING] repository metadata for: 'org.apache.maven.plugins' could not
>> be
>> > retrieved from repository: central due to an error: Error transferring
>> > file
>> > [DEBUG] Exception
>> > org.apache.maven.wagon.TransferFailedException: Error transferring file
>> >         at
>> >
>> org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:104)
>> >         at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
>> >         at
>> >
>> org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:470)
>> >         at
>> >
>> org.apache.maven.artifact.manager.DefaultWagonManager.getArtifactMetadata(DefaultWagonManager.java:370)
>> >         at
>> >
>> org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolve(DefaultRepositoryMetadataManager.java:97)
>> >         at
>> >
>> org.apache.maven.plugin.DefaultPluginMappingManager.loadPluginMappings(DefaultPluginMappingManager.java:103)
>> >         at
>> >
>> org.apache.maven.plugin.DefaultPluginMappingManager.loadPluginMappings(DefaultPluginMappingManager.java:87)
>> >         at
>> >
>> org.apache.maven.plugin.DefaultPluginMappingManager.getByPrefix(DefaultPluginMappingManager.java:61)
>> >         at
>> >
>> org.apache.maven.plugin.DefaultPluginManager.getPluginDefinitionForPrefix(DefaultPluginManager.java:154)
>> >         at
>> >
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1468)
>> >         at
>> >
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:405)
>> >         at
>> >
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137)
>> >         at
>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>> >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>> >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> >         at
>> >
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> >         at
>> >
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> >         at java.lang.reflect.Method.invoke(Method.java:585)
>> >         at
>> > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>> >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>> >         at
>> > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>> >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>> > Caused by: java.net.UnknownHostException: repo1.maven.org
>> >         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
>> >         at java.net.Socket.connect(Socket.java:507)
>> >         at java.net.Socket.connect(Socket.java:457)
>> >         at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
>> >         at sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
>> >         at sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
>> >         at sun.net.www.http.HttpClient.<init>(HttpClient.java:214)
>> >         at sun.net.www.http.HttpClient.New(HttpClient.java:287)
>> >         at sun.net.www.http.HttpClient.New(HttpClient.java:299)
>> >         at
>> >
>> sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:792)
>> >         at
>> >
>> sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:744)
>> >         at
>> >
>> sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:669)
>> >         at
>> >
>> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:913)
>> >         at
>> >
>> org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:83)
>> >         ... 22 more
>> > [INFO] Repository 'central' will be blacklisted
>> > [DEBUG] Loading plugin prefixes from group: org.codehaus.mojo
>> > [DEBUG] Skipping blacklisted repository central
>> > [DEBUG] Skipping blacklisted repository central
>> > [DEBUG] Trying repository central
>> > Downloading:
>> >
>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.2/maven-install-plugin-2.2.pom
>> > [DEBUG] Unable to get resource
>> > 'org.apache.maven.plugins:maven-install-plugin:pom:2.2' from repository
>> > central (http://repo1.maven.org/maven2)
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [ERROR] BUILD ERROR
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Failed to resolve artifact.
>> > 
>> > GroupId: org.apache.maven.plugins
>> > ArtifactId: maven-install-plugin
>> > Version: 2.2
>> > 
>> > Reason: Unable to download the artifact from any repository
>> > 
>> >   org.apache.maven.plugins:maven-install-plugin:pom:2.2
>> > 
>> > from the specified remote repositories:
>> >   central (http://repo1.maven.org/maven2)
>> > 
>> > 
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [DEBUG] Trace
>> > org.apache.maven.lifecycle.LifecycleExecutionException: Unable to build
>> > project for plugin 'org.apache.maven.plugins:maven-install-plugin': POM
>> > 'org.apache.maven.plugins:maven-install-plugin' not found in
>> repository:
>> > Unable to download the artifact from any repository
>> > 
>> >   org.apache.maven.plugins:maven-install-plugin:pom:2.2
>> > 
>> > from the specified remote repositories:
>> >   central (http://repo1.maven.org/maven2)
>> >  for project org.apache.maven.plugins:maven-install-plugin
>> >         at
>> >
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1291)
>> >         at
>> >
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1542)
>> >         at
>> >
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:405)
>> >         at
>> >
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137)
>> >         at
>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>> >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>> >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> >         at
>> >
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> >         at
>> >
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> >         at java.lang.reflect.Method.invoke(Method.java:585)
>> >         at
>> > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>> >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>> >         at
>> > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>> >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>> > Caused by: org.apache.maven.plugin.InvalidPluginException: Unable to
>> build
>> > project for plugin 'org.apache.maven.plugins:maven-install-plugin': POM
>> > 'org.apache.maven.plugins:maven-install-plugin' not found in
>> repository:
>> > Unable to download the artifact from any repository
>> > 
>> >   org.apache.maven.plugins:maven-install-plugin:pom:2.2
>> > 
>> > from the specified remote repositories:
>> >   central (http://repo1.maven.org/maven2)
>> >  for project org.apache.maven.plugins:maven-install-plugin
>> >         at
>> >
>> org.apache.maven.plugin.DefaultPluginManager.checkRequiredMavenVersion(DefaultPluginManager.java:281)
>> >         at
>> >
>> org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:197)
>> >         at
>> >
>> org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:176)
>> >         at
>> >
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1274)
>> >         ... 14 more
>> > Caused by: org.apache.maven.project.ProjectBuildingException: POM
>> > 'org.apache.maven.plugins:maven-install-plugin' not found in
>> repository:
>> > Unable to download the artifact from any repository
>> > 
>> >   org.apache.maven.plugins:maven-install-plugin:pom:2.2
>> > 
>> > from the specified remote repositories:
>> >   central (http://repo1.maven.org/maven2)
>> >  for project org.apache.maven.plugins:maven-install-plugin
>> >         at
>> >
>> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:603)
>> >         at
>> >
>> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:249)
>> >         at
>> >
>> org.apache.maven.plugin.DefaultPluginManager.checkRequiredMavenVersion(DefaultPluginManager.java:265)
>> >         ... 17 more
>> > Caused by:
>> org.apache.maven.artifact.resolver.ArtifactNotFoundException:
>> > Unable to download the artifact from any repository
>> > 
>> >   org.apache.maven.plugins:maven-install-plugin:pom:2.2
>> > 
>> > from the specified remote repositories:
>> >   central (http://repo1.maven.org/maven2)
>> > 
>> >         at
>> >
>> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:212)
>> >         at
>> >
>> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:74)
>> >         at
>> >
>> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:556)
>> >         ... 19 more
>> > Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable
>> to
>> > download the artifact from any repository
>> >         at
>> >
>> org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:331)
>> >         at
>> >
>> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:200)
>> >         ... 21 more
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Total time: 1 second
>> > [INFO] Finished at: Wed Sep 17 17:38:34 IST 2008
>> > [INFO] Final Memory: 4M/494M
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > 
>> > 
>> > 
>> > Nick Stolwijk wrote:
>> >> 
>> >> Could you post your (anonimized) proxy part of settings xml and the
>> >> output of the mvn commando with an extra -X parameter?
>> >> 
>> >> With regards,
>> >> 
>> >> Nick Stolwijk
>> >> ~Java Developer~
>> >> 
>> >> Iprofs BV.
>> >> Claus Sluterweg 125
>> >> 2012 WS Haarlem
>> >> www.iprofs.nl
>> >> 
>> >> 
>> >> 
>> >> On Wed, Sep 17, 2008 at 1:49 PM, shubham
>> <Sh...@infosys.com>
>> >> wrote:
>> >>>
>> >>> I have updated the settings.xml with the proxy details and now the
>> error
>> >>> is
>> >>> :-
>> >>> $ mvn install:install-file -DgroupId=swarmcache
>> -DartifactId=swarmcache
>> >>> -Dversion=1.0RC2 -Dpackaging=jar
>> >>> -Dfile=/ebilling/application/edxadmin/swarm
>> >>> [INFO] Scanning for projects...
>> >>> [INFO] Searching repository for plugin with prefix: 'install'.
>> >>> [INFO] org.apache.maven.plugins: checking for updates from central
>> >>> [WARNING] repository metadata for: 'org.apache.maven.plugins' could
>> not
>> >>> be
>> >>> retrieved from repository: central due to an error: Error
>> transferring
>> >>> file
>> >>> [INFO] Repository 'central' will be blacklisted
>> >>> Downloading:
>> >>>
>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.2/maven-install-plugin-2.2.pom
>> >>> [INFO]
>> >>>
>> ------------------------------------------------------------------------
>> >>> [ERROR] BUILD ERROR
>> >>> [INFO]
>> >>>
>> ------------------------------------------------------------------------
>> >>> [INFO] Failed to resolve artifact.
>> >>>
>> >>> GroupId: org.apache.maven.plugins
>> >>> ArtifactId: maven-install-plugin
>> >>> Version: 2.2
>> >>>
>> >>> Reason: Unable to download the artifact from any repository
>> >>>
>> >>>  org.apache.maven.plugins:maven-install-plugin:pom:2.2
>> >>>
>> >>> 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: Wed Sep 17 16:58:01 IST 2008
>> >>> [INFO] Final Memory: 4M/494M
>> >>> [INFO]
>> >>>
>> ------------------------------------------------------------------------
>> >>>
>> >>>
>> >>> I have just no idea is it still not able to connect to internet or
>> isue
>> >>> is
>> >>> something else?
>> >>>
>> >>> Nick Stolwijk wrote:
>> >>>>
>> >>>> I don't know about Internet Explorer or Windows script, (Ain't using
>> >>>> both).
>> >>>>
>> >>>> But here are a few options:
>> >>>>
>> >>>> Maybe you could let this script also generate a settings.xml [1]
>> with
>> >>>> the right proxy information. As far as I know Maven can't handle
>> this
>> >>>> type of scripts.
>> >>>>
>> >>>> Another option would be to adjust mvn.bat to read the script file
>> and
>> >>>> extract the proxy from it and give it to the maven program with
>> >>>> command line parameters.
>> >>>>
>> >>>> Or you could read the proxy script yourself and assume that it won't
>> >>>> change much and enter the proxy information into the settings.xml
>> >>>> yourself.
>> >>>>
>> >>>> When you enter proxy information into the settings.xml and you want
>> to
>> >>>> use the active flag to switch it off, please take note of MNG-2387
>> >>>> [2].
>> >>>>
>> >>>> [1] http://maven.apache.org/ref/2.0.7/maven-settings/settings.html
>> >>>> [2] http://jira.codehaus.org/browse/MNG-2387
>> >>>>
>> >>>> Hth,
>> >>>>
>> >>>> Nick Stolwijk
>> >>>> ~Java Developer~
>> >>>>
>> >>>> Iprofs BV.
>> >>>> Claus Sluterweg 125
>> >>>> 2012 WS Haarlem
>> >>>> www.iprofs.nl
>> >>>>
>> >>>>
>> >>>>
>> >>>> On Wed, Sep 17, 2008 at 8:02 AM, shubham
>> <Sh...@infosys.com>
>> >>>> wrote:
>> >>>>>
>> >>>>> Hi Nick,
>> >>>>>
>> >>>>> Thanks a lot for your reply
>> >>>>> I have internet connection and the issue is i am trying to access
>> is
>> >>>>> from
>> >>>>> office...there is no proxy although we have set some script in Lan
>> >>>>> settings
>> >>>>> in IE as configuration scriptand when i tried through web browser i
>> >>>>> was
>> >>>>> able
>> >>>>> to open the site.
>> >>>>>
>> >>>>> can i use this script also instead of proxy?If yes how?
>> >>>>>
>> >>>>> Thanks in advance.
>> >>>>>
>> >>>>> Shubham
>> >>>>>
>> >>>>>
>> >>>>> Nick Stolwijk wrote:
>> >>>>>>
>> >>>>>> Do you have a connection to the internet? Maven will download all
>> the
>> >>>>>> plugins and dependencies Maven and your project needs. If it can't
>> >>>>>> connect to the central repository it will not work. When your
>> browser
>> >>>>>> normally connect to the internet through a proxy, specify this
>> proxy
>> >>>>>> in the settings.xml inside your maven installation directory
>> >>>>>> (conf/settings.xml).
>> >>>>>>
>> >>>>>> Hth,
>> >>>>>>
>> >>>>>> Nick Stolwijk
>> >>>>>> ~Java Developer~
>> >>>>>>
>> >>>>>> Iprofs BV.
>> >>>>>> Claus Sluterweg 125
>> >>>>>> 2012 WS Haarlem
>> >>>>>> www.iprofs.nl
>> >>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>> On Thu, Sep 11, 2008 at 12:39 PM, Shubham Saraswat
>> >>>>>> <Sh...@infosys.com> wrote:
>> >>>>>>> Hi,
>> >>>>>>>
>> >>>>>>> I need maven for repackaging LGPL for Edocs installation.
>> >>>>>>>
>> >>>>>>> I downloaded Mavan 2.0.9 and set the PATH and M2_HOME
>> >>>>>>>
>> >>>>>>> Mvn -version is working fine. But mvn compile is giving following
>> >>>>>>> error:-
>> >>>>>>>
>> >>>>>>>
>> >>>>>>> # mvn compile
>> >>>>>>> [INFO] Scanning for projects...
>> >>>>>>> [INFO]
>> >>>>>>>
>> ------------------------------------------------------------------------
>> >>>>>>> [INFO] Building Maven Default Project
>> >>>>>>> [INFO]    task-segment: [compile]
>> >>>>>>> [INFO]
>> >>>>>>>
>> ------------------------------------------------------------------------
>> >>>>>>> Downloading:
>> >>>>>>>
>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom
>> >>>>>>> Downloading:
>> >>>>>>>
>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom
>> >>>>>>> [INFO]
>> >>>>>>>
>> ------------------------------------------------------------------------
>> >>>>>>> [ERROR] BUILD ERROR
>> >>>>>>> [INFO]
>> >>>>>>>
>> ------------------------------------------------------------------------
>> >>>>>>> [INFO] Failed to resolve artifact.
>> >>>>>>>
>> >>>>>>> GroupId: org.apache.maven.plugins
>> >>>>>>> ArtifactId: maven-resources-plugin
>> >>>>>>> Version: 2.2
>> >>>>>>>
>> >>>>>>> Reason: Unable to download the artifact from any repository
>> >>>>>>>
>> >>>>>>>  org.apache.maven.plugins:maven-resources-plugin:pom:2.2
>> >>>>>>>
>> >>>>>>> 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: Wed Sep 10 10:43:11 IST 2008
>> >>>>>>> [INFO] Final Memory: 4M/494M
>> >>>>>>> [INFO]
>> >>>>>>>
>> ------------------------------------------------------------------------
>> >>>>>>>
>> >>>>>>>
>> >>>>>>> I tried downloading maven-resources-plugin-2.2.pom and replaced
>> it
>> >>>>>>> with
>> >>>>>>> pom.xml in the repacking directory. But still same errors. Please
>> >>>>>>> suggest.
>> >>>>>>>
>> >>>>>>> Shubham Saraswat
>> >>>>>>> * Office:  +91 80 2852 0261  Extn- 15258  | Mobile: +91
>> 9902006402
>> >>>>>>> Infosys(r)
>> >>>>>>> P O W E R E D   B Y   I N T  E L L E C T
>> >>>>>>>  D R I V E N   B Y   V A L U E S
>> >>>>>>>
>> >>>>>>>
>> >>>>>>> **************** CAUTION - Disclaimer *****************
>> >>>>>>> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION
>> >>>>>>> intended
>> >>>>>>> solely
>> >>>>>>> for the use of the addressee(s). If you are not the intended
>> >>>>>>> recipient,
>> >>>>>>> please
>> >>>>>>> notify the sender by e-mail and delete the original message.
>> >>>>>>> Further,
>> >>>>>>> you
>> >>>>>>> are not
>> >>>>>>> to copy, disclose, or distribute this e-mail or its contents to
>> any
>> >>>>>>> other
>> >>>>>>> person and
>> >>>>>>> any such actions are unlawful. This e-mail may contain viruses.
>> >>>>>>> Infosys
>> >>>>>>> has taken
>> >>>>>>> every reasonable precaution to minimize this risk, but is not
>> liable
>> >>>>>>> for
>> >>>>>>> any damage
>> >>>>>>> you may sustain as a result of any virus in this e-mail. You
>> should
>> >>>>>>> carry
>> >>>>>>> out your
>> >>>>>>> own virus checks before opening the e-mail or attachment. Infosys
>> >>>>>>> reserves the
>> >>>>>>> right to monitor and review the content of all messages sent to
>> or
>> >>>>>>> from
>> >>>>>>> this e-mail
>> >>>>>>> address. Messages sent to or from this e-mail address may be
>> stored
>> >>>>>>> on
>> >>>>>>> the
>> >>>>>>> Infosys e-mail system.
>> >>>>>>> ***INFOSYS******** End of Disclaimer ********INFOSYS***
>> >>>>>>>
>> >>>>>>
>> >>>>>>
>> ---------------------------------------------------------------------
>> >>>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> >>>>>> For additional commands, e-mail: users-help@maven.apache.org
>> >>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>> :confused:
>> >>>>> --
>> >>>>> View this message in context:
>> >>>>> http://n2.nabble.com/Hi-tp1082498p1094494.html
>> >>>>> Sent from the maven users mailing list archive at Nabble.com.
>> >>>>>
>> >>>>>
>> >>>>>
>> ---------------------------------------------------------------------
>> >>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> >>>>> For additional commands, e-mail: users-help@maven.apache.org
>> >>>>>
>> >>>>>
>> >>>>
>> >>>>
>> ---------------------------------------------------------------------
>> >>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> >>>> For additional commands, e-mail: users-help@maven.apache.org
>> >>>>
>> >>>>
>> >>>>
>> >>>
>> >>> --
>> >>> View this message in context:
>> >>> http://n2.nabble.com/Hi-tp1082498p1094985.html
>> >>> Sent from the maven users mailing list archive at Nabble.com.
>> >>>
>> >>>
>> >>> ---------------------------------------------------------------------
>> >>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> >>> For additional commands, e-mail: users-help@maven.apache.org
>> >>>
>> >>>
>> >> 
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> >> For additional commands, e-mail: users-help@maven.apache.org
>> >> 
>> >> 
>> >> 
>> > 
>> > 
>> 
>> -- 
>> View this message in context:
>> http://n2.nabble.com/Hi-tp1082498p1097565.html
>> Sent from the maven users mailing list archive at Nabble.com.
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>> 
> 
> _________________________________________________________________
> Stay up to date on your PC, the Web, and your mobile phone with Windows
> Live.
> http://clk.atdmt.com/MRT/go/msnnkwxp1020093185mrt/direct/01/
> 
:handshake:
-- 
View this message in context: http://n2.nabble.com/Hi-tp1082498p1098011.html
Sent from the maven users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: Hi

Posted by Martin Gainty <mg...@hotmail.com>.
curious if anyone getting paid to help this outsourcer???

Martin 
______________________________________________ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. 


> Date: Thu, 18 Sep 2008 00:37:48 -0700
> From: Shubham_Saraswat@infosys.com
> To: users@maven.apache.org
> Subject: Re: Hi
> 
> 
> Hi,
> 
> I that issue is solved now but i am facing another issue now:-
> 
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-6/maven-site-plugin-2.0-beta-6.pom
> 10K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-6/maven-site-plugin-2.0-beta-6.jar
> 118K downloaded
> [INFO] Reloading plugin container for:
> org.apache.maven.plugins:maven-install-plugin. The plugin artifact has
> changed.
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Required goal not found:
> org.apache.maven.plugins:maven-install-plugin:install in
> org.apache.maven.plugins:maven-install-plugin:2.2
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 8 minutes 25 seconds
> [INFO] Finished at: Thu Sep 18 13:04:33 IST 2008
> [INFO] Final Memory: 15M/478M
> [INFO]
> ------------------------------------------------------------------------
> 
> 
> tried running mvn instal -npu command as well but no luck....any pointers?
> 
> 
> 
> Thanks
> Shubham :)
> 
> 
> 
> 
> 
> shubham wrote:
> > 
> > Proxy details :-   
> > <!-- proxies
> >    | This is a list of proxies which can be used on this machine to
> > connect to the network.
> >    | Unless otherwise specified (by system property or command-line
> > switch), the first proxy
> >    | specification in this list marked as active will be used.
> >    |-->
> >   <proxies>
> >     <!-- proxy
> >      | Specification for one proxy, to be used in connecting to the
> > network.
> >      |
> >     <proxy>
> >       <id>optional</id>
> >       <active>true</active>
> >       <protocol>http</protocol>
> >       <username>XXX</username>
> >       <password>YYY<password>
> >       <host>proxy IP address</host>
> >       <port>80</port>
> >       <nonProxyHosts>http://repo1.maven.org/maven2</nonProxyHosts>
> >     </proxy>
> >     -->
> >   </proxies>
> > 
> > 
> > MVN command
> > 
> > $ mvn -X install:install-file -DgroupId=swarmcache -DartifactId=swarmcache
> > -Dversion=1.0RC2 -Dpackaging=jar
> > -Dfile=/ebilling/application/edxadmin/swarm
> > + Error stacktraces are turned on.
> > Maven version: 2.0.9
> > Java version: 1.5.0_04
> > OS name: "sunos" version: "5.10" arch: "sparc" Family: "unix"
> > [DEBUG] Building Maven user-level plugin registry from:
> > '/ebilling/application/edxadmin/.m2/plugin-registry.xml'
> > [DEBUG] Building Maven global-level plugin registry from:
> > '/ebilling/application/edxadmin/apache-maven-2.0.9/conf/plugin-registry.xml'
> > [INFO] Scanning for projects...
> > [INFO] Searching repository for plugin with prefix: 'install'.
> > [DEBUG] Loading plugin prefixes from group: org.apache.maven.plugins
> > [INFO] org.apache.maven.plugins: checking for updates from central
> > [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be
> > retrieved from repository: central due to an error: Error transferring
> > file
> > [DEBUG] Exception
> > org.apache.maven.wagon.TransferFailedException: Error transferring file
> >         at
> > org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:104)
> >         at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
> >         at
> > org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:470)
> >         at
> > org.apache.maven.artifact.manager.DefaultWagonManager.getArtifactMetadata(DefaultWagonManager.java:370)
> >         at
> > org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolve(DefaultRepositoryMetadataManager.java:97)
> >         at
> > org.apache.maven.plugin.DefaultPluginMappingManager.loadPluginMappings(DefaultPluginMappingManager.java:103)
> >         at
> > org.apache.maven.plugin.DefaultPluginMappingManager.loadPluginMappings(DefaultPluginMappingManager.java:87)
> >         at
> > org.apache.maven.plugin.DefaultPluginMappingManager.getByPrefix(DefaultPluginMappingManager.java:61)
> >         at
> > org.apache.maven.plugin.DefaultPluginManager.getPluginDefinitionForPrefix(DefaultPluginManager.java:154)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1468)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:405)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137)
> >         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
> >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
> >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >         at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:585)
> >         at
> > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> >         at
> > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > Caused by: java.net.UnknownHostException: repo1.maven.org
> >         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
> >         at java.net.Socket.connect(Socket.java:507)
> >         at java.net.Socket.connect(Socket.java:457)
> >         at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
> >         at sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
> >         at sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
> >         at sun.net.www.http.HttpClient.<init>(HttpClient.java:214)
> >         at sun.net.www.http.HttpClient.New(HttpClient.java:287)
> >         at sun.net.www.http.HttpClient.New(HttpClient.java:299)
> >         at
> > sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:792)
> >         at
> > sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:744)
> >         at
> > sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:669)
> >         at
> > sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:913)
> >         at
> > org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:83)
> >         ... 22 more
> > [INFO] Repository 'central' will be blacklisted
> > [DEBUG] Loading plugin prefixes from group: org.codehaus.mojo
> > [DEBUG] Skipping blacklisted repository central
> > [DEBUG] Skipping blacklisted repository central
> > [DEBUG] Trying repository central
> > Downloading:
> > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.2/maven-install-plugin-2.2.pom
> > [DEBUG] Unable to get resource
> > 'org.apache.maven.plugins:maven-install-plugin:pom:2.2' from repository
> > central (http://repo1.maven.org/maven2)
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Failed to resolve artifact.
> > 
> > GroupId: org.apache.maven.plugins
> > ArtifactId: maven-install-plugin
> > Version: 2.2
> > 
> > Reason: Unable to download the artifact from any repository
> > 
> >   org.apache.maven.plugins:maven-install-plugin:pom:2.2
> > 
> > from the specified remote repositories:
> >   central (http://repo1.maven.org/maven2)
> > 
> > 
> > [INFO]
> > ------------------------------------------------------------------------
> > [DEBUG] Trace
> > org.apache.maven.lifecycle.LifecycleExecutionException: Unable to build
> > project for plugin 'org.apache.maven.plugins:maven-install-plugin': POM
> > 'org.apache.maven.plugins:maven-install-plugin' not found in repository:
> > Unable to download the artifact from any repository
> > 
> >   org.apache.maven.plugins:maven-install-plugin:pom:2.2
> > 
> > from the specified remote repositories:
> >   central (http://repo1.maven.org/maven2)
> >  for project org.apache.maven.plugins:maven-install-plugin
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1291)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1542)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:405)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137)
> >         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
> >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
> >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >         at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:585)
> >         at
> > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> >         at
> > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > Caused by: org.apache.maven.plugin.InvalidPluginException: Unable to build
> > project for plugin 'org.apache.maven.plugins:maven-install-plugin': POM
> > 'org.apache.maven.plugins:maven-install-plugin' not found in repository:
> > Unable to download the artifact from any repository
> > 
> >   org.apache.maven.plugins:maven-install-plugin:pom:2.2
> > 
> > from the specified remote repositories:
> >   central (http://repo1.maven.org/maven2)
> >  for project org.apache.maven.plugins:maven-install-plugin
> >         at
> > org.apache.maven.plugin.DefaultPluginManager.checkRequiredMavenVersion(DefaultPluginManager.java:281)
> >         at
> > org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:197)
> >         at
> > org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:176)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1274)
> >         ... 14 more
> > Caused by: org.apache.maven.project.ProjectBuildingException: POM
> > 'org.apache.maven.plugins:maven-install-plugin' not found in repository:
> > Unable to download the artifact from any repository
> > 
> >   org.apache.maven.plugins:maven-install-plugin:pom:2.2
> > 
> > from the specified remote repositories:
> >   central (http://repo1.maven.org/maven2)
> >  for project org.apache.maven.plugins:maven-install-plugin
> >         at
> > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:603)
> >         at
> > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:249)
> >         at
> > org.apache.maven.plugin.DefaultPluginManager.checkRequiredMavenVersion(DefaultPluginManager.java:265)
> >         ... 17 more
> > Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
> > Unable to download the artifact from any repository
> > 
> >   org.apache.maven.plugins:maven-install-plugin:pom:2.2
> > 
> > from the specified remote repositories:
> >   central (http://repo1.maven.org/maven2)
> > 
> >         at
> > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:212)
> >         at
> > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:74)
> >         at
> > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:556)
> >         ... 19 more
> > Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to
> > download the artifact from any repository
> >         at
> > org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:331)
> >         at
> > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:200)
> >         ... 21 more
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 1 second
> > [INFO] Finished at: Wed Sep 17 17:38:34 IST 2008
> > [INFO] Final Memory: 4M/494M
> > [INFO]
> > ------------------------------------------------------------------------
> > 
> > 
> > 
> > Nick Stolwijk wrote:
> >> 
> >> Could you post your (anonimized) proxy part of settings xml and the
> >> output of the mvn commando with an extra -X parameter?
> >> 
> >> With regards,
> >> 
> >> Nick Stolwijk
> >> ~Java Developer~
> >> 
> >> Iprofs BV.
> >> Claus Sluterweg 125
> >> 2012 WS Haarlem
> >> www.iprofs.nl
> >> 
> >> 
> >> 
> >> On Wed, Sep 17, 2008 at 1:49 PM, shubham <Sh...@infosys.com>
> >> wrote:
> >>>
> >>> I have updated the settings.xml with the proxy details and now the error
> >>> is
> >>> :-
> >>> $ mvn install:install-file -DgroupId=swarmcache -DartifactId=swarmcache
> >>> -Dversion=1.0RC2 -Dpackaging=jar
> >>> -Dfile=/ebilling/application/edxadmin/swarm
> >>> [INFO] Scanning for projects...
> >>> [INFO] Searching repository for plugin with prefix: 'install'.
> >>> [INFO] org.apache.maven.plugins: checking for updates from central
> >>> [WARNING] repository metadata for: 'org.apache.maven.plugins' could not
> >>> be
> >>> retrieved from repository: central due to an error: Error transferring
> >>> file
> >>> [INFO] Repository 'central' will be blacklisted
> >>> Downloading:
> >>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.2/maven-install-plugin-2.2.pom
> >>> [INFO]
> >>> ------------------------------------------------------------------------
> >>> [ERROR] BUILD ERROR
> >>> [INFO]
> >>> ------------------------------------------------------------------------
> >>> [INFO] Failed to resolve artifact.
> >>>
> >>> GroupId: org.apache.maven.plugins
> >>> ArtifactId: maven-install-plugin
> >>> Version: 2.2
> >>>
> >>> Reason: Unable to download the artifact from any repository
> >>>
> >>>  org.apache.maven.plugins:maven-install-plugin:pom:2.2
> >>>
> >>> 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: Wed Sep 17 16:58:01 IST 2008
> >>> [INFO] Final Memory: 4M/494M
> >>> [INFO]
> >>> ------------------------------------------------------------------------
> >>>
> >>>
> >>> I have just no idea is it still not able to connect to internet or isue
> >>> is
> >>> something else?
> >>>
> >>> Nick Stolwijk wrote:
> >>>>
> >>>> I don't know about Internet Explorer or Windows script, (Ain't using
> >>>> both).
> >>>>
> >>>> But here are a few options:
> >>>>
> >>>> Maybe you could let this script also generate a settings.xml [1] with
> >>>> the right proxy information. As far as I know Maven can't handle this
> >>>> type of scripts.
> >>>>
> >>>> Another option would be to adjust mvn.bat to read the script file and
> >>>> extract the proxy from it and give it to the maven program with
> >>>> command line parameters.
> >>>>
> >>>> Or you could read the proxy script yourself and assume that it won't
> >>>> change much and enter the proxy information into the settings.xml
> >>>> yourself.
> >>>>
> >>>> When you enter proxy information into the settings.xml and you want to
> >>>> use the active flag to switch it off, please take note of MNG-2387
> >>>> [2].
> >>>>
> >>>> [1] http://maven.apache.org/ref/2.0.7/maven-settings/settings.html
> >>>> [2] http://jira.codehaus.org/browse/MNG-2387
> >>>>
> >>>> Hth,
> >>>>
> >>>> Nick Stolwijk
> >>>> ~Java Developer~
> >>>>
> >>>> Iprofs BV.
> >>>> Claus Sluterweg 125
> >>>> 2012 WS Haarlem
> >>>> www.iprofs.nl
> >>>>
> >>>>
> >>>>
> >>>> On Wed, Sep 17, 2008 at 8:02 AM, shubham <Sh...@infosys.com>
> >>>> wrote:
> >>>>>
> >>>>> Hi Nick,
> >>>>>
> >>>>> Thanks a lot for your reply
> >>>>> I have internet connection and the issue is i am trying to access is
> >>>>> from
> >>>>> office...there is no proxy although we have set some script in Lan
> >>>>> settings
> >>>>> in IE as configuration scriptand when i tried through web browser i
> >>>>> was
> >>>>> able
> >>>>> to open the site.
> >>>>>
> >>>>> can i use this script also instead of proxy?If yes how?
> >>>>>
> >>>>> Thanks in advance.
> >>>>>
> >>>>> Shubham
> >>>>>
> >>>>>
> >>>>> Nick Stolwijk wrote:
> >>>>>>
> >>>>>> Do you have a connection to the internet? Maven will download all the
> >>>>>> plugins and dependencies Maven and your project needs. If it can't
> >>>>>> connect to the central repository it will not work. When your browser
> >>>>>> normally connect to the internet through a proxy, specify this proxy
> >>>>>> in the settings.xml inside your maven installation directory
> >>>>>> (conf/settings.xml).
> >>>>>>
> >>>>>> Hth,
> >>>>>>
> >>>>>> Nick Stolwijk
> >>>>>> ~Java Developer~
> >>>>>>
> >>>>>> Iprofs BV.
> >>>>>> Claus Sluterweg 125
> >>>>>> 2012 WS Haarlem
> >>>>>> www.iprofs.nl
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> On Thu, Sep 11, 2008 at 12:39 PM, Shubham Saraswat
> >>>>>> <Sh...@infosys.com> wrote:
> >>>>>>> Hi,
> >>>>>>>
> >>>>>>> I need maven for repackaging LGPL for Edocs installation.
> >>>>>>>
> >>>>>>> I downloaded Mavan 2.0.9 and set the PATH and M2_HOME
> >>>>>>>
> >>>>>>> Mvn -version is working fine. But mvn compile is giving following
> >>>>>>> error:-
> >>>>>>>
> >>>>>>>
> >>>>>>> # mvn compile
> >>>>>>> [INFO] Scanning for projects...
> >>>>>>> [INFO]
> >>>>>>> ------------------------------------------------------------------------
> >>>>>>> [INFO] Building Maven Default Project
> >>>>>>> [INFO]    task-segment: [compile]
> >>>>>>> [INFO]
> >>>>>>> ------------------------------------------------------------------------
> >>>>>>> Downloading:
> >>>>>>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom
> >>>>>>> Downloading:
> >>>>>>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom
> >>>>>>> [INFO]
> >>>>>>> ------------------------------------------------------------------------
> >>>>>>> [ERROR] BUILD ERROR
> >>>>>>> [INFO]
> >>>>>>> ------------------------------------------------------------------------
> >>>>>>> [INFO] Failed to resolve artifact.
> >>>>>>>
> >>>>>>> GroupId: org.apache.maven.plugins
> >>>>>>> ArtifactId: maven-resources-plugin
> >>>>>>> Version: 2.2
> >>>>>>>
> >>>>>>> Reason: Unable to download the artifact from any repository
> >>>>>>>
> >>>>>>>  org.apache.maven.plugins:maven-resources-plugin:pom:2.2
> >>>>>>>
> >>>>>>> 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: Wed Sep 10 10:43:11 IST 2008
> >>>>>>> [INFO] Final Memory: 4M/494M
> >>>>>>> [INFO]
> >>>>>>> ------------------------------------------------------------------------
> >>>>>>>
> >>>>>>>
> >>>>>>> I tried downloading maven-resources-plugin-2.2.pom and replaced it
> >>>>>>> with
> >>>>>>> pom.xml in the repacking directory. But still same errors. Please
> >>>>>>> suggest.
> >>>>>>>
> >>>>>>> Shubham Saraswat
> >>>>>>> * Office:  +91 80 2852 0261  Extn- 15258  | Mobile: +91 9902006402
> >>>>>>> Infosys(r)
> >>>>>>> P O W E R E D   B Y   I N T  E L L E C T
> >>>>>>>  D R I V E N   B Y   V A L U E S
> >>>>>>>
> >>>>>>>
> >>>>>>> **************** CAUTION - Disclaimer *****************
> >>>>>>> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION
> >>>>>>> intended
> >>>>>>> solely
> >>>>>>> for the use of the addressee(s). If you are not the intended
> >>>>>>> recipient,
> >>>>>>> please
> >>>>>>> notify the sender by e-mail and delete the original message.
> >>>>>>> Further,
> >>>>>>> you
> >>>>>>> are not
> >>>>>>> to copy, disclose, or distribute this e-mail or its contents to any
> >>>>>>> other
> >>>>>>> person and
> >>>>>>> any such actions are unlawful. This e-mail may contain viruses.
> >>>>>>> Infosys
> >>>>>>> has taken
> >>>>>>> every reasonable precaution to minimize this risk, but is not liable
> >>>>>>> for
> >>>>>>> any damage
> >>>>>>> you may sustain as a result of any virus in this e-mail. You should
> >>>>>>> carry
> >>>>>>> out your
> >>>>>>> own virus checks before opening the e-mail or attachment. Infosys
> >>>>>>> reserves the
> >>>>>>> right to monitor and review the content of all messages sent to or
> >>>>>>> from
> >>>>>>> this e-mail
> >>>>>>> address. Messages sent to or from this e-mail address may be stored
> >>>>>>> on
> >>>>>>> the
> >>>>>>> Infosys e-mail system.
> >>>>>>> ***INFOSYS******** End of Disclaimer ********INFOSYS***
> >>>>>>>
> >>>>>>
> >>>>>> ---------------------------------------------------------------------
> >>>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >>>>>> For additional commands, e-mail: users-help@maven.apache.org
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>> :confused:
> >>>>> --
> >>>>> View this message in context:
> >>>>> http://n2.nabble.com/Hi-tp1082498p1094494.html
> >>>>> Sent from the maven users mailing list archive at Nabble.com.
> >>>>>
> >>>>>
> >>>>> ---------------------------------------------------------------------
> >>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >>>>> For additional commands, e-mail: users-help@maven.apache.org
> >>>>>
> >>>>>
> >>>>
> >>>> ---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >>>> For additional commands, e-mail: users-help@maven.apache.org
> >>>>
> >>>>
> >>>>
> >>>
> >>> --
> >>> View this message in context:
> >>> http://n2.nabble.com/Hi-tp1082498p1094985.html
> >>> Sent from the maven users mailing list archive at Nabble.com.
> >>>
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >>> For additional commands, e-mail: users-help@maven.apache.org
> >>>
> >>>
> >> 
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >> 
> >> 
> >> 
> > 
> > 
> 
> -- 
> View this message in context: http://n2.nabble.com/Hi-tp1082498p1097565.html
> Sent from the maven users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

_________________________________________________________________
Stay up to date on your PC, the Web, and your mobile phone with Windows Live.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093185mrt/direct/01/

modify dependencies in reporting plugins section?

Posted by to...@gi-de.com.
Hi 

using annotations (@Supresswarning) within methods, I fall into

http://jira.codehaus.org/browse/SONAR-33

As described there as workaround, I have to use JavaNCSS 29.50 as a newer 
dependency, that fixes the bug.

As I read in some other postings, (
http://www.nabble.com/-m2--reporting-plugin-extensions-additional-dependencies-td3663610.html#a3679318
) one cannot  modify the dependencies of a plugin within the 
<reporting><plugins> section.

=> how can I get my reporting plugin to work, now?

thanx, Torsten





Re: Hi

Posted by shubham <Sh...@infosys.com>.
Hi,

I that issue is solved now but i am facing another issue now:-

Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-6/maven-site-plugin-2.0-beta-6.pom
10K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-6/maven-site-plugin-2.0-beta-6.jar
118K downloaded
[INFO] Reloading plugin container for:
org.apache.maven.plugins:maven-install-plugin. The plugin artifact has
changed.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Required goal not found:
org.apache.maven.plugins:maven-install-plugin:install in
org.apache.maven.plugins:maven-install-plugin:2.2
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 8 minutes 25 seconds
[INFO] Finished at: Thu Sep 18 13:04:33 IST 2008
[INFO] Final Memory: 15M/478M
[INFO]
------------------------------------------------------------------------


tried running mvn instal -npu command as well but no luck....any pointers?



Thanks
Shubham :)





shubham wrote:
> 
> Proxy details :-   
> <!-- proxies
>    | This is a list of proxies which can be used on this machine to
> connect to the network.
>    | Unless otherwise specified (by system property or command-line
> switch), the first proxy
>    | specification in this list marked as active will be used.
>    |-->
>   <proxies>
>     <!-- proxy
>      | Specification for one proxy, to be used in connecting to the
> network.
>      |
>     <proxy>
>       <id>optional</id>
>       <active>true</active>
>       <protocol>http</protocol>
>       <username>XXX</username>
>       <password>YYY<password>
>       <host>proxy IP address</host>
>       <port>80</port>
>       <nonProxyHosts>http://repo1.maven.org/maven2</nonProxyHosts>
>     </proxy>
>     -->
>   </proxies>
> 
> 
> MVN command
> 
> $ mvn -X install:install-file -DgroupId=swarmcache -DartifactId=swarmcache
> -Dversion=1.0RC2 -Dpackaging=jar
> -Dfile=/ebilling/application/edxadmin/swarm
> + Error stacktraces are turned on.
> Maven version: 2.0.9
> Java version: 1.5.0_04
> OS name: "sunos" version: "5.10" arch: "sparc" Family: "unix"
> [DEBUG] Building Maven user-level plugin registry from:
> '/ebilling/application/edxadmin/.m2/plugin-registry.xml'
> [DEBUG] Building Maven global-level plugin registry from:
> '/ebilling/application/edxadmin/apache-maven-2.0.9/conf/plugin-registry.xml'
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'install'.
> [DEBUG] Loading plugin prefixes from group: org.apache.maven.plugins
> [INFO] org.apache.maven.plugins: checking for updates from central
> [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be
> retrieved from repository: central due to an error: Error transferring
> file
> [DEBUG] Exception
> org.apache.maven.wagon.TransferFailedException: Error transferring file
>         at
> org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:104)
>         at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
>         at
> org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:470)
>         at
> org.apache.maven.artifact.manager.DefaultWagonManager.getArtifactMetadata(DefaultWagonManager.java:370)
>         at
> org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolve(DefaultRepositoryMetadataManager.java:97)
>         at
> org.apache.maven.plugin.DefaultPluginMappingManager.loadPluginMappings(DefaultPluginMappingManager.java:103)
>         at
> org.apache.maven.plugin.DefaultPluginMappingManager.loadPluginMappings(DefaultPluginMappingManager.java:87)
>         at
> org.apache.maven.plugin.DefaultPluginMappingManager.getByPrefix(DefaultPluginMappingManager.java:61)
>         at
> org.apache.maven.plugin.DefaultPluginManager.getPluginDefinitionForPrefix(DefaultPluginManager.java:154)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1468)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:405)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: java.net.UnknownHostException: repo1.maven.org
>         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
>         at java.net.Socket.connect(Socket.java:507)
>         at java.net.Socket.connect(Socket.java:457)
>         at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
>         at sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
>         at sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
>         at sun.net.www.http.HttpClient.<init>(HttpClient.java:214)
>         at sun.net.www.http.HttpClient.New(HttpClient.java:287)
>         at sun.net.www.http.HttpClient.New(HttpClient.java:299)
>         at
> sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:792)
>         at
> sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:744)
>         at
> sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:669)
>         at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:913)
>         at
> org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:83)
>         ... 22 more
> [INFO] Repository 'central' will be blacklisted
> [DEBUG] Loading plugin prefixes from group: org.codehaus.mojo
> [DEBUG] Skipping blacklisted repository central
> [DEBUG] Skipping blacklisted repository central
> [DEBUG] Trying repository central
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.2/maven-install-plugin-2.2.pom
> [DEBUG] Unable to get resource
> 'org.apache.maven.plugins:maven-install-plugin:pom:2.2' from repository
> central (http://repo1.maven.org/maven2)
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> 
> GroupId: org.apache.maven.plugins
> ArtifactId: maven-install-plugin
> Version: 2.2
> 
> Reason: Unable to download the artifact from any repository
> 
>   org.apache.maven.plugins:maven-install-plugin:pom:2.2
> 
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2)
> 
> 
> [INFO]
> ------------------------------------------------------------------------
> [DEBUG] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Unable to build
> project for plugin 'org.apache.maven.plugins:maven-install-plugin': POM
> 'org.apache.maven.plugins:maven-install-plugin' not found in repository:
> Unable to download the artifact from any repository
> 
>   org.apache.maven.plugins:maven-install-plugin:pom:2.2
> 
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2)
>  for project org.apache.maven.plugins:maven-install-plugin
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1291)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1542)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:405)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.InvalidPluginException: Unable to build
> project for plugin 'org.apache.maven.plugins:maven-install-plugin': POM
> 'org.apache.maven.plugins:maven-install-plugin' not found in repository:
> Unable to download the artifact from any repository
> 
>   org.apache.maven.plugins:maven-install-plugin:pom:2.2
> 
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2)
>  for project org.apache.maven.plugins:maven-install-plugin
>         at
> org.apache.maven.plugin.DefaultPluginManager.checkRequiredMavenVersion(DefaultPluginManager.java:281)
>         at
> org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:197)
>         at
> org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:176)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1274)
>         ... 14 more
> Caused by: org.apache.maven.project.ProjectBuildingException: POM
> 'org.apache.maven.plugins:maven-install-plugin' not found in repository:
> Unable to download the artifact from any repository
> 
>   org.apache.maven.plugins:maven-install-plugin:pom:2.2
> 
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2)
>  for project org.apache.maven.plugins:maven-install-plugin
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:603)
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:249)
>         at
> org.apache.maven.plugin.DefaultPluginManager.checkRequiredMavenVersion(DefaultPluginManager.java:265)
>         ... 17 more
> Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
> Unable to download the artifact from any repository
> 
>   org.apache.maven.plugins:maven-install-plugin:pom:2.2
> 
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2)
> 
>         at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:212)
>         at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:74)
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:556)
>         ... 19 more
> Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to
> download the artifact from any repository
>         at
> org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:331)
>         at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:200)
>         ... 21 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1 second
> [INFO] Finished at: Wed Sep 17 17:38:34 IST 2008
> [INFO] Final Memory: 4M/494M
> [INFO]
> ------------------------------------------------------------------------
> 
> 
> 
> Nick Stolwijk wrote:
>> 
>> Could you post your (anonimized) proxy part of settings xml and the
>> output of the mvn commando with an extra -X parameter?
>> 
>> With regards,
>> 
>> Nick Stolwijk
>> ~Java Developer~
>> 
>> Iprofs BV.
>> Claus Sluterweg 125
>> 2012 WS Haarlem
>> www.iprofs.nl
>> 
>> 
>> 
>> On Wed, Sep 17, 2008 at 1:49 PM, shubham <Sh...@infosys.com>
>> wrote:
>>>
>>> I have updated the settings.xml with the proxy details and now the error
>>> is
>>> :-
>>> $ mvn install:install-file -DgroupId=swarmcache -DartifactId=swarmcache
>>> -Dversion=1.0RC2 -Dpackaging=jar
>>> -Dfile=/ebilling/application/edxadmin/swarm
>>> [INFO] Scanning for projects...
>>> [INFO] Searching repository for plugin with prefix: 'install'.
>>> [INFO] org.apache.maven.plugins: checking for updates from central
>>> [WARNING] repository metadata for: 'org.apache.maven.plugins' could not
>>> be
>>> retrieved from repository: central due to an error: Error transferring
>>> file
>>> [INFO] Repository 'central' will be blacklisted
>>> Downloading:
>>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.2/maven-install-plugin-2.2.pom
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD ERROR
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Failed to resolve artifact.
>>>
>>> GroupId: org.apache.maven.plugins
>>> ArtifactId: maven-install-plugin
>>> Version: 2.2
>>>
>>> Reason: Unable to download the artifact from any repository
>>>
>>>  org.apache.maven.plugins:maven-install-plugin:pom:2.2
>>>
>>> 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: Wed Sep 17 16:58:01 IST 2008
>>> [INFO] Final Memory: 4M/494M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>>
>>> I have just no idea is it still not able to connect to internet or isue
>>> is
>>> something else?
>>>
>>> Nick Stolwijk wrote:
>>>>
>>>> I don't know about Internet Explorer or Windows script, (Ain't using
>>>> both).
>>>>
>>>> But here are a few options:
>>>>
>>>> Maybe you could let this script also generate a settings.xml [1] with
>>>> the right proxy information. As far as I know Maven can't handle this
>>>> type of scripts.
>>>>
>>>> Another option would be to adjust mvn.bat to read the script file and
>>>> extract the proxy from it and give it to the maven program with
>>>> command line parameters.
>>>>
>>>> Or you could read the proxy script yourself and assume that it won't
>>>> change much and enter the proxy information into the settings.xml
>>>> yourself.
>>>>
>>>> When you enter proxy information into the settings.xml and you want to
>>>> use the active flag to switch it off, please take note of MNG-2387
>>>> [2].
>>>>
>>>> [1] http://maven.apache.org/ref/2.0.7/maven-settings/settings.html
>>>> [2] http://jira.codehaus.org/browse/MNG-2387
>>>>
>>>> Hth,
>>>>
>>>> Nick Stolwijk
>>>> ~Java Developer~
>>>>
>>>> Iprofs BV.
>>>> Claus Sluterweg 125
>>>> 2012 WS Haarlem
>>>> www.iprofs.nl
>>>>
>>>>
>>>>
>>>> On Wed, Sep 17, 2008 at 8:02 AM, shubham <Sh...@infosys.com>
>>>> wrote:
>>>>>
>>>>> Hi Nick,
>>>>>
>>>>> Thanks a lot for your reply
>>>>> I have internet connection and the issue is i am trying to access is
>>>>> from
>>>>> office...there is no proxy although we have set some script in Lan
>>>>> settings
>>>>> in IE as configuration scriptand when i tried through web browser i
>>>>> was
>>>>> able
>>>>> to open the site.
>>>>>
>>>>> can i use this script also instead of proxy?If yes how?
>>>>>
>>>>> Thanks in advance.
>>>>>
>>>>> Shubham
>>>>>
>>>>>
>>>>> Nick Stolwijk wrote:
>>>>>>
>>>>>> Do you have a connection to the internet? Maven will download all the
>>>>>> plugins and dependencies Maven and your project needs. If it can't
>>>>>> connect to the central repository it will not work. When your browser
>>>>>> normally connect to the internet through a proxy, specify this proxy
>>>>>> in the settings.xml inside your maven installation directory
>>>>>> (conf/settings.xml).
>>>>>>
>>>>>> Hth,
>>>>>>
>>>>>> Nick Stolwijk
>>>>>> ~Java Developer~
>>>>>>
>>>>>> Iprofs BV.
>>>>>> Claus Sluterweg 125
>>>>>> 2012 WS Haarlem
>>>>>> www.iprofs.nl
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Thu, Sep 11, 2008 at 12:39 PM, Shubham Saraswat
>>>>>> <Sh...@infosys.com> wrote:
>>>>>>> Hi,
>>>>>>>
>>>>>>> I need maven for repackaging LGPL for Edocs installation.
>>>>>>>
>>>>>>> I downloaded Mavan 2.0.9 and set the PATH and M2_HOME
>>>>>>>
>>>>>>> Mvn -version is working fine. But mvn compile is giving following
>>>>>>> error:-
>>>>>>>
>>>>>>>
>>>>>>> # mvn compile
>>>>>>> [INFO] Scanning for projects...
>>>>>>> [INFO]
>>>>>>> ------------------------------------------------------------------------
>>>>>>> [INFO] Building Maven Default Project
>>>>>>> [INFO]    task-segment: [compile]
>>>>>>> [INFO]
>>>>>>> ------------------------------------------------------------------------
>>>>>>> Downloading:
>>>>>>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom
>>>>>>> Downloading:
>>>>>>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom
>>>>>>> [INFO]
>>>>>>> ------------------------------------------------------------------------
>>>>>>> [ERROR] BUILD ERROR
>>>>>>> [INFO]
>>>>>>> ------------------------------------------------------------------------
>>>>>>> [INFO] Failed to resolve artifact.
>>>>>>>
>>>>>>> GroupId: org.apache.maven.plugins
>>>>>>> ArtifactId: maven-resources-plugin
>>>>>>> Version: 2.2
>>>>>>>
>>>>>>> Reason: Unable to download the artifact from any repository
>>>>>>>
>>>>>>>  org.apache.maven.plugins:maven-resources-plugin:pom:2.2
>>>>>>>
>>>>>>> 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: Wed Sep 10 10:43:11 IST 2008
>>>>>>> [INFO] Final Memory: 4M/494M
>>>>>>> [INFO]
>>>>>>> ------------------------------------------------------------------------
>>>>>>>
>>>>>>>
>>>>>>> I tried downloading maven-resources-plugin-2.2.pom and replaced it
>>>>>>> with
>>>>>>> pom.xml in the repacking directory. But still same errors. Please
>>>>>>> suggest.
>>>>>>>
>>>>>>> Shubham Saraswat
>>>>>>> * Office:  +91 80 2852 0261  Extn- 15258  | Mobile: +91 9902006402
>>>>>>> Infosys(r)
>>>>>>> P O W E R E D   B Y   I N T  E L L E C T
>>>>>>>  D R I V E N   B Y   V A L U E S
>>>>>>>
>>>>>>>
>>>>>>> **************** CAUTION - Disclaimer *****************
>>>>>>> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION
>>>>>>> intended
>>>>>>> solely
>>>>>>> for the use of the addressee(s). If you are not the intended
>>>>>>> recipient,
>>>>>>> please
>>>>>>> notify the sender by e-mail and delete the original message.
>>>>>>> Further,
>>>>>>> you
>>>>>>> are not
>>>>>>> to copy, disclose, or distribute this e-mail or its contents to any
>>>>>>> other
>>>>>>> person and
>>>>>>> any such actions are unlawful. This e-mail may contain viruses.
>>>>>>> Infosys
>>>>>>> has taken
>>>>>>> every reasonable precaution to minimize this risk, but is not liable
>>>>>>> for
>>>>>>> any damage
>>>>>>> you may sustain as a result of any virus in this e-mail. You should
>>>>>>> carry
>>>>>>> out your
>>>>>>> own virus checks before opening the e-mail or attachment. Infosys
>>>>>>> reserves the
>>>>>>> right to monitor and review the content of all messages sent to or
>>>>>>> from
>>>>>>> this e-mail
>>>>>>> address. Messages sent to or from this e-mail address may be stored
>>>>>>> on
>>>>>>> the
>>>>>>> Infosys e-mail system.
>>>>>>> ***INFOSYS******** End of Disclaimer ********INFOSYS***
>>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>>>
>>>>>>
>>>>>>
>>>>> :confused:
>>>>> --
>>>>> View this message in context:
>>>>> http://n2.nabble.com/Hi-tp1082498p1094494.html
>>>>> Sent from the maven users mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://n2.nabble.com/Hi-tp1082498p1094985.html
>>> Sent from the maven users mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://n2.nabble.com/Hi-tp1082498p1097565.html
Sent from the maven users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Hi

Posted by shubham <Sh...@infosys.com>.
Proxy details :-   
<!-- proxies
   | This is a list of proxies which can be used on this machine to connect
to the network.
   | Unless otherwise specified (by system property or command-line switch),
the first proxy
   | specification in this list marked as active will be used.
   |-->
  <proxies>
    <!-- proxy
     | Specification for one proxy, to be used in connecting to the network.
     |
    <proxy>
      <id>optional</id>
      <active>true</active>
      <protocol>http</protocol>
      <username>XXX</username>
      <password>YYY<password>
      <host>proxy IP address</host>
      <port>80</port>
      <nonProxyHosts>http://repo1.maven.org/maven2</nonProxyHosts>
    </proxy>
    -->
  </proxies>


MVN command

$ mvn -X install:install-file -DgroupId=swarmcache -DartifactId=swarmcache
-Dversion=1.0RC2 -Dpackaging=jar -Dfile=/ebilling/application/edxadmin/swarm
+ Error stacktraces are turned on.
Maven version: 2.0.9
Java version: 1.5.0_04
OS name: "sunos" version: "5.10" arch: "sparc" Family: "unix"
[DEBUG] Building Maven user-level plugin registry from:
'/ebilling/application/edxadmin/.m2/plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from:
'/ebilling/application/edxadmin/apache-maven-2.0.9/conf/plugin-registry.xml'
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'install'.
[DEBUG] Loading plugin prefixes from group: org.apache.maven.plugins
[INFO] org.apache.maven.plugins: checking for updates from central
[WARNING] repository metadata for: 'org.apache.maven.plugins' could not be
retrieved from repository: central due to an error: Error transferring file
[DEBUG] Exception
org.apache.maven.wagon.TransferFailedException: Error transferring file
        at
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:104)
        at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
        at
org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:470)
        at
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifactMetadata(DefaultWagonManager.java:370)
        at
org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolve(DefaultRepositoryMetadataManager.java:97)
        at
org.apache.maven.plugin.DefaultPluginMappingManager.loadPluginMappings(DefaultPluginMappingManager.java:103)
        at
org.apache.maven.plugin.DefaultPluginMappingManager.loadPluginMappings(DefaultPluginMappingManager.java:87)
        at
org.apache.maven.plugin.DefaultPluginMappingManager.getByPrefix(DefaultPluginMappingManager.java:61)
        at
org.apache.maven.plugin.DefaultPluginManager.getPluginDefinitionForPrefix(DefaultPluginManager.java:154)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1468)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:405)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: java.net.UnknownHostException: repo1.maven.org
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
        at java.net.Socket.connect(Socket.java:507)
        at java.net.Socket.connect(Socket.java:457)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:214)
        at sun.net.www.http.HttpClient.New(HttpClient.java:287)
        at sun.net.www.http.HttpClient.New(HttpClient.java:299)
        at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:792)
        at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:744)
        at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:669)
        at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:913)
        at
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:83)
        ... 22 more
[INFO] Repository 'central' will be blacklisted
[DEBUG] Loading plugin prefixes from group: org.codehaus.mojo
[DEBUG] Skipping blacklisted repository central
[DEBUG] Skipping blacklisted repository central
[DEBUG] Trying repository central
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.2/maven-install-plugin-2.2.pom
[DEBUG] Unable to get resource
'org.apache.maven.plugins:maven-install-plugin:pom:2.2' from repository
central (http://repo1.maven.org/maven2)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.apache.maven.plugins
ArtifactId: maven-install-plugin
Version: 2.2

Reason: Unable to download the artifact from any repository

  org.apache.maven.plugins:maven-install-plugin:pom:2.2

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)


[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to build
project for plugin 'org.apache.maven.plugins:maven-install-plugin': POM
'org.apache.maven.plugins:maven-install-plugin' not found in repository:
Unable to download the artifact from any repository

  org.apache.maven.plugins:maven-install-plugin:pom:2.2

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)
 for project org.apache.maven.plugins:maven-install-plugin
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1291)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1542)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:405)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.InvalidPluginException: Unable to build
project for plugin 'org.apache.maven.plugins:maven-install-plugin': POM
'org.apache.maven.plugins:maven-install-plugin' not found in repository:
Unable to download the artifact from any repository

  org.apache.maven.plugins:maven-install-plugin:pom:2.2

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)
 for project org.apache.maven.plugins:maven-install-plugin
        at
org.apache.maven.plugin.DefaultPluginManager.checkRequiredMavenVersion(DefaultPluginManager.java:281)
        at
org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:197)
        at
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:176)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1274)
        ... 14 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM
'org.apache.maven.plugins:maven-install-plugin' not found in repository:
Unable to download the artifact from any repository

  org.apache.maven.plugins:maven-install-plugin:pom:2.2

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)
 for project org.apache.maven.plugins:maven-install-plugin
        at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:603)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:249)
        at
org.apache.maven.plugin.DefaultPluginManager.checkRequiredMavenVersion(DefaultPluginManager.java:265)
        ... 17 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
Unable to download the artifact from any repository

  org.apache.maven.plugins:maven-install-plugin:pom:2.2

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:212)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:74)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:556)
        ... 19 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to
download the artifact from any repository
        at
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:331)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:200)
        ... 21 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Wed Sep 17 17:38:34 IST 2008
[INFO] Final Memory: 4M/494M
[INFO]
------------------------------------------------------------------------



Nick Stolwijk wrote:
> 
> Could you post your (anonimized) proxy part of settings xml and the
> output of the mvn commando with an extra -X parameter?
> 
> With regards,
> 
> Nick Stolwijk
> ~Java Developer~
> 
> Iprofs BV.
> Claus Sluterweg 125
> 2012 WS Haarlem
> www.iprofs.nl
> 
> 
> 
> On Wed, Sep 17, 2008 at 1:49 PM, shubham <Sh...@infosys.com>
> wrote:
>>
>> I have updated the settings.xml with the proxy details and now the error
>> is
>> :-
>> $ mvn install:install-file -DgroupId=swarmcache -DartifactId=swarmcache
>> -Dversion=1.0RC2 -Dpackaging=jar
>> -Dfile=/ebilling/application/edxadmin/swarm
>> [INFO] Scanning for projects...
>> [INFO] Searching repository for plugin with prefix: 'install'.
>> [INFO] org.apache.maven.plugins: checking for updates from central
>> [WARNING] repository metadata for: 'org.apache.maven.plugins' could not
>> be
>> retrieved from repository: central due to an error: Error transferring
>> file
>> [INFO] Repository 'central' will be blacklisted
>> Downloading:
>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.2/maven-install-plugin-2.2.pom
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Failed to resolve artifact.
>>
>> GroupId: org.apache.maven.plugins
>> ArtifactId: maven-install-plugin
>> Version: 2.2
>>
>> Reason: Unable to download the artifact from any repository
>>
>>  org.apache.maven.plugins:maven-install-plugin:pom:2.2
>>
>> 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: Wed Sep 17 16:58:01 IST 2008
>> [INFO] Final Memory: 4M/494M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>>
>> I have just no idea is it still not able to connect to internet or isue
>> is
>> something else?
>>
>> Nick Stolwijk wrote:
>>>
>>> I don't know about Internet Explorer or Windows script, (Ain't using
>>> both).
>>>
>>> But here are a few options:
>>>
>>> Maybe you could let this script also generate a settings.xml [1] with
>>> the right proxy information. As far as I know Maven can't handle this
>>> type of scripts.
>>>
>>> Another option would be to adjust mvn.bat to read the script file and
>>> extract the proxy from it and give it to the maven program with
>>> command line parameters.
>>>
>>> Or you could read the proxy script yourself and assume that it won't
>>> change much and enter the proxy information into the settings.xml
>>> yourself.
>>>
>>> When you enter proxy information into the settings.xml and you want to
>>> use the active flag to switch it off, please take note of MNG-2387
>>> [2].
>>>
>>> [1] http://maven.apache.org/ref/2.0.7/maven-settings/settings.html
>>> [2] http://jira.codehaus.org/browse/MNG-2387
>>>
>>> Hth,
>>>
>>> Nick Stolwijk
>>> ~Java Developer~
>>>
>>> Iprofs BV.
>>> Claus Sluterweg 125
>>> 2012 WS Haarlem
>>> www.iprofs.nl
>>>
>>>
>>>
>>> On Wed, Sep 17, 2008 at 8:02 AM, shubham <Sh...@infosys.com>
>>> wrote:
>>>>
>>>> Hi Nick,
>>>>
>>>> Thanks a lot for your reply
>>>> I have internet connection and the issue is i am trying to access is
>>>> from
>>>> office...there is no proxy although we have set some script in Lan
>>>> settings
>>>> in IE as configuration scriptand when i tried through web browser i was
>>>> able
>>>> to open the site.
>>>>
>>>> can i use this script also instead of proxy?If yes how?
>>>>
>>>> Thanks in advance.
>>>>
>>>> Shubham
>>>>
>>>>
>>>> Nick Stolwijk wrote:
>>>>>
>>>>> Do you have a connection to the internet? Maven will download all the
>>>>> plugins and dependencies Maven and your project needs. If it can't
>>>>> connect to the central repository it will not work. When your browser
>>>>> normally connect to the internet through a proxy, specify this proxy
>>>>> in the settings.xml inside your maven installation directory
>>>>> (conf/settings.xml).
>>>>>
>>>>> Hth,
>>>>>
>>>>> Nick Stolwijk
>>>>> ~Java Developer~
>>>>>
>>>>> Iprofs BV.
>>>>> Claus Sluterweg 125
>>>>> 2012 WS Haarlem
>>>>> www.iprofs.nl
>>>>>
>>>>>
>>>>>
>>>>> On Thu, Sep 11, 2008 at 12:39 PM, Shubham Saraswat
>>>>> <Sh...@infosys.com> wrote:
>>>>>> Hi,
>>>>>>
>>>>>> I need maven for repackaging LGPL for Edocs installation.
>>>>>>
>>>>>> I downloaded Mavan 2.0.9 and set the PATH and M2_HOME
>>>>>>
>>>>>> Mvn -version is working fine. But mvn compile is giving following
>>>>>> error:-
>>>>>>
>>>>>>
>>>>>> # mvn compile
>>>>>> [INFO] Scanning for projects...
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO] Building Maven Default Project
>>>>>> [INFO]    task-segment: [compile]
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> Downloading:
>>>>>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom
>>>>>> Downloading:
>>>>>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> [ERROR] BUILD ERROR
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO] Failed to resolve artifact.
>>>>>>
>>>>>> GroupId: org.apache.maven.plugins
>>>>>> ArtifactId: maven-resources-plugin
>>>>>> Version: 2.2
>>>>>>
>>>>>> Reason: Unable to download the artifact from any repository
>>>>>>
>>>>>>  org.apache.maven.plugins:maven-resources-plugin:pom:2.2
>>>>>>
>>>>>> 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: Wed Sep 10 10:43:11 IST 2008
>>>>>> [INFO] Final Memory: 4M/494M
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>>
>>>>>>
>>>>>> I tried downloading maven-resources-plugin-2.2.pom and replaced it
>>>>>> with
>>>>>> pom.xml in the repacking directory. But still same errors. Please
>>>>>> suggest.
>>>>>>
>>>>>> Shubham Saraswat
>>>>>> * Office:  +91 80 2852 0261  Extn- 15258  | Mobile: +91 9902006402
>>>>>> Infosys(r)
>>>>>> P O W E R E D   B Y   I N T  E L L E C T
>>>>>>  D R I V E N   B Y   V A L U E S
>>>>>>
>>>>>>
>>>>>> **************** CAUTION - Disclaimer *****************
>>>>>> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
>>>>>> solely
>>>>>> for the use of the addressee(s). If you are not the intended
>>>>>> recipient,
>>>>>> please
>>>>>> notify the sender by e-mail and delete the original message. Further,
>>>>>> you
>>>>>> are not
>>>>>> to copy, disclose, or distribute this e-mail or its contents to any
>>>>>> other
>>>>>> person and
>>>>>> any such actions are unlawful. This e-mail may contain viruses.
>>>>>> Infosys
>>>>>> has taken
>>>>>> every reasonable precaution to minimize this risk, but is not liable
>>>>>> for
>>>>>> any damage
>>>>>> you may sustain as a result of any virus in this e-mail. You should
>>>>>> carry
>>>>>> out your
>>>>>> own virus checks before opening the e-mail or attachment. Infosys
>>>>>> reserves the
>>>>>> right to monitor and review the content of all messages sent to or
>>>>>> from
>>>>>> this e-mail
>>>>>> address. Messages sent to or from this e-mail address may be stored
>>>>>> on
>>>>>> the
>>>>>> Infosys e-mail system.
>>>>>> ***INFOSYS******** End of Disclaimer ********INFOSYS***
>>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>>
>>>>>
>>>>>
>>>> :confused:
>>>> --
>>>> View this message in context:
>>>> http://n2.nabble.com/Hi-tp1082498p1094494.html
>>>> Sent from the maven users mailing list archive at Nabble.com.
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://n2.nabble.com/Hi-tp1082498p1094985.html
>> Sent from the maven users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 

-- 
View this message in context: http://n2.nabble.com/Hi-tp1082498p1095021.html
Sent from the maven users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Hi

Posted by Nick Stolwijk <ni...@gmail.com>.
Could you post your (anonimized) proxy part of settings xml and the
output of the mvn commando with an extra -X parameter?

With regards,

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl



On Wed, Sep 17, 2008 at 1:49 PM, shubham <Sh...@infosys.com> wrote:
>
> I have updated the settings.xml with the proxy details and now the error is
> :-
> $ mvn install:install-file -DgroupId=swarmcache -DartifactId=swarmcache
> -Dversion=1.0RC2 -Dpackaging=jar -Dfile=/ebilling/application/edxadmin/swarm
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'install'.
> [INFO] org.apache.maven.plugins: checking for updates from central
> [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be
> retrieved from repository: central due to an error: Error transferring file
> [INFO] Repository 'central' will be blacklisted
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.2/maven-install-plugin-2.2.pom
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> GroupId: org.apache.maven.plugins
> ArtifactId: maven-install-plugin
> Version: 2.2
>
> Reason: Unable to download the artifact from any repository
>
>  org.apache.maven.plugins:maven-install-plugin:pom:2.2
>
> 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: Wed Sep 17 16:58:01 IST 2008
> [INFO] Final Memory: 4M/494M
> [INFO]
> ------------------------------------------------------------------------
>
>
> I have just no idea is it still not able to connect to internet or isue is
> something else?
>
> Nick Stolwijk wrote:
>>
>> I don't know about Internet Explorer or Windows script, (Ain't using
>> both).
>>
>> But here are a few options:
>>
>> Maybe you could let this script also generate a settings.xml [1] with
>> the right proxy information. As far as I know Maven can't handle this
>> type of scripts.
>>
>> Another option would be to adjust mvn.bat to read the script file and
>> extract the proxy from it and give it to the maven program with
>> command line parameters.
>>
>> Or you could read the proxy script yourself and assume that it won't
>> change much and enter the proxy information into the settings.xml
>> yourself.
>>
>> When you enter proxy information into the settings.xml and you want to
>> use the active flag to switch it off, please take note of MNG-2387
>> [2].
>>
>> [1] http://maven.apache.org/ref/2.0.7/maven-settings/settings.html
>> [2] http://jira.codehaus.org/browse/MNG-2387
>>
>> Hth,
>>
>> Nick Stolwijk
>> ~Java Developer~
>>
>> Iprofs BV.
>> Claus Sluterweg 125
>> 2012 WS Haarlem
>> www.iprofs.nl
>>
>>
>>
>> On Wed, Sep 17, 2008 at 8:02 AM, shubham <Sh...@infosys.com>
>> wrote:
>>>
>>> Hi Nick,
>>>
>>> Thanks a lot for your reply
>>> I have internet connection and the issue is i am trying to access is from
>>> office...there is no proxy although we have set some script in Lan
>>> settings
>>> in IE as configuration scriptand when i tried through web browser i was
>>> able
>>> to open the site.
>>>
>>> can i use this script also instead of proxy?If yes how?
>>>
>>> Thanks in advance.
>>>
>>> Shubham
>>>
>>>
>>> Nick Stolwijk wrote:
>>>>
>>>> Do you have a connection to the internet? Maven will download all the
>>>> plugins and dependencies Maven and your project needs. If it can't
>>>> connect to the central repository it will not work. When your browser
>>>> normally connect to the internet through a proxy, specify this proxy
>>>> in the settings.xml inside your maven installation directory
>>>> (conf/settings.xml).
>>>>
>>>> Hth,
>>>>
>>>> Nick Stolwijk
>>>> ~Java Developer~
>>>>
>>>> Iprofs BV.
>>>> Claus Sluterweg 125
>>>> 2012 WS Haarlem
>>>> www.iprofs.nl
>>>>
>>>>
>>>>
>>>> On Thu, Sep 11, 2008 at 12:39 PM, Shubham Saraswat
>>>> <Sh...@infosys.com> wrote:
>>>>> Hi,
>>>>>
>>>>> I need maven for repackaging LGPL for Edocs installation.
>>>>>
>>>>> I downloaded Mavan 2.0.9 and set the PATH and M2_HOME
>>>>>
>>>>> Mvn -version is working fine. But mvn compile is giving following
>>>>> error:-
>>>>>
>>>>>
>>>>> # mvn compile
>>>>> [INFO] Scanning for projects...
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Building Maven Default Project
>>>>> [INFO]    task-segment: [compile]
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> Downloading:
>>>>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom
>>>>> Downloading:
>>>>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [ERROR] BUILD ERROR
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Failed to resolve artifact.
>>>>>
>>>>> GroupId: org.apache.maven.plugins
>>>>> ArtifactId: maven-resources-plugin
>>>>> Version: 2.2
>>>>>
>>>>> Reason: Unable to download the artifact from any repository
>>>>>
>>>>>  org.apache.maven.plugins:maven-resources-plugin:pom:2.2
>>>>>
>>>>> 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: Wed Sep 10 10:43:11 IST 2008
>>>>> [INFO] Final Memory: 4M/494M
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>>
>>>>> I tried downloading maven-resources-plugin-2.2.pom and replaced it with
>>>>> pom.xml in the repacking directory. But still same errors. Please
>>>>> suggest.
>>>>>
>>>>> Shubham Saraswat
>>>>> * Office:  +91 80 2852 0261  Extn- 15258  | Mobile: +91 9902006402
>>>>> Infosys(r)
>>>>> P O W E R E D   B Y   I N T  E L L E C T
>>>>>  D R I V E N   B Y   V A L U E S
>>>>>
>>>>>
>>>>> **************** CAUTION - Disclaimer *****************
>>>>> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
>>>>> solely
>>>>> for the use of the addressee(s). If you are not the intended recipient,
>>>>> please
>>>>> notify the sender by e-mail and delete the original message. Further,
>>>>> you
>>>>> are not
>>>>> to copy, disclose, or distribute this e-mail or its contents to any
>>>>> other
>>>>> person and
>>>>> any such actions are unlawful. This e-mail may contain viruses. Infosys
>>>>> has taken
>>>>> every reasonable precaution to minimize this risk, but is not liable
>>>>> for
>>>>> any damage
>>>>> you may sustain as a result of any virus in this e-mail. You should
>>>>> carry
>>>>> out your
>>>>> own virus checks before opening the e-mail or attachment. Infosys
>>>>> reserves the
>>>>> right to monitor and review the content of all messages sent to or from
>>>>> this e-mail
>>>>> address. Messages sent to or from this e-mail address may be stored on
>>>>> the
>>>>> Infosys e-mail system.
>>>>> ***INFOSYS******** End of Disclaimer ********INFOSYS***
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>
>>>>
>>>>
>>> :confused:
>>> --
>>> View this message in context:
>>> http://n2.nabble.com/Hi-tp1082498p1094494.html
>>> Sent from the maven users mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>
>
> --
> View this message in context: http://n2.nabble.com/Hi-tp1082498p1094985.html
> Sent from the maven users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Hi

Posted by shubham <Sh...@infosys.com>.
I have updated the settings.xml with the proxy details and now the error is
:-
$ mvn install:install-file -DgroupId=swarmcache -DartifactId=swarmcache
-Dversion=1.0RC2 -Dpackaging=jar -Dfile=/ebilling/application/edxadmin/swarm
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'install'.
[INFO] org.apache.maven.plugins: checking for updates from central
[WARNING] repository metadata for: 'org.apache.maven.plugins' could not be
retrieved from repository: central due to an error: Error transferring file
[INFO] Repository 'central' will be blacklisted
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.2/maven-install-plugin-2.2.pom
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.apache.maven.plugins
ArtifactId: maven-install-plugin
Version: 2.2

Reason: Unable to download the artifact from any repository

  org.apache.maven.plugins:maven-install-plugin:pom:2.2

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: Wed Sep 17 16:58:01 IST 2008
[INFO] Final Memory: 4M/494M
[INFO]
------------------------------------------------------------------------


I have just no idea is it still not able to connect to internet or isue is
something else?

Nick Stolwijk wrote:
> 
> I don't know about Internet Explorer or Windows script, (Ain't using
> both).
> 
> But here are a few options:
> 
> Maybe you could let this script also generate a settings.xml [1] with
> the right proxy information. As far as I know Maven can't handle this
> type of scripts.
> 
> Another option would be to adjust mvn.bat to read the script file and
> extract the proxy from it and give it to the maven program with
> command line parameters.
> 
> Or you could read the proxy script yourself and assume that it won't
> change much and enter the proxy information into the settings.xml
> yourself.
> 
> When you enter proxy information into the settings.xml and you want to
> use the active flag to switch it off, please take note of MNG-2387
> [2].
> 
> [1] http://maven.apache.org/ref/2.0.7/maven-settings/settings.html
> [2] http://jira.codehaus.org/browse/MNG-2387
> 
> Hth,
> 
> Nick Stolwijk
> ~Java Developer~
> 
> Iprofs BV.
> Claus Sluterweg 125
> 2012 WS Haarlem
> www.iprofs.nl
> 
> 
> 
> On Wed, Sep 17, 2008 at 8:02 AM, shubham <Sh...@infosys.com>
> wrote:
>>
>> Hi Nick,
>>
>> Thanks a lot for your reply
>> I have internet connection and the issue is i am trying to access is from
>> office...there is no proxy although we have set some script in Lan
>> settings
>> in IE as configuration scriptand when i tried through web browser i was
>> able
>> to open the site.
>>
>> can i use this script also instead of proxy?If yes how?
>>
>> Thanks in advance.
>>
>> Shubham
>>
>>
>> Nick Stolwijk wrote:
>>>
>>> Do you have a connection to the internet? Maven will download all the
>>> plugins and dependencies Maven and your project needs. If it can't
>>> connect to the central repository it will not work. When your browser
>>> normally connect to the internet through a proxy, specify this proxy
>>> in the settings.xml inside your maven installation directory
>>> (conf/settings.xml).
>>>
>>> Hth,
>>>
>>> Nick Stolwijk
>>> ~Java Developer~
>>>
>>> Iprofs BV.
>>> Claus Sluterweg 125
>>> 2012 WS Haarlem
>>> www.iprofs.nl
>>>
>>>
>>>
>>> On Thu, Sep 11, 2008 at 12:39 PM, Shubham Saraswat
>>> <Sh...@infosys.com> wrote:
>>>> Hi,
>>>>
>>>> I need maven for repackaging LGPL for Edocs installation.
>>>>
>>>> I downloaded Mavan 2.0.9 and set the PATH and M2_HOME
>>>>
>>>> Mvn -version is working fine. But mvn compile is giving following
>>>> error:-
>>>>
>>>>
>>>> # mvn compile
>>>> [INFO] Scanning for projects...
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Building Maven Default Project
>>>> [INFO]    task-segment: [compile]
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> Downloading:
>>>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom
>>>> Downloading:
>>>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR] BUILD ERROR
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Failed to resolve artifact.
>>>>
>>>> GroupId: org.apache.maven.plugins
>>>> ArtifactId: maven-resources-plugin
>>>> Version: 2.2
>>>>
>>>> Reason: Unable to download the artifact from any repository
>>>>
>>>>  org.apache.maven.plugins:maven-resources-plugin:pom:2.2
>>>>
>>>> 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: Wed Sep 10 10:43:11 IST 2008
>>>> [INFO] Final Memory: 4M/494M
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>>
>>>>
>>>> I tried downloading maven-resources-plugin-2.2.pom and replaced it with
>>>> pom.xml in the repacking directory. But still same errors. Please
>>>> suggest.
>>>>
>>>> Shubham Saraswat
>>>> * Office:  +91 80 2852 0261  Extn- 15258  | Mobile: +91 9902006402
>>>> Infosys(r)
>>>> P O W E R E D   B Y   I N T  E L L E C T
>>>>  D R I V E N   B Y   V A L U E S
>>>>
>>>>
>>>> **************** CAUTION - Disclaimer *****************
>>>> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
>>>> solely
>>>> for the use of the addressee(s). If you are not the intended recipient,
>>>> please
>>>> notify the sender by e-mail and delete the original message. Further,
>>>> you
>>>> are not
>>>> to copy, disclose, or distribute this e-mail or its contents to any
>>>> other
>>>> person and
>>>> any such actions are unlawful. This e-mail may contain viruses. Infosys
>>>> has taken
>>>> every reasonable precaution to minimize this risk, but is not liable
>>>> for
>>>> any damage
>>>> you may sustain as a result of any virus in this e-mail. You should
>>>> carry
>>>> out your
>>>> own virus checks before opening the e-mail or attachment. Infosys
>>>> reserves the
>>>> right to monitor and review the content of all messages sent to or from
>>>> this e-mail
>>>> address. Messages sent to or from this e-mail address may be stored on
>>>> the
>>>> Infosys e-mail system.
>>>> ***INFOSYS******** End of Disclaimer ********INFOSYS***
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>>
>> :confused:
>> --
>> View this message in context:
>> http://n2.nabble.com/Hi-tp1082498p1094494.html
>> Sent from the maven users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 

-- 
View this message in context: http://n2.nabble.com/Hi-tp1082498p1094985.html
Sent from the maven users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Hi

Posted by Nick Stolwijk <ni...@gmail.com>.
I don't know about Internet Explorer or Windows script, (Ain't using both).

But here are a few options:

Maybe you could let this script also generate a settings.xml [1] with
the right proxy information. As far as I know Maven can't handle this
type of scripts.

Another option would be to adjust mvn.bat to read the script file and
extract the proxy from it and give it to the maven program with
command line parameters.

Or you could read the proxy script yourself and assume that it won't
change much and enter the proxy information into the settings.xml
yourself.

When you enter proxy information into the settings.xml and you want to
use the active flag to switch it off, please take note of MNG-2387
[2].

[1] http://maven.apache.org/ref/2.0.7/maven-settings/settings.html
[2] http://jira.codehaus.org/browse/MNG-2387

Hth,

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl



On Wed, Sep 17, 2008 at 8:02 AM, shubham <Sh...@infosys.com> wrote:
>
> Hi Nick,
>
> Thanks a lot for your reply
> I have internet connection and the issue is i am trying to access is from
> office...there is no proxy although we have set some script in Lan settings
> in IE as configuration scriptand when i tried through web browser i was able
> to open the site.
>
> can i use this script also instead of proxy?If yes how?
>
> Thanks in advance.
>
> Shubham
>
>
> Nick Stolwijk wrote:
>>
>> Do you have a connection to the internet? Maven will download all the
>> plugins and dependencies Maven and your project needs. If it can't
>> connect to the central repository it will not work. When your browser
>> normally connect to the internet through a proxy, specify this proxy
>> in the settings.xml inside your maven installation directory
>> (conf/settings.xml).
>>
>> Hth,
>>
>> Nick Stolwijk
>> ~Java Developer~
>>
>> Iprofs BV.
>> Claus Sluterweg 125
>> 2012 WS Haarlem
>> www.iprofs.nl
>>
>>
>>
>> On Thu, Sep 11, 2008 at 12:39 PM, Shubham Saraswat
>> <Sh...@infosys.com> wrote:
>>> Hi,
>>>
>>> I need maven for repackaging LGPL for Edocs installation.
>>>
>>> I downloaded Mavan 2.0.9 and set the PATH and M2_HOME
>>>
>>> Mvn -version is working fine. But mvn compile is giving following error:-
>>>
>>>
>>> # mvn compile
>>> [INFO] Scanning for projects...
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Building Maven Default Project
>>> [INFO]    task-segment: [compile]
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> Downloading:
>>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom
>>> Downloading:
>>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD ERROR
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Failed to resolve artifact.
>>>
>>> GroupId: org.apache.maven.plugins
>>> ArtifactId: maven-resources-plugin
>>> Version: 2.2
>>>
>>> Reason: Unable to download the artifact from any repository
>>>
>>>  org.apache.maven.plugins:maven-resources-plugin:pom:2.2
>>>
>>> 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: Wed Sep 10 10:43:11 IST 2008
>>> [INFO] Final Memory: 4M/494M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>>
>>> I tried downloading maven-resources-plugin-2.2.pom and replaced it with
>>> pom.xml in the repacking directory. But still same errors. Please
>>> suggest.
>>>
>>> Shubham Saraswat
>>> * Office:  +91 80 2852 0261  Extn- 15258  | Mobile: +91 9902006402
>>> Infosys(r)
>>> P O W E R E D   B Y   I N T  E L L E C T
>>>  D R I V E N   B Y   V A L U E S
>>>
>>>
>>> **************** CAUTION - Disclaimer *****************
>>> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
>>> solely
>>> for the use of the addressee(s). If you are not the intended recipient,
>>> please
>>> notify the sender by e-mail and delete the original message. Further, you
>>> are not
>>> to copy, disclose, or distribute this e-mail or its contents to any other
>>> person and
>>> any such actions are unlawful. This e-mail may contain viruses. Infosys
>>> has taken
>>> every reasonable precaution to minimize this risk, but is not liable for
>>> any damage
>>> you may sustain as a result of any virus in this e-mail. You should carry
>>> out your
>>> own virus checks before opening the e-mail or attachment. Infosys
>>> reserves the
>>> right to monitor and review the content of all messages sent to or from
>>> this e-mail
>>> address. Messages sent to or from this e-mail address may be stored on
>>> the
>>> Infosys e-mail system.
>>> ***INFOSYS******** End of Disclaimer ********INFOSYS***
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>
> :confused:
> --
> View this message in context: http://n2.nabble.com/Hi-tp1082498p1094494.html
> Sent from the maven users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: Hi

Posted by Martin Gainty <mg...@hotmail.com>.
I have a better solution..why dont you pay the people that help for the answer?

Martin 
______________________________________________ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. 


> Date: Tue, 16 Sep 2008 23:02:53 -0700
> From: Shubham_Saraswat@infosys.com
> To: users@maven.apache.org
> Subject: Re: Hi
> 
> 
> Hi Nick,
> 
> Thanks a lot for your reply 
> I have internet connection and the issue is i am trying to access is from
> office...there is no proxy although we have set some script in Lan settings
> in IE as configuration scriptand when i tried through web browser i was able
> to open the site. 
> 
> can i use this script also instead of proxy?If yes how?
> 
> Thanks in advance.
> 
> Shubham
> 
> 
> Nick Stolwijk wrote:
> > 
> > Do you have a connection to the internet? Maven will download all the
> > plugins and dependencies Maven and your project needs. If it can't
> > connect to the central repository it will not work. When your browser
> > normally connect to the internet through a proxy, specify this proxy
> > in the settings.xml inside your maven installation directory
> > (conf/settings.xml).
> > 
> > Hth,
> > 
> > Nick Stolwijk
> > ~Java Developer~
> > 
> > Iprofs BV.
> > Claus Sluterweg 125
> > 2012 WS Haarlem
> > www.iprofs.nl
> > 
> > 
> > 
> > On Thu, Sep 11, 2008 at 12:39 PM, Shubham Saraswat
> > <Sh...@infosys.com> wrote:
> >> Hi,
> >>
> >> I need maven for repackaging LGPL for Edocs installation.
> >>
> >> I downloaded Mavan 2.0.9 and set the PATH and M2_HOME
> >>
> >> Mvn -version is working fine. But mvn compile is giving following error:-
> >>
> >>
> >> # mvn compile
> >> [INFO] Scanning for projects...
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [INFO] Building Maven Default Project
> >> [INFO]    task-segment: [compile]
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> Downloading:
> >> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom
> >> Downloading:
> >> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [ERROR] BUILD ERROR
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [INFO] Failed to resolve artifact.
> >>
> >> GroupId: org.apache.maven.plugins
> >> ArtifactId: maven-resources-plugin
> >> Version: 2.2
> >>
> >> Reason: Unable to download the artifact from any repository
> >>
> >>  org.apache.maven.plugins:maven-resources-plugin:pom:2.2
> >>
> >> 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: Wed Sep 10 10:43:11 IST 2008
> >> [INFO] Final Memory: 4M/494M
> >> [INFO]
> >> ------------------------------------------------------------------------
> >>
> >>
> >> I tried downloading maven-resources-plugin-2.2.pom and replaced it with
> >> pom.xml in the repacking directory. But still same errors. Please
> >> suggest.
> >>
> >> Shubham Saraswat
> >> * Office:  +91 80 2852 0261  Extn- 15258  | Mobile: +91 9902006402
> >> Infosys(r)
> >> P O W E R E D   B Y   I N T  E L L E C T
> >>  D R I V E N   B Y   V A L U E S
> >>
> >>
> >> **************** CAUTION - Disclaimer *****************
> >> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
> >> solely
> >> for the use of the addressee(s). If you are not the intended recipient,
> >> please
> >> notify the sender by e-mail and delete the original message. Further, you
> >> are not
> >> to copy, disclose, or distribute this e-mail or its contents to any other
> >> person and
> >> any such actions are unlawful. This e-mail may contain viruses. Infosys
> >> has taken
> >> every reasonable precaution to minimize this risk, but is not liable for
> >> any damage
> >> you may sustain as a result of any virus in this e-mail. You should carry
> >> out your
> >> own virus checks before opening the e-mail or attachment. Infosys
> >> reserves the
> >> right to monitor and review the content of all messages sent to or from
> >> this e-mail
> >> address. Messages sent to or from this e-mail address may be stored on
> >> the
> >> Infosys e-mail system.
> >> ***INFOSYS******** End of Disclaimer ********INFOSYS***
> >>
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> > 
> > 
> > 
> :confused:
> -- 
> View this message in context: http://n2.nabble.com/Hi-tp1082498p1094494.html
> Sent from the maven users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

_________________________________________________________________
Get more out of the Web. Learn 10 hidden secrets of Windows Live.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008

Re: Hi

Posted by shubham <Sh...@infosys.com>.
Hi Nick,

Thanks a lot for your reply 
I have internet connection and the issue is i am trying to access is from
office...there is no proxy although we have set some script in Lan settings
in IE as configuration scriptand when i tried through web browser i was able
to open the site. 

can i use this script also instead of proxy?If yes how?

Thanks in advance.

Shubham


Nick Stolwijk wrote:
> 
> Do you have a connection to the internet? Maven will download all the
> plugins and dependencies Maven and your project needs. If it can't
> connect to the central repository it will not work. When your browser
> normally connect to the internet through a proxy, specify this proxy
> in the settings.xml inside your maven installation directory
> (conf/settings.xml).
> 
> Hth,
> 
> Nick Stolwijk
> ~Java Developer~
> 
> Iprofs BV.
> Claus Sluterweg 125
> 2012 WS Haarlem
> www.iprofs.nl
> 
> 
> 
> On Thu, Sep 11, 2008 at 12:39 PM, Shubham Saraswat
> <Sh...@infosys.com> wrote:
>> Hi,
>>
>> I need maven for repackaging LGPL for Edocs installation.
>>
>> I downloaded Mavan 2.0.9 and set the PATH and M2_HOME
>>
>> Mvn -version is working fine. But mvn compile is giving following error:-
>>
>>
>> # mvn compile
>> [INFO] Scanning for projects...
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building Maven Default Project
>> [INFO]    task-segment: [compile]
>> [INFO]
>> ------------------------------------------------------------------------
>> Downloading:
>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom
>> Downloading:
>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Failed to resolve artifact.
>>
>> GroupId: org.apache.maven.plugins
>> ArtifactId: maven-resources-plugin
>> Version: 2.2
>>
>> Reason: Unable to download the artifact from any repository
>>
>>  org.apache.maven.plugins:maven-resources-plugin:pom:2.2
>>
>> 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: Wed Sep 10 10:43:11 IST 2008
>> [INFO] Final Memory: 4M/494M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>>
>> I tried downloading maven-resources-plugin-2.2.pom and replaced it with
>> pom.xml in the repacking directory. But still same errors. Please
>> suggest.
>>
>> Shubham Saraswat
>> * Office:  +91 80 2852 0261  Extn- 15258  | Mobile: +91 9902006402
>> Infosys(r)
>> P O W E R E D   B Y   I N T  E L L E C T
>>  D R I V E N   B Y   V A L U E S
>>
>>
>> **************** CAUTION - Disclaimer *****************
>> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
>> solely
>> for the use of the addressee(s). If you are not the intended recipient,
>> please
>> notify the sender by e-mail and delete the original message. Further, you
>> are not
>> to copy, disclose, or distribute this e-mail or its contents to any other
>> person and
>> any such actions are unlawful. This e-mail may contain viruses. Infosys
>> has taken
>> every reasonable precaution to minimize this risk, but is not liable for
>> any damage
>> you may sustain as a result of any virus in this e-mail. You should carry
>> out your
>> own virus checks before opening the e-mail or attachment. Infosys
>> reserves the
>> right to monitor and review the content of all messages sent to or from
>> this e-mail
>> address. Messages sent to or from this e-mail address may be stored on
>> the
>> Infosys e-mail system.
>> ***INFOSYS******** End of Disclaimer ********INFOSYS***
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 
:confused:
-- 
View this message in context: http://n2.nabble.com/Hi-tp1082498p1094494.html
Sent from the maven users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Hi

Posted by Nick Stolwijk <ni...@gmail.com>.
Do you have a connection to the internet? Maven will download all the
plugins and dependencies Maven and your project needs. If it can't
connect to the central repository it will not work. When your browser
normally connect to the internet through a proxy, specify this proxy
in the settings.xml inside your maven installation directory
(conf/settings.xml).

Hth,

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl



On Thu, Sep 11, 2008 at 12:39 PM, Shubham Saraswat
<Sh...@infosys.com> wrote:
> Hi,
>
> I need maven for repackaging LGPL for Edocs installation.
>
> I downloaded Mavan 2.0.9 and set the PATH and M2_HOME
>
> Mvn -version is working fine. But mvn compile is giving following error:-
>
>
> # mvn compile
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Maven Default Project
> [INFO]    task-segment: [compile]
> [INFO] ------------------------------------------------------------------------
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> GroupId: org.apache.maven.plugins
> ArtifactId: maven-resources-plugin
> Version: 2.2
>
> Reason: Unable to download the artifact from any repository
>
>  org.apache.maven.plugins:maven-resources-plugin:pom:2.2
>
> 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: Wed Sep 10 10:43:11 IST 2008
> [INFO] Final Memory: 4M/494M
> [INFO] ------------------------------------------------------------------------
>
>
> I tried downloading maven-resources-plugin-2.2.pom and replaced it with pom.xml in the repacking directory. But still same errors. Please suggest.
>
> Shubham Saraswat
> * Office:  +91 80 2852 0261  Extn- 15258  | Mobile: +91 9902006402
> Infosys(r)
> P O W E R E D   B Y   I N T  E L L E C T
>  D R I V E N   B Y   V A L U E S
>
>
> **************** CAUTION - Disclaimer *****************
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
> for the use of the addressee(s). If you are not the intended recipient, please
> notify the sender by e-mail and delete the original message. Further, you are not
> to copy, disclose, or distribute this e-mail or its contents to any other person and
> any such actions are unlawful. This e-mail may contain viruses. Infosys has taken
> every reasonable precaution to minimize this risk, but is not liable for any damage
> you may sustain as a result of any virus in this e-mail. You should carry out your
> own virus checks before opening the e-mail or attachment. Infosys reserves the
> right to monitor and review the content of all messages sent to or from this e-mail
> address. Messages sent to or from this e-mail address may be stored on the
> Infosys e-mail system.
> ***INFOSYS******** End of Disclaimer ********INFOSYS***
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org