Hi Jo.

Here is it.

C:\tmp>mvn -X install:install-file -DgroupId=
org.apache.myfaces.tomahawk-Dartifa
ctId=tomahawk-sandbox -Dversion= 1.1.4-SNAPSHOT -Dpackaging=jar
-Dfile=c:/tmp/to
mahawk-sandbox-1.1.4-SNAPSHOT.jar
+ Error stacktraces are turned on.
Maven version: 2.0.4
[DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and
Settin
gs\f0fp083\.m2\plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from: 'C:\Arquivos de
progra
mas\Apache Foundation\maven-2.0.4\bin\..\conf\plugin-registry.xml'
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'install'.
[DEBUG] maven-install-plugin: using locally installed snapshot
[DEBUG] Artifact not found - using stub model: Unable to determine the
latest ve
rsion

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


[DEBUG] Using defaults for missing POM
org.apache.maven.plugins:maven-install-pl
ugin:pom:LATEST
[DEBUG] maven-install-plugin: using locally installed snapshot
[DEBUG] Artifact not found - using stub model: Unable to determine the
release v
ersion

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


[DEBUG] Using defaults for missing POM
org.apache.maven.plugins:maven-install-pl
ugin:pom:RELEASE
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-install-plugin' does not
exist
or no valid version could be found
[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin '
org.apache.m
aven.plugins:maven-install-plugin' does not exist or no valid version could
be f
ound
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin
(Defa
ultLifecycleExecutor.java:1281)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
(DefaultLifecycleExecutor.java:1517)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy
AggregationNeeds(DefaultLifecycleExecutor.java:381)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
(DefaultLi
fecycleExecutor.java:135)
       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
       at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.
java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.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.version.PluginVersionNotFoundException:
The p
lugin 'org.apache.maven.plugins:maven-install-plugin' does not exist or no
valid
version could be found
       at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
uginVersion(DefaultPluginVersionManager.java:225)
       at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
uginVersion(DefaultPluginVersionManager.java:87)
       at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin
(DefaultPlug
inManager.java:158)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin
(Defa
ultLifecycleExecutor.java:1252)
       ... 14 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Mon Feb 26 16:04:10 BRT 2007
[INFO] Final Memory: 1M/2M
[INFO]
------------------------------------------------------------------------

C:\tmp>


On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:

Edney,

Try running it with debug on and paste the output..

mvn -X install:install-file
-DgroupId=org.apache.myfaces.tomahawk-DartifactId=tomahawk-sandbox
-Dversion=
1.1.4-SNAPSHOT -Dpackaging=jar -Dfile=c:/tmp/tomahawk-
sandbox-1.1.4-SNAPSHOT.jar

Cheers
Jo

On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
>
> Attach your entire pom.xml and you scrubbed settings.xml please
>
>
>
>
>
> On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> >
> > Hello
> >
> > I do that.
> >
> > and dosn´t work.
> >
> >
> >
> > On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
> > >
> > > That does not make sense what the network guy is saying. We are only
> > > talking
> > > about an http connection here. DOS or Java or IE. It is still an
http
> > > connection.
> > >
> > > I think you just need to get the proxy server, port NUMBER, then
your
> > user
> > > name and password for the proxy.
> > >
> > > Did you try that?
> > >
> > >   <proxies>
> > >   <proxy>
> > >      <active>true</active>
> > >      <protocol>http</protocol>
> > >      <host>proxy.somewhere.com</host>
> > >      <port>8080</port>
> > >      <username>LAN ID (Username)</username>
> > >      <password>LAN Password</password>
> > >      <nonProxyHosts>www.google.com|*.somewhere.com</nonProxyHosts>
> > >    </proxy>
> > > </proxies>
> > >
> > >
> > >
> > >
> > >
> > > The difference is sometime you do not need the username and password
> for
> > > the
> > > Proxy. Or at least where I am at now.
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Hi,
> > > >
> > > > I talk now with the guy from network , and he said that the
internet
> > > > access
> > > > with dos is not allowed.
> > > >
> > > > Then, I need to do this with windows.
> > > >
> > > >
> > > >
> > > >
> > > > On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Hi Edney,
> > > > >
> > > > > The only other thing that I can think of is that you need to
> supply
> > a
> > > > > username/password for your proxy.
> > > > > Does your proxy server need authentication? If it does,
configure
> it
> > > in
> > > > > your
> > > > > settings.xml..
> > > > >
> > > > > Here's a snippet (which can also be found here:
> > > > > http://maven.apache.org/guides/mini/guide-proxies.html):
> > > > >
> > > > > <settings>
> > > > >   .
> > > > >   .
> > > > >   <proxies>
> > > > >    <proxy>
> > > > >       <active>true</active>
> > > > >       <protocol>http</protocol>
> > > > >       <host>proxy.somewhere.com</host>
> > > > >       <port>8080</port>
> > > > >       <username>proxyuser</username>
> > > > >       <password>somepassword</password>
> > > > >       <nonProxyHosts>www.google.com|*.somewhere.com
> </nonProxyHosts>
> > > > >     </proxy>
> > > > >   </proxies>
> > > > >   .
> > > > >   .
> > > > > </settings>
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Cheers
> > > > > Jo
> > > > >
> > > > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Hello Jo,.
> > > > > >
> > > > > > "myproxyserver" and "proxy_port" definitely are really not
> > > > > > the correct settings:)
> > > > > >
> > > > > > I change this value. In the correct file I put  the
information
> > from
> > > > IE
> > > > > /;
> > > > > > Firefox.
> > > > > >
> > > > > > I can surf in internet with my browser.
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > Edney..
> > > > > > >
> > > > > > > Is this an exact copy of your settings.xml?
> > > > > > > Did you fill in the correct proxy host and proxy port for
your
> > > > > network?
> > > > > > > I can assure you that "myproxyserver" and "proxy_port"
> > definitely
> > > > are
> > > > > > not
> > > > > > > the correct settings ;)
> > > > > > >
> > > > > > > Are you able to surf the internet at all via Internet
Explorer
> > or
> > > > > > Firefox?
> > > > > > > If so, have a look at the settings of your browser, copy the
> > proxy
> > > > > > server
> > > > > > > settings and paste them in the corresponding fields of your
> > > > > settings.xml
> > > > > > >
> > > > > > > Good luck
> > > > > > > Jo
> > > > > > >
> > > > > > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > > > > > >
> > > > > > > > Ok.
> > > > > > > >
> > > > > > > > I need to do this configuration in settings.xml file? I do
> > that.
> > > > > > > >
> > > > > > > > Here is my setting.xml file
> > > > > > > >
> > > > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > > > <settings>
> > > > > > > >     <proxies>
> > > > > > > >         <proxy>
> > > > > > > >             <active>true</active>
> > > > > > > >             <protocol>http</protocol>
> > > > > > > >             <host>myproxyserver</host>
> > > > > > > >             <port>proxy_port</port>
> > > > > > > >         </proxy>
> > > > > > > >     </proxies>
> > > > > > > >     <localRepository>C:\Documents and
> > > > > > > > Settings\myuser\.m2\repository</localRepository>
> > > > > > > >     <offline>false</offline>
> > > > > > > >     <servers>
> > > > > > > >     <server>
> > > > > > > >         <id>tomcat_server</id>
> > > > > > > >         <username>tomcatUser</username>
> > > > > > > >         <password>tomcatPassword</password>
> > > > > > > >     </server>
> > > > > > > > </servers>
> > > > > > > >     <profiles>
> > > > > > > >       <profile>
> > > > > > > >         <id>Default</id>
> > > > > > > >         <pluginRepositories>
> > > > > > > >           <pluginRepository>
> > > > > > > >             <id>AndroMDA</id>
> > > > > > > >             <url>http://team.andromda.org/maven2</url>
> > > > > > > >              <releases>
> > > > > > > >              </releases>
> > > > > > > >              <snapshots>
> > > > > > > >              </snapshots>
> > > > > > > >           </pluginRepository>
> > > > > > > >           <pluginRepository>
> > > > > > > >             <id>Central</id>
> > > > > > > >             <url>http://repo1.maven.org/maven2</url>
> > > > > > > >           </pluginRepository>
> > > > > > > >           <pluginRepository>
> > > > > > > >             <id>IBiblio</id>
> > > > > > > >             <url>http://www.ibiblio.org/maven2</url>
> > > > > > > >           </pluginRepository>
> > > > > > > >           <pluginRepository>
> > > > > > > >             <id>codehaus snapshot repository</id>
> > > > > > > >             <url>http://snapshots.repository.codehaus.org
> > </url>
> > > > > > > >              <releases>
> > > > > > > >              </releases>
> > > > > > > >              <snapshots>
> > > > > > > >              </snapshots>
> > > > > > > >           </pluginRepository>
> > > > > > > >         </pluginRepositories>
> > > > > > > >         <repositories>
> > > > > > > >             <repository>
> > > > > > > >              <releases>
> > > > > > > >              </releases>
> > > > > > > >              <snapshots>
> > > > > > > >                <enabled>false</enabled>
> > > > > > > >              </snapshots>
> > > > > > > >              <id>myfaces.staging</id>
> > > > > > > >              <name>MyFaces Staging Repository</name>
> > > > > > > >              <url>
> > > > > > http://myfaces.zones.apache.org/dist/maven-repository
> > > > > > > > </url>
> > > > > > > >             </repository>
> > > > > > > >             <repository>
> > > > > > > >              <id>androMda</id>
> > > > > > > >              <name>AndroMda Repository</name>
> > > > > > > >              <url>http://andromda.org/maven2</url>
> > > > > > > >              <releases>
> > > > > > > >              </releases>
> > > > > > > >              <snapshots>
> > > > > > > >                <enabled>false</enabled>
> > > > > > > >              </snapshots>
> > > > > > > >             </repository>
> > > > > > > >         </repositories>
> > > > > > > >       </profile>
> > > > > > > >     </profiles>
> > > > > > > >     <activeProfiles>
> > > > > > > >         <activeProfile>Default</activeProfile>
> > > > > > > >     </activeProfiles>
> > > > > > > > </settings>
> > > > > > > >
> > > > > > > > But, here, my access is restricted to internet from DOS
> > > > > > > >
> > > > > > > > I need a Windows application oder a plugin to eclipse, who
i
> > can
> > > > do
> > > > > > the
> > > > > > > > download without command line interface
> > > > > > > >
> > > > > > > >
> > > > > > > > thank.
> > > > > > > > Edney
> > > > > > > >
> > > > > > > > On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
> > > > > > > > >
> > > > > > > > > You need to get the proxy settings from IE, then you
need
> to
> > > set
> > > > > > Maven
> > > > > > > > to
> > > > > > > > > use that same proxy server just like IE does.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > > > > > > > >
> > > > > > > > > > thank Jo
> > > > > > > > > >
> > > > > > > > > > But, here, in my company , the network guy can´t
change
> > this
> > > > > > > > > > configuration.
> > > > > > > > > >
> > > > > > > > > > Politics from this company.
> > > > > > > > > >
> > > > > > > > > > I can access web from MS-DOS.
> > > > > > > > > >
> > > > > > > > > > I need a pluggin to do that in eclipse.
> > > > > > > > > >
> > > > > > > > > > Sorry
> > > > > > > > > >
> > > > > > > > > > On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]
>
> > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > Hi there,
> > > > > > > > > > >
> > > > > > > > > > > 1. You've got network issues.. Contact your network
> guy
> > > for
> > > > > the
> > > > > > > > > correct
> > > > > > > > > > > proxy settings.
> > > > > > > > > > > So, get your network and proxy settings up and
running
> > and
> > > > you
> > > > > > > > should
> > > > > > > > > be
> > > > > > > > > > > good to go..
> > > > > > > > > > >
> > > > > > > > > > > 2. Installing an external jar into your repository -
> > like
> > > > most
> > > > > > > > things
> > > > > > > > > in
> > > > > > > > > > > maven - can only be done via the command line
> > interface..
> > > > > > > > > > > Why would you even want anything else, isn't it ? ;)
> > > > > > > > > > >
> > > > > > > > > > > Good luck
> > > > > > > > > > > Jo
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > Hi everybody,
> > > > > > > > > > > >
> > > > > > > > > > > > I need help.
> > > > > > > > > > > >
> > > > > > > > > > > > I have the follow problem with Maven.
> > > > > > > > > > > >
> > > > > > > > > > > > I execute this command.
> > > > > > > > > > > >
> > > > > > > > > > > > mvn install:install-file
> > > > > > > > > > > > -DgroupId=
> > > > > > > org.apache.myfaces.tomahawk-DartifactId=tomahawk-sandbox
> > > > > > > > > > > > -Dversion=
> > > > > > > > > > > > 1.1.4-SNAPSHOT -Dpackaging=jar
> > > > > > > > > > > > <http://www.javafree.org/wiki/jar
> > > >-Dfile=c:/tmp/tomahawk-
> > > > > > > > > > > > sandbox-1.1.4-SNAPSHOT.jar <
> > > > http://www.javafree.org/wiki/jar
> > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > And I get this error message
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > C:\mvn install:install-file -DgroupId=org.apache.
> > > > > > > > > > > > myfaces.tomahawk -DartifactId=tomahawk-sandbox
> > > -Dversion=
> > > > > > > > > > > > 1.1.4-SNAPSHOT-Dpackag
> > > > > > > > > > > > ing=jar -Dfile=c:/tmp/tomahawk-
> > > sandbox-1.1.4-SNAPSHOT.jar
> > > > > > > > > > > > [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
> > > > > > > > > > > > retri
> > > > > > > > > > > > eved from repository: central due to an error:
Error
> > > > > > > transferring
> > > > > > > > > file
> > > > > > > > > > > > [INFO] Repository 'central' will be blacklisted
> > > > > > > > > > > > [INFO]
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> >
------------------------------------------------------------------------
> > > > > > > > > > > > [ERROR] BUILD ERROR
> > > > > > > > > > > > [INFO]
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> >
------------------------------------------------------------------------
> > > > > > > > > > > > [INFO] The plugin '
> > > > > > org.apache.maven.plugins:maven-install-plugin
> > > > > > > '
> > > > > > > > > does
> > > > > > > > > > > not
> > > > > > > > > > > > exist
> > > > > > > > > > > > or no valid version could be found
> > > > > > > > > > > > [INFO]
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> >
------------------------------------------------------------------------
> > > > > > > > > > > > [INFO] For more information, run Maven with the -e
> > > switch
> > > > > > > > > > > > [INFO]
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> >
------------------------------------------------------------------------
> > > > > > > > > > > > [INFO] Total time: 22 seconds
> > > > > > > > > > > > [INFO] Finished at: Fri Feb 23 18:44:35 GMT 2007
> > > > > > > > > > > > [INFO] Final Memory: 1M/2M
> > > > > > > > > > > > [INFO]
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> >
------------------------------------------------------------------------
> > > > > > > > > > > >
> > > > > > > > > > > > I´m behind a proxy server.
> > > > > > > > > > > >
> > > > > > > > > > > > I do the proxy configuration in the
setting.xmlfile.
> > > > > > > > > > > >
> > > > > > > > > > > > When I do a PING  in a url in MS_DOS i get the
> follow
> > > > error
> > > > > > > > message.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > www.apache.org with 32 bytes
> > > > > > > > > > > >
> > > > > > > > > > > > reply the 10.248.0.38: No host available.
> > > > > > > > > > > > reply the 10.248.0.38: No host available.
> > > > > > > > > > > > reply the 10.248.0.38: No host available.
> > > > > > > > > > > >
> > > > > > > > > > > > I have now another question.
> > > > > > > > > > > >
> > > > > > > > > > > > I can do this command  only in a msdos prompt "mvn
> > > > > > > > > > install:install-file
> > > > > > > > > > > > -DgroupId=
> > > > > > > org.apache.myfaces.tomahawk-DartifactId=tomahawk-sandbox
> > > > > > > > > > > > -Dversion=1.1.4-SNAPSHOT -Dpackaging=jar
> > > > > > > > > > > > <http://www.javafree.org/wiki/jar
> > > >-Dfile=c:/tmp/tomahawk-
> > > > > > > > > > > > sandbox-1.1.4-SNAPSHOT.jar" <
> > > > > http://www.javafree.org/wiki/jar>
> > > > > > > > > > > >
> > > > > > > > > > > > Or exist oder way to do that??
> > > > > > > > > > > >
> > > > > > > > > > > > I work here with eclipse.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Can please, anyone help me...
> > > > > > > > > > > >
> > > > > > > > > > > > thank you
> > > > > > > > > > > > --
> > > > > > > > > > > > Att.
> > > > > > > > > > > > Edney Marcel Imme
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Att.
> > > > > > > > > > Edney Marcel Imme
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > ---
> > > > > > > > > Thanks,
> > > > > > > > > Mick Knutson
> > > > > > > > >
> > > > > > > > > http://www.baselogic.com
> > > > > > > > > http://www.blincmagazine.com
> > > > > > > > > http://www.djmick.com
> > > > > > > > > http://www.myspace.com/djmick_dot_com
> > > > > > > > > http://www.thumpradio.com
> > > > > > > > > ---
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Att.
> > > > > > > > Edney Marcel Imme
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Att.
> > > > > > Edney Marcel Imme
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Att.
> > > > Edney Marcel Imme
> > > >
> > >
> > >
> > >
> > > --
> > > ---
> > > Thanks,
> > > Mick Knutson
> > >
> > > http://www.baselogic.com
> > > http://www.blincmagazine.com
> > > http://www.djmick.com
> > > http://www.myspace.com/djmick_dot_com
> > > http://www.thumpradio.com
> > > ---
> > >
> >
> >
> >
> > --
> > Att.
> > Edney Marcel Imme
> >
>
>
>
> --
> ---
> Thanks,
> Mick Knutson
>
> http://www.baselogic.com
> http://www.blincmagazine.com
> http://www.djmick.com
> http://www.myspace.com/djmick_dot_com
> http://www.thumpradio.com
> ---
>




--
Att.
Edney Marcel Imme

Reply via email to