Hi Mick,
Edney is trying to install an external jar into his local repository.. not
trying to build a maven project..
For all we know, this might not even be a maven-built jar.. Even if there
was a pom, the settings would be irrelevant.
The repository definitions in Edney's settings.xml seem to be valid, so I
really do think it is a network/proxy issue..
Cheers
Jo
On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
please send your pom.xml for this maven build. It looks like you might not
have the maven-install-plugin defined correctly in your pom.
this is in my pom.xml for that plugin:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.1</version>
</plugin>
It is in your [MAVEN PROJECT HOME]/pom.xml where you where running this
command from.
Also, I put my repositories in my pom.xml like this:
<repositories>
<repository>
<id>Backup</id>
<name>Maven Repository Switchboard</name>
<layout>default</layout>
<url>http://repo1.maven.org/maven2</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</repository>
<repository>
<id>Apache Snapshots</id>
<name>Apache Development Repository</name>
<url>http://cvs.apache.org/maven-snapshot-repository</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</repository>
<repository>
<id>Codehaus Snapshots</id>
<name>Codehaus</name>
<url>http://snapshots.repository.codehaus.org/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</repository>
<repository>
<id>MyFaces SNAPSHOT</id>
<name>MyFaces SNAPSHOT Repository</name>
<url>http://people.apache.org/repo/m2-snapshot-repository
</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</repository>
<repository>
<id>ibiblio</id>
<name>ibiblio</name>
<url>http://www.ibiblio.org/maven2</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</repository>
<!--<repository>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
<id>apache.snapshots</id>
<name>Apache Snapshot Repository</name>
<url>http://people.apache.org/repo/m2-snapshot-repository
</url>
</repository>-->
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<name>Maven Plugin Repository</name>
<layout>default</layout>
<url>http://repo1.maven.org/maven2</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<updatePolicy>never</updatePolicy>
</releases>
</pluginRepository>
<pluginRepository>
<id>Codehaus Snapshots</id>
<url>http://snapshots.repository.codehaus.org/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</pluginRepository>
</pluginRepositories>
On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
>
> Hello.
>
> I don´t have the pom.xml to the file jta.jar
>
> The settings.xml is here
>
> Obs. sorry with this uggly questions. I´m dummy for maven
>
>
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
---
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
---