RE: New Maven Respository Search Application

2009-02-23 Thread Deron Eriksson

Hello Eugene,

Thank you for the question about Jarvana's purpose.

Jarvana's raison d’être (Jarvana was conceived one August evening in Nice,
France) is that I wanted a web-based application that would let me search
for classes in the maven repo and get their dependency information. I also
wanted to have links to source code and javadocs (if available) and to be
able to view these online. Several web-based maven repo search tools exist,
but Nexus is the only other online tool that I've seen that offers class
searching. Nexus currently doesn't offer viewable souce code and javadoc
links (that I'm aware of), and these are things that I find useful when I am
trying to figure out what a class does. This capability seemed useful, so I
became motivated to share this functionality with the world. Since you
mentioned it, I would love to see source code and javadocs via m2eclipse,
although I don't know how other people feel. I would especially like it if I
could preview source code/javadocs for a class with m2eclipse before
deciding to download a jar and use it in my project.

Every once in a while I have a need to see what's in an archive file. If
there are javadocs, source code, or images in a jar file, I'd prefer to
scroll through such content online if I happen to be in a web browser.
Although Jarvana does this, class and artifact searching is far more useful
to most people than this feature. Jarvana is first and foremost a search
engine.

Jarvana takes a very hyperlinked/web 1.0 approach to searching. It allows
people to search for classes, artifacts, and content. When search results
are returned, it tries to link to relevant information (project dependency,
source code, javadoc, plugin goals, etc). Web browsers have a lot of
limitations, but they are great for hyperlinking.

Jarvana was a chance to learn how to write a Java-based search engine (in
the process we gained a great respect and appreciation for the work that
Doug Cutting and other developers have done on the Lucene project). It
seemed that no one had done a really in-depth indexing of the maven repo, so
we wrote Jarvana. It's kind of like mapping the human genome. Once you map
it, you can do interesting things with it. The Jarvana indexes are huge, but
no one besides the Jarvana web app interacts with these indexes, so
criticism of the large indexes really doesn't make much sense to me. They
are large so we can provide new, intrinsically different search
capabilities. We will probably add new interesting types of searches in the
future if we find the time and motivation to do so.

Many times, I've tried to explain to other developers the benefits of
adopting Maven for project management. But some people seem opposed to
Maven, and maybe sometimes they have situations that justify that
opposition. They are free to adopt other technologies that might be a better
fit for them. Likewise, some people might find Jarvana to be a silly little
search engine, so they never need to use it, but a few others might find it
to be useful. Jarvana isn't the first maven repo search tool and I'm sure it
won't be the last. However, I believe that variety is good when it comes to
software (operating systems, build tools, search engines, etc), and I think
our little search engine is a sign of a growing, healthy maven community. If
nothing else, it's been a great learning experience.

Keep up the great work with m2eclipse. I really think it is opening up maven
to thousands of new developers and making their (and our) lives easier.

Take care,
Deron Eriksson



Eugene Kuleshov wrote:
 
 Deron,
 
   I wonder what is the purpose of such application? Being a Maven user for
 several ears I never had a need to browse content of some jar classes in
 the Maven repository... not outside my ide anyways.
 
   Also, from what I see, most of the information is already available from
 the repository index. Of course index does not include content of the jars
 and all the poms, but it still can be used to search trough them and it is
 far smaller then 10gb
 
   Tools like m2eclipse allow to search and open Maven poms directly from
 remote repositories. More over it allows to open pom editor from Navigate
 / Open Maven pom menu, from Maven Indexes view, from SVN//CVS Repositories
 view and even from History view. Then you can see the effective pom or
 resolved dependency hierarchy and navigate to other poms. If there is some
 interest, we could also show content of attached artifacts right in the
 pom editor (e.g. the sources or javadocs)
 
   regards,
   Eugene
 
 

-- 
View this message in context: 
http://www.nabble.com/New-Maven-Respository-Search-Application-tp21973961p22163721.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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



RE: New Maven Respository Search Application

2009-02-23 Thread Eugene Kuleshov


Deron Eriksson wrote:
 
 ...I wanted a web-based application that would let me search for classes
 in the maven repo and get their dependency information. I also wanted to
 have links to source code and javadocs (if available) and to be able to
 view these online. 
 

This is all good, but my question was more along the line what for you would
want to search for classes? Especially what for would you want to do that in
the web browser?


Deron Eriksson wrote:
 
 Several web-based maven repo search tools exist, but Nexus is the only
 other online tool that I've seen that offers class searching. Nexus
 currently doesn't offer viewable souce code and javadoc links (that I'm
 aware of), and these are things that I find useful when I am trying to
 figure out what a class does. 
 

I am pretty sure it won't take a much time to provide source browser in
Nexus, the chances are that there might be even an enhancement request for
that already, but yet again, it is unclear why such feature would be useful,
other then it is just a cool feature.


Deron Eriksson wrote:
 
 Since you mentioned it, I would love to see source code and javadocs via
 m2eclipse, although I don't know how other people feel. I would especially
 like it if I could preview source code/javadocs for a class with m2eclipse
 before deciding to download a jar and use it in my project.
 

You already can see the sources in m2eclipse using Navigate / Open Type
from Maven... action. It is a no brainer to add a javadoc browser for the
artifact, especially if someone would take a minute and enter an enhancement
request for that in the project issue tracker
http://jira.codehaus.org/browse/MNGECLIPSE


Deron Eriksson wrote:
 
 Every once in a while I have a need to see what's in an archive file. If
 there are javadocs, source code, or images in a jar file, I'd prefer to
 scroll through such content online if I happen to be in a web browser.
 Although Jarvana does this, class and artifact searching is far more
 useful to most people than this feature. Jarvana is first and foremost a
 search engine.
 

You really need to set your goals straight. Building just a search engine
that doesn't serve a common user's workflow doesn't really make much sense.


Deron Eriksson wrote:
 
 ...It seemed that no one had done a really in-depth indexing of the maven
 repo, so we wrote Jarvana. 
 

Have you looked at the Nexus Indexer and the index published for the central
Maven repository? It is a standalone and extensible component, so don't mix
it up with the Nexus repository manager. At very minimum, instead of
creating gigabyte-sized index you can download a few megabytes of prepared
index.


Deron Eriksson wrote:
 
 ...The Jarvana indexes are huge, but no one besides the Jarvana web app
 interacts with these indexes, so criticism of the large indexes really
 doesn't make much sense to me. They are large so we can provide new,
 intrinsically different search capabilities. We will probably add new
 interesting types of searches in the future if we find the time and
 motivation to do so.
 

I was simply stating the fact that Nexus index, which is a magnitude smaller
provides pretty much the same information as your web application.

  regards,
  Eugene


-- 
View this message in context: 
http://www.nabble.com/New-Maven-Respository-Search-Application-tp21973961p22169956.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: New Maven Respository Search Application

2009-02-23 Thread Lee Meador
Eugene,

I want to search for classes from time to time.

The situation is usually something where I have some code and the build
mechanism is either non-existent or unreadable. Sometimes its some source
code I found on a web page somewhere.

But there is, in that code, a reference to some other classes and I don't
know where they come from or which version it might be. I would like to find
the class in question so I know what jar to include when I build (or so I
know how to find the source).

Sometimes its some code that just puts /path-to-somewhere/lib/*.jar on the
classpath and that lib folder has 50 or 100 jars in it. It bothers my
sensibilities to include more than I really need in the classpath so I want
to know which jars it is.

Now, I know that this doesn't always help. If the class in question is named
Info or some other generic name and there are lots and lots of classes
around with that name, it nigh onto impossible to find.

It also doesn't help if the jars in that folder I mentioned above are
proprietary.

But there's a use case for you (or a user story if you prefer).

Thanks.

-- Lee


On Mon, Feb 23, 2009 at 2:57 PM, Eugene Kuleshov e...@md.pp.ru wrote:



 Deron Eriksson wrote:
 
  ...I wanted a web-based application that would let me search for classes
  in the maven repo and get their dependency information. I also wanted to
  have links to source code and javadocs (if available) and to be able to
  view these online.
 

 This is all good, but my question was more along the line what for you
 would
 want to search for classes? Especially what for would you want to do that
 in
 the web browser?


 Deron Eriksson wrote:
 
  Several web-based maven repo search tools exist, but Nexus is the only
  other online tool that I've seen that offers class searching. Nexus
  currently doesn't offer viewable souce code and javadoc links (that I'm
  aware of), and these are things that I find useful when I am trying to
  figure out what a class does.
 

 I am pretty sure it won't take a much time to provide source browser in
 Nexus, the chances are that there might be even an enhancement request for
 that already, but yet again, it is unclear why such feature would be
 useful,
 other then it is just a cool feature.


 Deron Eriksson wrote:
 
  Since you mentioned it, I would love to see source code and javadocs via
  m2eclipse, although I don't know how other people feel. I would
 especially
  like it if I could preview source code/javadocs for a class with
 m2eclipse
  before deciding to download a jar and use it in my project.
 

 You already can see the sources in m2eclipse using Navigate / Open Type
 from Maven... action. It is a no brainer to add a javadoc browser for the
 artifact, especially if someone would take a minute and enter an
 enhancement
 request for that in the project issue tracker
 http://jira.codehaus.org/browse/MNGECLIPSE


 Deron Eriksson wrote:
 
  Every once in a while I have a need to see what's in an archive file. If
  there are javadocs, source code, or images in a jar file, I'd prefer to
  scroll through such content online if I happen to be in a web browser.
  Although Jarvana does this, class and artifact searching is far more
  useful to most people than this feature. Jarvana is first and foremost a
  search engine.
 

 You really need to set your goals straight. Building just a search engine
 that doesn't serve a common user's workflow doesn't really make much sense.


 Deron Eriksson wrote:
 
  ...It seemed that no one had done a really in-depth indexing of the maven
  repo, so we wrote Jarvana.
 

 Have you looked at the Nexus Indexer and the index published for the
 central
 Maven repository? It is a standalone and extensible component, so don't mix
 it up with the Nexus repository manager. At very minimum, instead of
 creating gigabyte-sized index you can download a few megabytes of prepared
 index.


 Deron Eriksson wrote:
 
  ...The Jarvana indexes are huge, but no one besides the Jarvana web app
  interacts with these indexes, so criticism of the large indexes really
  doesn't make much sense to me. They are large so we can provide new,
  intrinsically different search capabilities. We will probably add new
  interesting types of searches in the future if we find the time and
  motivation to do so.
 

 I was simply stating the fact that Nexus index, which is a magnitude
 smaller
 provides pretty much the same information as your web application.

  regards,
  Eugene


 --
 View this message in context:
 http://www.nabble.com/New-Maven-Respository-Search-Application-tp21973961p22169956.html
 Sent from the Maven - Users mailing list archive at Nabble.com.


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




-- 
-- Lee Meador
Sent from gmail. My real email address is lee AT leemeador.com


RE: New Maven Respository Search Application

2009-02-23 Thread Edelson, Justin
This use case is already met by Nexus (and, I assume, other repository
managers).

For example, go to http://repository.sonatype.org/ and search for a
class name.

Now, the results could be better in that you should be able to drill
into a library and see the fully-qualified class names contained in that
artifact. You should also be able to see various bits of project
metadata (see https://issues.sonatype.org/browse/NEXUS-221 for my
original request for this).

The advantage a MRM has in this situation is the one alluded to in your
next to last sentence (and my original question about Jarvana). It would
be nice if Central had everything, but we all know it doesn't. Using an
indexed repository manager gives you this same search capability across
multiple public repositories as well as your internal repositories.

Justin Edelson
VP, Applications  Platforms
MTV Networks Digital


-Original Message-
From: leemeador76...@gmail.com [mailto:leemeador76...@gmail.com] On
Behalf Of Lee Meador
Sent: Monday, February 23, 2009 5:25 PM
To: Maven Users List
Subject: Re: New Maven Respository Search Application

Eugene,

I want to search for classes from time to time.

The situation is usually something where I have some code and the build
mechanism is either non-existent or unreadable. Sometimes its some
source code I found on a web page somewhere.

But there is, in that code, a reference to some other classes and I
don't know where they come from or which version it might be. I would
like to find the class in question so I know what jar to include when I
build (or so I know how to find the source).

Sometimes its some code that just puts /path-to-somewhere/lib/*.jar on
the classpath and that lib folder has 50 or 100 jars in it. It bothers
my sensibilities to include more than I really need in the classpath so
I want to know which jars it is.

Now, I know that this doesn't always help. If the class in question is
named Info or some other generic name and there are lots and lots of
classes around with that name, it nigh onto impossible to find.

It also doesn't help if the jars in that folder I mentioned above are
proprietary.

But there's a use case for you (or a user story if you prefer).

Thanks.

-- Lee


On Mon, Feb 23, 2009 at 2:57 PM, Eugene Kuleshov e...@md.pp.ru wrote:



 Deron Eriksson wrote:
 
  ...I wanted a web-based application that would let me search for 
  classes in the maven repo and get their dependency information. I 
  also wanted to have links to source code and javadocs (if available)

  and to be able to view these online.
 

 This is all good, but my question was more along the line what for you

 would want to search for classes? Especially what for would you want 
 to do that in the web browser?


 Deron Eriksson wrote:
 
  Several web-based maven repo search tools exist, but Nexus is the
only
  other online tool that I've seen that offers class searching. Nexus
  currently doesn't offer viewable souce code and javadoc links (that
I'm
  aware of), and these are things that I find useful when I am trying
to
  figure out what a class does.
 

 I am pretty sure it won't take a much time to provide source browser
in
 Nexus, the chances are that there might be even an enhancement request
for
 that already, but yet again, it is unclear why such feature would be
 useful,
 other then it is just a cool feature.


 Deron Eriksson wrote:
 
  Since you mentioned it, I would love to see source code and javadocs
via
  m2eclipse, although I don't know how other people feel. I would
 especially
  like it if I could preview source code/javadocs for a class with
 m2eclipse
  before deciding to download a jar and use it in my project.
 

 You already can see the sources in m2eclipse using Navigate / Open
Type
 from Maven... action. It is a no brainer to add a javadoc browser for
the
 artifact, especially if someone would take a minute and enter an
 enhancement
 request for that in the project issue tracker
 http://jira.codehaus.org/browse/MNGECLIPSE


 Deron Eriksson wrote:
 
  Every once in a while I have a need to see what's in an archive
file. If
  there are javadocs, source code, or images in a jar file, I'd prefer
to
  scroll through such content online if I happen to be in a web
browser.
  Although Jarvana does this, class and artifact searching is far more
  useful to most people than this feature. Jarvana is first and
foremost a
  search engine.
 

 You really need to set your goals straight. Building just a search
engine
 that doesn't serve a common user's workflow doesn't really make much
sense.


 Deron Eriksson wrote:
 
  ...It seemed that no one had done a really in-depth indexing of the
maven
  repo, so we wrote Jarvana.
 

 Have you looked at the Nexus Indexer and the index published for the
 central
 Maven repository? It is a standalone and extensible component, so
don't mix
 it up with the Nexus repository manager. At very minimum, instead of
 creating gigabyte-sized index you can

RE: New Maven Respository Search Application

2009-02-21 Thread Eugene Kuleshov

Deron,

  I wonder what is the purpose of such application? Being a Maven user for
several ears I never had a need to browse content of some jar classes in the
Maven repository... not outside my ide anyways.

  Also, from what I see, most of the information is already available from
the repository index. Of course index does not include content of the jars
and all the poms, but it still can be used to search trough them and it is
far smaller then 10gb

  Tools like m2eclipse allow to search and open Maven poms directly from
remote repositories. More over it allows to open pom editor from Navigate /
Open Maven pom menu, from Maven Indexes view, from SVN//CVS Repositories
view and even from History view. Then you can see the effective pom or
resolved dependency hierarchy and navigate to other poms. If there is some
interest, we could also show content of attached artifacts right in the pom
editor (e.g. the sources or javadocs)

  regards,
  Eugene



Deron Eriksson wrote:
 
 
 Brian E Fox wrote:
 
 Hopefully they are using the indexes and not scraping the entire
 contents of the repos.
 
 
 Hi Brian,
 To offer the search capabilities that Jarvana offers, we need to create
 massive new search indexes (over 10GB in size currently) that include
 information such as file content, locations of related source
 code/javadocs, etc.  We are trying to index all the files in the
 repository, all the files in the archive files in the repository, and all
 the content of all the files in the archive files in the repository. (We
 actually don't index everything, but do try to index most things.)
 
 Currently, we update our repository files a couple times a month (nights
 or weekends) via rsync. We alternate between different mirrors to try to
 minimize any bandwidth costs to any particular host, since bandwidth can
 get expensive when dealing with large quantities of data. (Also, I would
 never want to spider central, since that would not be nice to do to the
 web servers.) In the future, if Jarvana proves to be popular and we move
 to a better server, I wouldn't be opposed to the idea of also becoming a
 mirror.
 
 We are hopeful that Jarvana might make the lives of current Java/Maven
 developers a little easier to justify its existence. We are also hopeful
 that it might, in some small ways, encourage more people to adopt Java and
 Maven.
 
 Let me know if you have any other questions or suggestions.
 Deron Eriksson
 
 

-- 
View this message in context: 
http://www.nabble.com/New-Maven-Respository-Search-Application-tp21973961p22138077.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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



New Maven Respository Search Application

2009-02-12 Thread Deron Eriksson

I'd like to announce our new Maven repository search application called
Jarvana that features searching for classes, artifacts, and content. In
addition to project dependency information, class search results include
links to relevant source code and javadocs when available. Class and
artifact search results include links to a 'POM inspector' and the relevant
archive file, which can be drilled into online. Plugin information is
displayed when available. Content searches can be broken down into different
areas (html, java, xml, etc) and include a 'Highlighter' feature similar to
Google's 'Cached' results highlighting.

The main page is available at:
http://www.jarvana.com

The application features a repository browser that has shortcut links and
allows for sorting based on a variety of characteristics such as the number
of folders, directories, and archives within folders.
http://www.jarvana.com/jarvana/browse

The browser 'Archive Details' view sums up statistics about all of the files
in all of the archives. These results are also sortable.
http://www.jarvana.com/jarvana/browse?d=ypath=by=order=

We also just added a 'Digest Generator and Checker' tool that generates MD5
and SHA1 digests for an uploaded file and checks to see if those digests
exist in the repository. This tool can be found here:
http://www.jarvana.com/jarvana/more


Jarvana is still a work in progress so UI and functionality changes are
quite likely to occur in the near future. Questions, comments, and
constructive criticism are always welcome!


Deron Eriksson
Code Strategies

-- 
View this message in context: 
http://www.nabble.com/New-Maven-Respository-Search-Application-tp21973961p21973961.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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



RE: New Maven Respository Search Application

2009-02-12 Thread Brian E. Fox
Hopefully they are using the indexes and not scraping the entire
contents of the repos.

-Original Message-
From: Edelson, Justin [mailto:justin.edel...@mtvstaff.com] 
Sent: Thursday, February 12, 2009 9:57 AM
To: Maven Users List
Subject: RE: New Maven Respository Search Application

Does this only index Central? 

-Original Message-
From: Deron Eriksson [mailto:jonde...@codestrategies.com] 
Sent: Thursday, February 12, 2009 6:07 AM
To: users@maven.apache.org
Subject: New Maven Respository Search Application


I'd like to announce our new Maven repository search application called
Jarvana that features searching for classes, artifacts, and content. In
addition to project dependency information, class search results include
links to relevant source code and javadocs when available. Class and
artifact search results include links to a 'POM inspector' and the
relevant archive file, which can be drilled into online. Plugin
information is displayed when available. Content searches can be broken
down into different areas (html, java, xml, etc) and include a
'Highlighter' feature similar to Google's 'Cached' results highlighting.

The main page is available at:
http://www.jarvana.com

The application features a repository browser that has shortcut links
and allows for sorting based on a variety of characteristics such as the
number of folders, directories, and archives within folders.
http://www.jarvana.com/jarvana/browse

The browser 'Archive Details' view sums up statistics about all of the
files in all of the archives. These results are also sortable.
http://www.jarvana.com/jarvana/browse?d=ypath=by=order=

We also just added a 'Digest Generator and Checker' tool that generates
MD5 and SHA1 digests for an uploaded file and checks to see if those
digests exist in the repository. This tool can be found here:
http://www.jarvana.com/jarvana/more


Jarvana is still a work in progress so UI and functionality changes are
quite likely to occur in the near future. Questions, comments, and
constructive criticism are always welcome!


Deron Eriksson
Code Strategies

--
View this message in context:
http://www.nabble.com/New-Maven-Respository-Search-Application-tp2197396
1p21973961.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


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


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



RE: New Maven Respository Search Application

2009-02-12 Thread Deron Eriksson


Justin Edelson wrote:
 
 Does this only index Central? 
 

Hi Justin,
Yes, currently only central gets indexed, but in the future I'd like to add
support for multiple repositories.


Brian E Fox wrote:
 
 Hopefully they are using the indexes and not scraping the entire
 contents of the repos.
 

Hi Brian,
To offer the search capabilities that Jarvana offers, we need to create
massive new search indexes (over 10GB in size currently) that include
information such as file content, locations of related source code/javadocs,
etc.  We are trying to index all the files in the repository, all the files
in the archive files in the repository, and all the content of all the files
in the archive files in the repository. (We actually don't index everything,
but do try to index most things.)

Currently, we update our repository files a couple times a month (nights or
weekends) via rsync. We alternate between different mirrors to try to
minimize any bandwidth costs to any particular host, since bandwidth can get
expensive when dealing with large quantities of data. (Also, I would never
want to spider central, since that would not be nice to do to the web
servers.) In the future, if Jarvana proves to be popular and we move to a
better server, I wouldn't be opposed to the idea of also becoming a mirror.

We are hopeful that Jarvana might make the lives of current Java/Maven
developers a little easier to justify its existence. We are also hopeful
that it might, in some small ways, encourage more people to adopt Java and
Maven.

Let me know if you have any other questions or suggestions.
Deron Eriksson

-- 
View this message in context: 
http://www.nabble.com/New-Maven-Respository-Search-Application-tp21973961p21982369.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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



RE: Error deploying to a remote respository using scm

2008-06-05 Thread Krishnamurthi, Venkat
Hi,

I get the same error when I execute ssh2 -V on my windows XP machine:

C:\ssh2 -V
'ssh2' is not recognized as an internal or external command,
operable program or batch file.

Please help me resolve this.

Thanks,
Venkat 

-Original Message-
From: Mick Knutson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 04, 2008 7:40 PM
To: Maven Users List
Subject: Re: Error deploying to a remote respository using scm

on XP, I use that command adn get:

*C:\opt\baselogicssh2 -V
'ssh2' is not recognized as an internal or external command, operable
program or batch file.

C:\opt\baselogicssh -V
'ssh' is not recognized as an internal or external command, operable
program or batch file.

C:\opt\baselogic
*

Then when I try to deploy with scpexe it does the same thing.



On Wed, Jun 4, 2008 at 4:36 PM, Wayne Fay [EMAIL PROTECTED] wrote:

 The stack trace says very clearly:
 Disconnect reason 10, exit code = 74scp: warning: ssh2 client failed 
 to authenticate. (or you have too old ssh2 installed, check with ssh2 
 -V)

 So, what does ssh2 -V say?

 Wayne

 On Wed, Jun 4, 2008 at 5:12 PM, Krishnamurthi, Venkat 
 [EMAIL PROTECTED] wrote:
  Hi,
 
  I'm trying to deploy a snapshot jar to a remote repository. I 
  followed the instructions given here:
 
  http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-
  ssh-
  external.html
 
  However, when I execute mvn deploy, I get the following error:
 
  [INFO] [deploy:deploy]
  [INFO] Retrieving previous build number from scp_snapshot [WARNING] 
  repository metadata for: 'snapshot demo:demo:1.0-SNAPSHOT'
  could not be retrieved from repository: scp_snapshot due to an
error:
  Exit code: 78 - warning: Authentication failed.
  Disconnected (local); connection lost (Connection closed by remote 
  host.).
  Disconnect reason 10, exit code = 74scp: warning: ssh2 client failed

  to authenticate. (or you have too old ssh2 installed, check with 
  ssh2 -V)
 
  [INFO] Repository 'scp_snapshot' will be blacklisted
  Uploading:
  scpexe://eqp2fcc:1080/scp_snapshot/demo/demo/1.0-SNAPSHOT/demo-1.0-S
  NAPS
  HOT.jar
  [INFO]
  
  
  [ERROR] BUILD ERROR
  [INFO]
  
   [INFO] Error deploying artifact: Error executing command for 
  transfer
 
  Exit code 74 - warning: Authentication failed.
  Disconnected (local); connection lost (Connection closed by remote 
  host.).
  Disconnect reason 10, exit code = 74
 
  My pom.xml has the following distributionManagement:
 
 
   distributionManagement
 repository
   uniqueVersionfalse/uniqueVersion
   idscp_snapshot/id
   nameSCP Snapshot Repository/name
   urlscpexe://eqp2fcc:1080/scp_snapshot/url
   layoutdefault/layout
  /repository
  /distributionManagement
 
  Also, I added the following to my settings.xml
 
   servers
 server
   idscp_snapshot/id
   usernamemy_username/username
   passwordmy_password/password
 /server
   /servers
 
  Please help me resolve this issue.
 
 
  Thanks,
  Venkat
 
  
  - To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




--
---
Thank You...

Mick Knutson
BASE Logic, inc.

Website: http://baselogic.com
Blog: http://baselogic.com/blog
BLiNC Magazine: http://blincmagazine.com Linked IN:
http://linkedin.com/in/mickknutson
DJ Mick: http://djmick.com
MySpace: http://myspace.com/mickknutson
Tahoe: http://tahoe.baselogic.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Error deploying to a remote respository using scm

2008-06-05 Thread Mick Knutson
In additional to that, I am trying any way I can to deploy site docs:

I keep getting this error:
*[INFO] [site:deploy]
The authenticity of host '208.96.48.200' can't be established.
RSA key fingerprint is 15:6f:d1:60:05:21:dd:43:4b:4d:d6:9e:4f:3b:aa:e4.
Are you sure you wan*t to continue connecting? (yes/no):

I have create a ppk and key from putty, and have added this to my pom.xml

site
idsite.internal/id
namesite.internal/name
url${siteUrl}/url
/site

And here is my settings.xml

server
idsite.internal/id
username[username]/username
password[password]/password
filePermissions664/filePermissions
directoryPermissions755/directoryPermissions
privateKeyc:/ssh/internal-private.ppk/privateKey
configuration
sshExecutableplink/sshExecutable
scpExecutablepscp/scpExecutable
/configuration
/server

...

siteUrlscp://208.0.50.1/:/var/www/html/site/siteUrl

I have spent all day on this, and can't find anything that fixes this issue.




On Thu, Jun 5, 2008 at 6:49 AM, Krishnamurthi, Venkat 
[EMAIL PROTECTED] wrote:

 Hi,

 I get the same error when I execute ssh2 -V on my windows XP machine:

 C:\ssh2 -V
 'ssh2' is not recognized as an internal or external command,
 operable program or batch file.

 Please help me resolve this.

 Thanks,
 Venkat

 -Original Message-
 From: Mick Knutson [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 04, 2008 7:40 PM
 To: Maven Users List
 Subject: Re: Error deploying to a remote respository using scm

 on XP, I use that command adn get:

 *C:\opt\baselogicssh2 -V
 'ssh2' is not recognized as an internal or external command, operable
 program or batch file.

 C:\opt\baselogicssh -V
 'ssh' is not recognized as an internal or external command, operable
 program or batch file.

 C:\opt\baselogic
 *

 Then when I try to deploy with scpexe it does the same thing.



 On Wed, Jun 4, 2008 at 4:36 PM, Wayne Fay [EMAIL PROTECTED] wrote:

  The stack trace says very clearly:
  Disconnect reason 10, exit code = 74scp: warning: ssh2 client failed
  to authenticate. (or you have too old ssh2 installed, check with ssh2
  -V)
 
  So, what does ssh2 -V say?
 
  Wayne
 
  On Wed, Jun 4, 2008 at 5:12 PM, Krishnamurthi, Venkat
  [EMAIL PROTECTED] wrote:
   Hi,
  
   I'm trying to deploy a snapshot jar to a remote repository. I
   followed the instructions given here:
  
   http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-
   ssh-
   external.html
  
   However, when I execute mvn deploy, I get the following error:
  
   [INFO] [deploy:deploy]
   [INFO] Retrieving previous build number from scp_snapshot [WARNING]
   repository metadata for: 'snapshot demo:demo:1.0-SNAPSHOT'
   could not be retrieved from repository: scp_snapshot due to an
 error:
   Exit code: 78 - warning: Authentication failed.
   Disconnected (local); connection lost (Connection closed by remote
   host.).
   Disconnect reason 10, exit code = 74scp: warning: ssh2 client failed

   to authenticate. (or you have too old ssh2 installed, check with
   ssh2 -V)
  
   [INFO] Repository 'scp_snapshot' will be blacklisted
   Uploading:
   scpexe://eqp2fcc:1080/scp_snapshot/demo/demo/1.0-SNAPSHOT/demo-1.0-S
   NAPS
   HOT.jar
   [INFO]
   
   
   [ERROR] BUILD ERROR
   [INFO]
   
    [INFO] Error deploying artifact: Error executing command for
   transfer
  
   Exit code 74 - warning: Authentication failed.
   Disconnected (local); connection lost (Connection closed by remote
   host.).
   Disconnect reason 10, exit code = 74
  
   My pom.xml has the following distributionManagement:
  
  
distributionManagement
  repository
uniqueVersionfalse/uniqueVersion
idscp_snapshot/id
nameSCP Snapshot Repository/name
urlscpexe://eqp2fcc:1080/scp_snapshot/url
layoutdefault/layout
   /repository
   /distributionManagement
  
   Also, I added the following to my settings.xml
  
servers
  server
idscp_snapshot/id
usernamemy_username/username
passwordmy_password/password
  /server
/servers
  
   Please help me resolve this issue.
  
  
   Thanks,
   Venkat
  
   
   - To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 


 --
 ---
 Thank You...

 Mick Knutson
 BASE Logic, inc.

 Website: http://baselogic.com
 Blog: http://baselogic.com/blog
 BLiNC Magazine: http://blincmagazine.com Linked IN:
 http

RE: Error deploying to a remote respository using scm

2008-06-05 Thread Krishnamurthi, Venkat
There was an issue with my server path in the last case (I included port
no.). Now I removed the port number and gave the path from root. Now, I
get the following error:

[INFO] [deploy:deploy]
[INFO] Retrieving previous build number from scp_inhouse_snapshot
[WARNING] repository metadata for: 'snapshot demo:demo:1.0-SNAPSHOT'
could not be retrieved from repository: scp_snapshot due to an error:
Exit code: 78 -
You are authorized to use this System for approved business purposes
only.
Use for any other purpose is prohibited. All transactional records,
reports,
e-mail, software, and other data generated by or residing upon this
System
are the property of the Company and may be used by the Company for any
purpose.
Authorized and unauthorized activities may be monitored.


Keyboard-interactive:
PAM authentication
Keyboard-interactive:
PAM authentication
Keyboard-interactive:
PAM authentication
warning: Authentication failed.
Disconnected (local); no more authentication methods available (No
further authentication methods available.).
Disconnect reason 14, exit code = 78scp: warning: ssh2 client failed to
authenticate. (or you have too old ssh2 installed, check with ssh2 -V)

[INFO] Repository 'scp_snapshot' will be blacklisted
Uploading:
scpexe://eqz2pff:/demo/maven2_repositories/scp_snapshot/demo/demo/1.0-SN
APSHOT/demo-1.0-SNAPSHOT.jar
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error deploying artifact: Error executing command for transfer

Exit code 78 -
You are authorized to use this System for approved business purposes
only.
Use for any other purpose is prohibited. All transactional records,
reports,
e-mail, software, and other data generated by or residing upon this
System
are the property of the Company and may be used by the Company for any
purpose.
Authorized and unauthorized activities may be monitored.


Keyboard-interactive:
PAM authentication
Keyboard-interactive:
PAM authentication
Keyboard-interactive:
PAM authentication
warning: Authentication failed.
Disconnected (local); no more authentication methods available (No
further authentication methods available.).
Disconnect reason 14, exit code = 78 

Thanks for your help.

Best Regards,
Venkat
-Original Message-
From: Mick Knutson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 05, 2008 9:56 AM
To: Maven Users List
Subject: Re: Error deploying to a remote respository using scm

In additional to that, I am trying any way I can to deploy site docs:

I keep getting this error:
*[INFO] [site:deploy]
The authenticity of host '208.96.48.200' can't be established.
RSA key fingerprint is 15:6f:d1:60:05:21:dd:43:4b:4d:d6:9e:4f:3b:aa:e4.
Are you sure you wan*t to continue connecting? (yes/no):

I have create a ppk and key from putty, and have added this to my
pom.xml

site
idsite.internal/id
namesite.internal/name
url${siteUrl}/url
/site

And here is my settings.xml

server
idsite.internal/id
username[username]/username
password[password]/password
filePermissions664/filePermissions
directoryPermissions755/directoryPermissions
privateKeyc:/ssh/internal-private.ppk/privateKey
configuration
sshExecutableplink/sshExecutable
scpExecutablepscp/scpExecutable
/configuration
/server

...

siteUrlscp://208.0.50.1/:/var/www/html/site/siteUrl

I have spent all day on this, and can't find anything that fixes this
issue.




On Thu, Jun 5, 2008 at 6:49 AM, Krishnamurthi, Venkat 
[EMAIL PROTECTED] wrote:

 Hi,

 I get the same error when I execute ssh2 -V on my windows XP machine:

 C:\ssh2 -V
 'ssh2' is not recognized as an internal or external command, operable 
 program or batch file.

 Please help me resolve this.

 Thanks,
 Venkat

 -Original Message-
 From: Mick Knutson [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 04, 2008 7:40 PM
 To: Maven Users List
 Subject: Re: Error deploying to a remote respository using scm

 on XP, I use that command adn get:

 *C:\opt\baselogicssh2 -V
 'ssh2' is not recognized as an internal or external command, operable 
 program or batch file.

 C:\opt\baselogicssh -V
 'ssh' is not recognized as an internal or external command, operable 
 program or batch file.

 C:\opt\baselogic
 *

 Then when I try to deploy with scpexe it does the same thing.



 On Wed, Jun 4, 2008 at 4:36 PM, Wayne Fay [EMAIL PROTECTED] wrote:

  The stack trace says very clearly:
  Disconnect reason 10, exit code = 74scp: warning: ssh2 client failed

  to authenticate. (or you have too old ssh2 installed, check with 
  ssh2
  -V)
 
  So, what does ssh2 -V say?
 
  Wayne
 
  On Wed, Jun 4, 2008 at 5:12 PM, Krishnamurthi, Venkat 
  [EMAIL PROTECTED] wrote:
   Hi,
  
   I'm trying to deploy

RE: Error deploying to a remote respository using scm

2008-06-05 Thread Krishnamurthi, Venkat
This is the output of ssh2 -V:

ssh2: SSH Tectia Server 4.4.8 on i686-pc-linux-gnu
Build: 21
Crypto library version: SSH Cryptographic Library, version 1.2.6
FIPS certification mode: DISABLED
Product: SSH Tectia Server (A)
License type: commercial

Thanks,
Venkat 

-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 04, 2008 7:36 PM
To: Maven Users List
Subject: Re: Error deploying to a remote respository using scm

The stack trace says very clearly:
Disconnect reason 10, exit code = 74scp: warning: ssh2 client failed to
authenticate. (or you have too old ssh2 installed, check with ssh2 -V)

So, what does ssh2 -V say?

Wayne

On Wed, Jun 4, 2008 at 5:12 PM, Krishnamurthi, Venkat
[EMAIL PROTECTED] wrote:
 Hi,

 I'm trying to deploy a snapshot jar to a remote repository. I followed

 the instructions given here:

 http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-ss
 h-
 external.html

 However, when I execute mvn deploy, I get the following error:

 [INFO] [deploy:deploy]
 [INFO] Retrieving previous build number from scp_snapshot [WARNING] 
 repository metadata for: 'snapshot demo:demo:1.0-SNAPSHOT'
 could not be retrieved from repository: scp_snapshot due to an error:
 Exit code: 78 - warning: Authentication failed.
 Disconnected (local); connection lost (Connection closed by remote 
 host.).
 Disconnect reason 10, exit code = 74scp: warning: ssh2 client failed 
 to authenticate. (or you have too old ssh2 installed, check with ssh2 
 -V)

 [INFO] Repository 'scp_snapshot' will be blacklisted
 Uploading:
 scpexe://eqp2fcc:1080/scp_snapshot/demo/demo/1.0-SNAPSHOT/demo-1.0-SNA
 PS
 HOT.jar
 [INFO]
 --
 --
 [ERROR] BUILD ERROR
 [INFO]
 --
 -- [INFO] Error deploying artifact: Error executing command for 
 transfer

 Exit code 74 - warning: Authentication failed.
 Disconnected (local); connection lost (Connection closed by remote 
 host.).
 Disconnect reason 10, exit code = 74

 My pom.xml has the following distributionManagement:


  distributionManagement
repository
  uniqueVersionfalse/uniqueVersion
  idscp_snapshot/id
  nameSCP Snapshot Repository/name
  urlscpexe://eqp2fcc:1080/scp_snapshot/url
  layoutdefault/layout
 /repository
 /distributionManagement

 Also, I added the following to my settings.xml

  servers
server
  idscp_snapshot/id
  usernamemy_username/username
  passwordmy_password/password
/server
  /servers

 Please help me resolve this issue.


 Thanks,
 Venkat

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Error deploying to a remote respository using scm

2008-06-05 Thread Mick Knutson
So I get this again:

*The authenticity of host '208.96.48.200' can't be established.
RSA key fingerprint is 15:6f:d1:60:05:21:dd:43:4b:4d:d6:9e:4f:3b:aa:e4.
Are you sure you want to continue connecting? (yes/no): y*

And I do NOT see anything in my security logs:

Jun  5 08:07:13 12825-42150 sshd[9696]: subsystem request for sftp
Jun  5 09:37:29 12825-42150 sshd[3279]: pam_unix(sshd:session):
session closed for user root
Jun  5 09:37:31 12825-42150 sshd[2493]: pam_unix(sshd:session):
session closed for user root
Jun  5 09:37:31 12825-42150 sshd[2429]: pam_unix(sshd:session):
session closed for user root

As this request I just made was at 10:14 and the access above was for root,
not admin anyways.



On Thu, Jun 5, 2008 at 7:10 AM, Krishnamurthi, Venkat 
[EMAIL PROTECTED] wrote:

 This is the output of ssh2 -V:

 ssh2: SSH Tectia Server 4.4.8 on i686-pc-linux-gnu
 Build: 21
 Crypto library version: SSH Cryptographic Library, version 1.2.6
 FIPS certification mode: DISABLED
 Product: SSH Tectia Server (A)
 License type: commercial

 Thanks,
 Venkat

 -Original Message-
 From: Wayne Fay [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 04, 2008 7:36 PM
 To: Maven Users List
 Subject: Re: Error deploying to a remote respository using scm

 The stack trace says very clearly:
 Disconnect reason 10, exit code = 74scp: warning: ssh2 client failed to
 authenticate. (or you have too old ssh2 installed, check with ssh2 -V)

 So, what does ssh2 -V say?

 Wayne

 On Wed, Jun 4, 2008 at 5:12 PM, Krishnamurthi, Venkat
 [EMAIL PROTECTED] wrote:
  Hi,
 
  I'm trying to deploy a snapshot jar to a remote repository. I followed

  the instructions given here:
 
  http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-ss
  h-
  external.html
 
  However, when I execute mvn deploy, I get the following error:
 
  [INFO] [deploy:deploy]
  [INFO] Retrieving previous build number from scp_snapshot [WARNING]
  repository metadata for: 'snapshot demo:demo:1.0-SNAPSHOT'
  could not be retrieved from repository: scp_snapshot due to an error:
  Exit code: 78 - warning: Authentication failed.
  Disconnected (local); connection lost (Connection closed by remote
  host.).
  Disconnect reason 10, exit code = 74scp: warning: ssh2 client failed
  to authenticate. (or you have too old ssh2 installed, check with ssh2
  -V)
 
  [INFO] Repository 'scp_snapshot' will be blacklisted
  Uploading:
  scpexe://eqp2fcc:1080/scp_snapshot/demo/demo/1.0-SNAPSHOT/demo-1.0-SNA
  PS
  HOT.jar
  [INFO]
  --
  --
  [ERROR] BUILD ERROR
  [INFO]
  --
  -- [INFO] Error deploying artifact: Error executing command for
  transfer
 
  Exit code 74 - warning: Authentication failed.
  Disconnected (local); connection lost (Connection closed by remote
  host.).
  Disconnect reason 10, exit code = 74
 
  My pom.xml has the following distributionManagement:
 
 
   distributionManagement
 repository
   uniqueVersionfalse/uniqueVersion
   idscp_snapshot/id
   nameSCP Snapshot Repository/name
   urlscpexe://eqp2fcc:1080/scp_snapshot/url
   layoutdefault/layout
  /repository
  /distributionManagement
 
  Also, I added the following to my settings.xml
 
   servers
 server
   idscp_snapshot/id
   usernamemy_username/username
   passwordmy_password/password
 /server
   /servers
 
  Please help me resolve this issue.
 
 
  Thanks,
  Venkat
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-- 
---
Thank You…

Mick Knutson
BASE Logic, inc.

Website: http://baselogic.com
Blog: http://baselogic.com/blog
BLiNC Magazine: http://blincmagazine.com
Linked IN: http://linkedin.com/in/mickknutson
DJ Mick: http://djmick.com
MySpace: http://myspace.com/mickknutson
Tahoe: http://tahoe.baselogic.com


Error deploying to a remote respository using scm

2008-06-04 Thread Krishnamurthi, Venkat
Hi,

I'm trying to deploy a snapshot jar to a remote repository. I followed
the instructions given here:

http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-ssh-
external.html

However, when I execute mvn deploy, I get the following error:

[INFO] [deploy:deploy]
[INFO] Retrieving previous build number from scp_snapshot
[WARNING] repository metadata for: 'snapshot demo:demo:1.0-SNAPSHOT'
could not be retrieved from repository: scp_snapshot due to an error:
Exit code: 78 - warning: Authentication failed.
Disconnected (local); connection lost (Connection closed by remote
host.).
Disconnect reason 10, exit code = 74scp: warning: ssh2 client failed to
authenticate. (or you have too old ssh2 installed, check with ssh2 -V)

[INFO] Repository 'scp_snapshot' will be blacklisted
Uploading:
scpexe://eqp2fcc:1080/scp_snapshot/demo/demo/1.0-SNAPSHOT/demo-1.0-SNAPS
HOT.jar
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error deploying artifact: Error executing command for transfer

Exit code 74 - warning: Authentication failed.
Disconnected (local); connection lost (Connection closed by remote
host.).
Disconnect reason 10, exit code = 74

My pom.xml has the following distributionManagement:


 distributionManagement
repository
  uniqueVersionfalse/uniqueVersion
  idscp_snapshot/id
  nameSCP Snapshot Repository/name
  urlscpexe://eqp2fcc:1080/scp_snapshot/url
  layoutdefault/layout
/repository
/distributionManagement

Also, I added the following to my settings.xml

  servers
server
  idscp_snapshot/id
  usernamemy_username/username
  passwordmy_password/password
/server
  /servers

Please help me resolve this issue.


Thanks,
Venkat

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Error deploying to a remote respository using scm

2008-06-04 Thread Wayne Fay
The stack trace says very clearly:
Disconnect reason 10, exit code = 74scp: warning: ssh2 client failed to
authenticate. (or you have too old ssh2 installed, check with ssh2 -V)

So, what does ssh2 -V say?

Wayne

On Wed, Jun 4, 2008 at 5:12 PM, Krishnamurthi, Venkat
[EMAIL PROTECTED] wrote:
 Hi,

 I'm trying to deploy a snapshot jar to a remote repository. I followed
 the instructions given here:

 http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-ssh-
 external.html

 However, when I execute mvn deploy, I get the following error:

 [INFO] [deploy:deploy]
 [INFO] Retrieving previous build number from scp_snapshot
 [WARNING] repository metadata for: 'snapshot demo:demo:1.0-SNAPSHOT'
 could not be retrieved from repository: scp_snapshot due to an error:
 Exit code: 78 - warning: Authentication failed.
 Disconnected (local); connection lost (Connection closed by remote
 host.).
 Disconnect reason 10, exit code = 74scp: warning: ssh2 client failed to
 authenticate. (or you have too old ssh2 installed, check with ssh2 -V)

 [INFO] Repository 'scp_snapshot' will be blacklisted
 Uploading:
 scpexe://eqp2fcc:1080/scp_snapshot/demo/demo/1.0-SNAPSHOT/demo-1.0-SNAPS
 HOT.jar
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Error deploying artifact: Error executing command for transfer

 Exit code 74 - warning: Authentication failed.
 Disconnected (local); connection lost (Connection closed by remote
 host.).
 Disconnect reason 10, exit code = 74

 My pom.xml has the following distributionManagement:


  distributionManagement
repository
  uniqueVersionfalse/uniqueVersion
  idscp_snapshot/id
  nameSCP Snapshot Repository/name
  urlscpexe://eqp2fcc:1080/scp_snapshot/url
  layoutdefault/layout
 /repository
 /distributionManagement

 Also, I added the following to my settings.xml

  servers
server
  idscp_snapshot/id
  usernamemy_username/username
  passwordmy_password/password
/server
  /servers

 Please help me resolve this issue.


 Thanks,
 Venkat

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Error deploying to a remote respository using scm

2008-06-04 Thread Mick Knutson
on XP, I use that command adn get:

*C:\opt\baselogicssh2 -V
'ssh2' is not recognized as an internal or external command,
operable program or batch file.

C:\opt\baselogicssh -V
'ssh' is not recognized as an internal or external command,
operable program or batch file.

C:\opt\baselogic
*

Then when I try to deploy with scpexe it does the same thing.



On Wed, Jun 4, 2008 at 4:36 PM, Wayne Fay [EMAIL PROTECTED] wrote:

 The stack trace says very clearly:
 Disconnect reason 10, exit code = 74scp: warning: ssh2 client failed to
 authenticate. (or you have too old ssh2 installed, check with ssh2 -V)

 So, what does ssh2 -V say?

 Wayne

 On Wed, Jun 4, 2008 at 5:12 PM, Krishnamurthi, Venkat
 [EMAIL PROTECTED] wrote:
  Hi,
 
  I'm trying to deploy a snapshot jar to a remote repository. I followed
  the instructions given here:
 
  http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-ssh-
  external.html
 
  However, when I execute mvn deploy, I get the following error:
 
  [INFO] [deploy:deploy]
  [INFO] Retrieving previous build number from scp_snapshot
  [WARNING] repository metadata for: 'snapshot demo:demo:1.0-SNAPSHOT'
  could not be retrieved from repository: scp_snapshot due to an error:
  Exit code: 78 - warning: Authentication failed.
  Disconnected (local); connection lost (Connection closed by remote
  host.).
  Disconnect reason 10, exit code = 74scp: warning: ssh2 client failed to
  authenticate. (or you have too old ssh2 installed, check with ssh2 -V)
 
  [INFO] Repository 'scp_snapshot' will be blacklisted
  Uploading:
  scpexe://eqp2fcc:1080/scp_snapshot/demo/demo/1.0-SNAPSHOT/demo-1.0-SNAPS
  HOT.jar
  [INFO]
  
  [ERROR] BUILD ERROR
  [INFO]
  
  [INFO] Error deploying artifact: Error executing command for transfer
 
  Exit code 74 - warning: Authentication failed.
  Disconnected (local); connection lost (Connection closed by remote
  host.).
  Disconnect reason 10, exit code = 74
 
  My pom.xml has the following distributionManagement:
 
 
   distributionManagement
 repository
   uniqueVersionfalse/uniqueVersion
   idscp_snapshot/id
   nameSCP Snapshot Repository/name
   urlscpexe://eqp2fcc:1080/scp_snapshot/url
   layoutdefault/layout
  /repository
  /distributionManagement
 
  Also, I added the following to my settings.xml
 
   servers
 server
   idscp_snapshot/id
   usernamemy_username/username
   passwordmy_password/password
 /server
   /servers
 
  Please help me resolve this issue.
 
 
  Thanks,
  Venkat
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-- 
---
Thank You…

Mick Knutson
BASE Logic, inc.

Website: http://baselogic.com
Blog: http://baselogic.com/blog
BLiNC Magazine: http://blincmagazine.com
Linked IN: http://linkedin.com/in/mickknutson
DJ Mick: http://djmick.com
MySpace: http://myspace.com/mickknutson
Tahoe: http://tahoe.baselogic.com


Re: Respository

2007-12-08 Thread nicolas de loof
I did it myself :
my server is a windows share (with Write access restrictions) and is used
with URL

file:/My_corporate_windows_server/Maven_repository


2007/12/8, James D Carroll [EMAIL PROTECTED]:

 Is it possible to set up a repository on a network drive without some
 kind of server acting as an intermediary?

 Thanks,

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




Respository

2007-12-08 Thread James D Carroll
Is it possible to set up a repository on a network drive without some 
kind of server acting as an intermediary?


Thanks,

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



problem with deploying a non-SNAPSHOT version to the respository

2007-09-06 Thread Baoli Zhang
Hi,

 

I am using maven2 for the new project. When I deploy a SNAPSHOT version
to the repository, it was successful. But when I change the version to
an non-SNAPSHOT version, like I changed the build.version=1.0.0.77, I
got the error as following. All the settings are same. I attach my
settings (for windows ) and pom.xml here:

 

[INFO]


[ERROR] BUILD ERROR

[INFO]


[INFO] Error deploying artifact: Error executing command for transfer

 

Exit code 1 - 'ssh' is not recognized as an internal or external
command, operable program or batch file.

 

The second question:

On windows, I have to use scpexe:// for deploy, but on unix I have to
change to scp://. Any one knows how to combine them to one? I don't want
to have 2 version of code.

 

Any help would be much appreciated.

 

Baoli zhang

[EMAIL PROTECTED]



The information contained in this e-mail message and any
attachments may be privileged and confidential. If the reader of
this message is not the intended recipient or an agent
responsible for delivering it to the intended recipient, you are
hereby notified that any review, dissemination, distribution or
copying of this communication is strictly prohibited. If you have
received this communication in error, please notify the sender
immediately by replying to this e-mail and delete the message and
any attachments from your computer.

settings xmlns=http://maven.apache.org/POM/4.0.0;
	xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
	xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
  http://maven.apache.org/xsd/settings-1.0.0.xsd;
	
	localRepositoryc:/Docume~1/bzhang/.m2/repository/localRepository
	interactiveMode/
	usePluginRegistry/
	offline/
	pluginGroups/
	
servers
		server
			idmavenOneRemoteRepository/id
			usernamemaven/username
			passwordmaven12/password
			filePermissions664/filePermissions
			directoryPermissions775/directoryPermissions
			configuration
sshExecutableplink/sshExecutable
scpExecutablepscp/scpExecutable
			/configuration
		/server
		server
			idM2-INHOUSE-REPO/id
			usernamemaven/username
			passwordmaven12/password
			filePermissions664/filePermissions
			directoryPermissions775/directoryPermissions
			configuration
sshExecutableplink/sshExecutable
scpExecutablepscp/scpExecutable
			/configuration
		/server
		server
			idM2-INHOUSE-SNAPSHOT-REPO/id
			usernamemaven/username
			passwordmaven12/password
			filePermissions664/filePermissions
			directoryPermissions775/directoryPermissions
			configuration
sshExecutableplink/sshExecutable
scpExecutablepscp/scpExecutable
			/configuration
		/server
		server
			idM2-THIRDPARTY-REPO/id
			usernamemaven/username
			passwordmaven12/password
			filePermissions664/filePermissions
			directoryPermissions775/directoryPermissions
			configuration
sshExecutableplink/sshExecutable
scpExecutablepscp/scpExecutable
			/configuration
		/server

		server
			idloyalty-site-repository/id
			usernamemaven/username
			passwordmaven12/password
			filePermissions664/filePermissions
			directoryPermissions775/directoryPermissions
			configuration
sshExecutableplink/sshExecutable
scpExecutablepscp/scpExecutable
			/configuration
		/server
	/servers

	profiles/
	mirrors/
	proxies/
	activeProfiles /

/settings

project
	modelVersion4.0.0/modelVersion
	groupIdcom.loyalty.arrow/groupId
	artifactIdarrow-services/artifactId
	version${buildVersion}/version
	packagingpom/packaging
	nameArrow Services Project/name
	descriptionArrow Services Project/description
	
	dependencyManagement
	/dependencyManagement
	
	dependencies
		dependency
			groupIdweblogic/groupId
			artifactIdweblogic/artifactId
			version8.1.5/version
			scopeprovided/scope
		/dependency
		
		dependency
			groupIdlog4j/groupId
			artifactIdlog4j/artifactId
			version1.2.8/version
		/dependency
		
		dependency
			groupIdjunit/groupId
			artifactIdjunit/artifactId
			version3.8.1/version
			scopetest/scope
		/dependency
		
		dependency
			groupIdcom.loyalty.arrow/groupId
			artifactIdarrow-model/artifactId
			version${arrow.model.version}/version
		/dependency
dependency
groupIdorg.apache.maven.wagon/groupId
artifactIdwagon-ssh-external/artifactId
version1.0-beta-2/version
/dependency 

	/dependencies
	
	modules
		moduleutils/module
!--		moduleammis/account-facade/module
		moduleammis/collector-facade/module  --
		modulecard-facade/module
		moduledummy-facade/module
		moduleepin-facade/module
		moduleghost-facade/module
		moduleorder-facade/module
		moduleprofanity-filter-facade/module
		modulesegment-facade/module
		modulesponsor-facade/module
		modulesurvey-facade/module
		moduletravel-facade/module
	/modules
	
	!--
	lets this project use maven1 repository
	--
	repositories
!--  repository
 idmavenOneRemoteRepository/id
 namerepository maven 

RE: problem with deploying a non-SNAPSHOT version to the respository

2007-09-06 Thread Baoli Zhang
I found the problem. 

As I need to deploy to maven1 repository at the same time, at first I
defined maven1 repo in distributionManagement, and comment out maven2
non-SNAPSHOT repo. That caused the problem because it could not find the
repo.

 

It doesn't need to define maven1 repo in distributionManagement, because
I use maven-one-plugin to do it. I only need to define maven2 repo in
distributionManagement and that solved the problem.

 

baoli



From: Baoli Zhang [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 06, 2007 9:33 AM
To: users@maven.apache.org
Subject: problem with deploying a non-SNAPSHOT version to the
respository 

 

Hi,

 

I am using maven2 for the new project. When I deploy a SNAPSHOT version
to the repository, it was successful. But when I change the version to
an non-SNAPSHOT version, like I changed the build.version=1.0.0.77, I
got the error as following. All the settings are same. I attach my
settings (for windows ) and pom.xml here:

 

[INFO]


[ERROR] BUILD ERROR

[INFO]


[INFO] Error deploying artifact: Error executing command for transfer

 

Exit code 1 - 'ssh' is not recognized as an internal or external
command, operable program or batch file.

 

The second question:

On windows, I have to use scpexe:// for deploy, but on unix I have to
change to scp://. Any one knows how to combine them to one? I don't want
to have 2 version of code.

 

Any help would be much appreciated.

 

Baoli zhang

[EMAIL PROTECTED]

The information contained in this e-mail message and any 
attachments may be privileged and confidential. If the reader of 
this message is not the intended recipient or an agent 
responsible for delivering it to the intended recipient, you are 
hereby notified that any review, dissemination, distribution or 
copying of this communication is strictly prohibited. If you have 
received this communication in error, please notify the sender 
immediately by replying to this e-mail and delete the message and 
any attachments from your computer.






RE: Remote respository

2007-08-16 Thread Mathias P.W Nilsson

Thank you all!

But if maven should upload to respository I need login because the jars is
just for internal projects not for external. And I need to reach the remote
respository from home.


-- 
View this message in context: 
http://www.nabble.com/Remote-respository-tf4273892s177.html#a12183034
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Remote respository

2007-08-15 Thread Mathias P.W Nilsson

How can I make my own remote respository that my team can use? 
I mean so that when I add a dependeny to my application the jar files are
downloaded from a remote server
-- 
View this message in context: 
http://www.nabble.com/Remote-respository-tf4273892s177.html#a12164430
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Remote respository

2007-08-15 Thread Mathias P.W Nilsson

I think I better explain this a little better :wistle:

When I have created my project with maven and I want some other programmers
to be able to use my project as a dependency, how can I accomplish this?

Local harddrive doesn't work. I probably need a server of some sort that is
exposed to the internet. but I don't know how this can be done.

// Mathias
-- 
View this message in context: 
http://www.nabble.com/Remote-respository-tf4273892s177.html#a12164966
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Remote respository

2007-08-15 Thread Cort, Tom
You can define a repository in the distributionManagement part of pom.xml.
When you want to upload the jar file to the repository, just run mvn
deploy. In the example below, maven will upload the artifacts with scp
(secure copy) to /var/www/maven on gateway-demo.osuosl.org.

project
[...]
  distributionManagement
repository
  idrepository/id
  nameRepository/name
  urlscp://gateway-demo.osuosl.org/var/www/maven//url
/repository
  /distributionManagement
[...]
/project

To tell maven to use the repository when it looks for dependencies, add a
repository entry to pom.xml

project
[...]
  repositories
repository
  idvt-repo/id
  nameVermont Repository/name
  urlhttp://gateway-demo.osuosl.org/maven/url
  releases
enabledtrue/enabled
  /releases
/repository
  /repositories
[...]
/project

--
Tom Cort
Systems Developer
Vermont Department of Taxes


smime.p7s
Description: S/MIME cryptographic signature


Re: Remote respository

2007-08-15 Thread Wayne Fay
Most people set up what is called a Corporate Repository, which is
then shared by all Maven-using dev teams in the organization.

Among your options for implementing something like this as Proximity,
Artifactory, Archiva etc (there are more, search this list).

Wayne

On 8/15/07, Mathias P.W Nilsson [EMAIL PROTECTED] wrote:

 I think I better explain this a little better :wistle:

 When I have created my project with maven and I want some other programmers
 to be able to use my project as a dependency, how can I accomplish this?

 Local harddrive doesn't work. I probably need a server of some sort that is
 exposed to the internet. but I don't know how this can be done.

 // Mathias
 --
 View this message in context: 
 http://www.nabble.com/Remote-respository-tf4273892s177.html#a12164966
 Sent from the Maven - Users mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Remote respository

2007-08-15 Thread Steven Rowe
Hi Mathias,

In Maven parlance, what you want is called an Internal Repository.
See the Maven intro to repos for some discussion:

http://maven.apache.org/guides/introduction/introduction-to-repositories.html

Steve

Mathias P.W Nilsson wrote:
 I think I better explain this a little better :wistle:
 
 When I have created my project with maven and I want some other programmers
 to be able to use my project as a dependency, how can I accomplish this?
 
 Local harddrive doesn't work. I probably need a server of some sort that is
 exposed to the internet. but I don't know how this can be done.
 
 // Mathias


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Loading a POM from the Respository

2006-11-21 Thread Tom Huybrechts

Read 'specifying a new packaging' in the 'Introduction to the lifecycle'
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html

Don't forget to set extensionstrueextensions on the plugin
defining your new lifecycle.

Tom

On 11/21/06, Ole Ersoy [EMAIL PROTECTED] wrote:

Wow,

Tom - It certainly looks like you hit the nail right
on the head there.

Terrific.

Would you by chance happen to know how I go about
configuring the project lifecycle to support a a
different artifact type as well?

I'm writing a mojo for the JPackage project, and
creating a corresponding archetype so that JPackagers
can generate RPMS quickly from Maven projects, and I'd
like to have the packaging element set to jpackage.

However if I do this I get an exception like this one:

[INFO] Cannot find lifecycle mapping for packaging:
'jpackage'.
Component descriptor cannot be found in the component
repository:
org.apache.maven.lifecycle.mapping.LifecycleMappingjpackage.



Brilliant work on the cookbook.

Thanks again!

- Ole


--- Tom Huybrechts [EMAIL PROTECTED] wrote:

 If you want to do this in a mojo, look at 'resolving
 an artifact' in
 the Mojo Developer Cookbook:

http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook
 Use an artifact of type 'pom'.


 On 11/21/06, Ole Ersoy [EMAIL PROTECTED] wrote:
  Hi,
 
  I need to to create a path string representing a
  location  of a pom in the local maven repository
 on
  Linux.
 
  What is the best way of going about this?
 
  One thought I had was to just get the USER
 environment
  variable and construct the repository path
 manually,
  but that assumes that the repository is located
 under
  /home/$user/.m2/repository
 
  And ideally Maven would be able to inject a
 parameter
  telling the plugin where the plugin what the path
 to
  the local repository base directory is.
 
  ideas?
 
  Thanks,
  - Ole
 
 
 
 
 
 


  Do you Yahoo!?
  Everyone is raving about the all-new Yahoo! Mail
 beta.
  http://new.mail.yahoo.com
 
 

-
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 


-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]







Sponsored Link

Online degrees - find the right program to advance your career.
www.nextag.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Loading a POM from the Respository

2006-11-21 Thread Tom Huybrechts

If you want to do this in a mojo, look at 'resolving an artifact' in
the Mojo Developer Cookbook:
http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook
Use an artifact of type 'pom'.


On 11/21/06, Ole Ersoy [EMAIL PROTECTED] wrote:

Hi,

I need to to create a path string representing a
location  of a pom in the local maven repository on
Linux.

What is the best way of going about this?

One thought I had was to just get the USER environment
variable and construct the repository path manually,
but that assumes that the repository is located under
/home/$user/.m2/repository

And ideally Maven would be able to inject a parameter
telling the plugin where the plugin what the path to
the local repository base directory is.

ideas?

Thanks,
- Ole






Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Loading a POM from the Respository

2006-11-21 Thread Ole Ersoy
Terrific - I think I finally have all my puzzle pieces
lined up now.

Thanks again,
- Ole


--- Tom Huybrechts [EMAIL PROTECTED] wrote:

 Read 'specifying a new packaging' in the
 'Introduction to the lifecycle'

http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
 
 Don't forget to set extensionstrueextensions on
 the plugin
 defining your new lifecycle.
 
 Tom
 
 On 11/21/06, Ole Ersoy [EMAIL PROTECTED] wrote:
  Wow,
 
  Tom - It certainly looks like you hit the nail
 right
  on the head there.
 
  Terrific.
 
  Would you by chance happen to know how I go about
  configuring the project lifecycle to support a a
  different artifact type as well?
 
  I'm writing a mojo for the JPackage project, and
  creating a corresponding archetype so that
 JPackagers
  can generate RPMS quickly from Maven projects, and
 I'd
  like to have the packaging element set to
 jpackage.
 
  However if I do this I get an exception like this
 one:
 
  [INFO] Cannot find lifecycle mapping for
 packaging:
  'jpackage'.
  Component descriptor cannot be found in the
 component
  repository:
 

org.apache.maven.lifecycle.mapping.LifecycleMappingjpackage.
 
 
 
  Brilliant work on the cookbook.
 
  Thanks again!
 
  - Ole
 
 
  --- Tom Huybrechts [EMAIL PROTECTED]
 wrote:
 
   If you want to do this in a mojo, look at
 'resolving
   an artifact' in
   the Mojo Developer Cookbook:
  
 

http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook
   Use an artifact of type 'pom'.
  
  
   On 11/21/06, Ole Ersoy [EMAIL PROTECTED]
 wrote:
Hi,
   
I need to to create a path string representing
 a
location  of a pom in the local maven
 repository
   on
Linux.
   
What is the best way of going about this?
   
One thought I had was to just get the USER
   environment
variable and construct the repository path
   manually,
but that assumes that the repository is
 located
   under
/home/$user/.m2/repository
   
And ideally Maven would be able to inject a
   parameter
telling the plugin where the plugin what the
 path
   to
the local repository base directory is.
   
ideas?
   
Thanks,
- Ole
   
   
   
   
   
   
  
 


Do you Yahoo!?
Everyone is raving about the all-new Yahoo!
 Mail
   beta.
http://new.mail.yahoo.com
   
   
  
 

-
To unsubscribe, e-mail:
   [EMAIL PROTECTED]
For additional commands, e-mail:
   [EMAIL PROTECTED]
   
   
  
  
 

-
   To unsubscribe, e-mail:
   [EMAIL PROTECTED]
   For additional commands, e-mail:
   [EMAIL PROTECTED]
  
  
 
 
 
 
 


  Sponsored Link
 
  Online degrees - find the right program to advance
 your career.
  www.nextag.com
 
 

-
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 



 

Sponsored Link

Rates near 39yr lows. $510,000 Loan for $1698/mo. 
Calcuate new payment. www.LowerMyBills.com/lre

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Loading a POM from the Respository

2006-11-21 Thread Ole Ersoy
Wow,

Tom - It certainly looks like you hit the nail right
on the head there.

Terrific.

Would you by chance happen to know how I go about
configuring the project lifecycle to support a a
different artifact type as well?

I'm writing a mojo for the JPackage project, and
creating a corresponding archetype so that JPackagers
can generate RPMS quickly from Maven projects, and I'd
like to have the packaging element set to jpackage.

However if I do this I get an exception like this one:

[INFO] Cannot find lifecycle mapping for packaging:
'jpackage'.
Component descriptor cannot be found in the component
repository:
org.apache.maven.lifecycle.mapping.LifecycleMappingjpackage.



Brilliant work on the cookbook.  

Thanks again!

- Ole


--- Tom Huybrechts [EMAIL PROTECTED] wrote:

 If you want to do this in a mojo, look at 'resolving
 an artifact' in
 the Mojo Developer Cookbook:

http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook
 Use an artifact of type 'pom'.
 
 
 On 11/21/06, Ole Ersoy [EMAIL PROTECTED] wrote:
  Hi,
 
  I need to to create a path string representing a
  location  of a pom in the local maven repository
 on
  Linux.
 
  What is the best way of going about this?
 
  One thought I had was to just get the USER
 environment
  variable and construct the repository path
 manually,
  but that assumes that the repository is located
 under
  /home/$user/.m2/repository
 
  And ideally Maven would be able to inject a
 parameter
  telling the plugin where the plugin what the path
 to
  the local repository base directory is.
 
  ideas?
 
  Thanks,
  - Ole
 
 
 
 
 
 


  Do you Yahoo!?
  Everyone is raving about the all-new Yahoo! Mail
 beta.
  http://new.mail.yahoo.com
 
 

-
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 



 

Sponsored Link

Online degrees - find the right program to advance your career. 
www.nextag.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Maven Respository Question

2006-09-05 Thread Dave M
i'm pretty new to maven (using maven2) and am evaluating its use within our 
organization.


i saw a warning in some of my builds today that said it couldn't find the 
pom file in the axis - axis-jaxrpc/1.4 directory.  so, i browsed around some 
of the repositories (both our local mavenproxy as well as 
ibiblio.org/maven2).  1.4 doesn't have a pom file, but 1.3 does.


http://www.ibiblio.org/maven2/axis/axis-jaxrpc/1.3/

http://www.ibiblio.org/maven2/axis/axis-jaxrpc/1.4/

it seems to be a reoccurring theme...looking around shows some with pom's 
and some without.


i'm trying to find some material indicating whether or not they are required 
and, if they are, why are there so many listings in the repository without 
pom files?


thanks in advance.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Project ignoring custom respository?

2006-03-23 Thread Gareth Western
Hi again,

Yes, maven-proxy-webapp can contact the Internet (and ibiblio.org). If I go
directly to a URL on my maven-proxy, e.g.
http://myServer:8080/maven-proxy-webapp/repository/commons-logging/jars/commons-logging-1.0.1.jar,
then the proxy will download and store this jar correctly. It just doesn't
work when I'm trying to access it via the project on my local machine...

On 3/22/06, Thorsten Heit [EMAIL PROTECTED] wrote:


 Hi,

Does your Maven proxy have direct access to the Internet, i.e. can your
 proxy access ibiblio.org?

 Some days ago ibiblio.org wasn't accessible for a few people for some
 unknown reason, perhaps you should simply try again...?

 Regards

 Thorsten



Re: Project ignoring custom respository?

2006-03-23 Thread Gareth Western
Nevermind. The problem was just a typo in my maven-proxy.properties file.

The default configuration for the ibiblio repo, when downloaded from the
maven-proxy homepage, points to http://www.ibiblio.org/maven. This should
have been (for my project) http:///www.ibiblio.org/maven2

Very annoying!

Thanks for all the replies!

Gareth

On 3/23/06, Gareth Western [EMAIL PROTECTED] wrote:

 Hi again,

 Yes, maven-proxy-webapp can contact the Internet (and ibiblio.org). If I
 go directly to a URL on my maven-proxy, e.g.
 http://myServer:8080/maven-proxy-webapp/repository/commons-logging/jars/commons-logging-1.0.1.jar,
 then the proxy will download and store this jar correctly. It just doesn't
 work when I'm trying to access it via the project on my local machine...

 On 3/22/06, Thorsten Heit [EMAIL PROTECTED] wrote:

 
  Hi,

 Does your Maven proxy have direct access to the Internet, i.e. can your
  proxy access ibiblio.org?
 
  Some days ago ibiblio.org wasn't accessible for a few people for some
  unknown reason, perhaps you should simply try again...?
 
  Regards
 
  Thorsten
 



Project ignoring custom respository?

2006-03-22 Thread Gareth Western
Hi,

I'm trying to setup a local repository using the maven-proxy webapp. I have
successfully installed the webapp on a local Tomcat server, and i'm
monitoring the catalina.out log file to see what happens. In a project on my
local machine, I have the following specified in my pom.xml:

project
...
   repositories
 repository
  idmy-repo/id
  namemy custom repo/name
  urlhttp://myserver:8080/maven-proxy-webapp/repository/url
 /repository
   /repositories
/project


i clean out my local machine's repository in order to try to use the
maven-proxy-webapp, however whenever I run the project (mvn compile), the
project just goes straight to ibiblio to fetch the dependencies!

Does anyone have any suggestions as to why the project is not picking up my
local repository?

Thanks,

Gareth


Re: Project ignoring custom respository?

2006-03-22 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Gareth,

 project
 ...
repositories
  repository
   idmy-repo/id
   namemy custom repo/name
   urlhttp://myserver:8080/maven-proxy-webapp/repository/url
  /repository
/repositories
 /project

I'm using the following in my pom.xml:

repositories
  repository
releases
  enabledfalse/enabled
/releases
idapache.snapshots/id
nameApache Development Repository/name
urlhttp://cvs.apache.org/maven-snapshot-repository/url
  /repository
/repositories


The Maven proxy is specified in my settings.xml:

settings
  mirrors
mirror
  idbender/id
  nameInternal mirror of http://repo1.maven.org/maven2//name
  urlhttp://maven_proxy:/repository/url
  mirrorOfcentral/mirrorOf
/mirror
  /mirrors
/settings


HTH

Thorsten
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (MingW32)

iD8DBQFEIYcaQvObkgCcDe0RApXeAJ9bDDrqY8563KdBOPDmaz+PboyV8wCgrHFl
iJTyp77tUdUIIDdErGGVQ5c=
=n3Ex
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Project ignoring custom respository?

2006-03-22 Thread Gareth Western
Hi Thorsten,

Thanks for your reply! So by doing that, you're saying that you only want to
use your mirror if the central repo is down, correct?

However I would like to use the maven proxy before trying to contact
central. What am I getting wrong?

Thanks,

Gareth

On 3/22/06, Thorsten Heit [EMAIL PROTECTED] wrote:

 Hi Gareth,

 I'm using the following in my pom.xml:

 repositories
   repository
 releases
   enabledfalse/enabled
 /releases
 idapache.snapshots/id
 nameApache Development Repository/name
 urlhttp://cvs.apache.org/maven-snapshot-repository/url
   /repository
 /repositories


 The Maven proxy is specified in my settings.xml:

 settings
   mirrors
 mirror
   idbender/id
   nameInternal mirror of http://repo1.maven.org/maven2//name
   urlhttp://maven_proxy:/repository/url
   mirrorOfcentral/mirrorOf
 /mirror
   /mirrors
 /settings

 Thorsten




Re: Project ignoring custom respository?

2006-03-22 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Gareth,

 Thanks for your reply! So by doing that, you're saying that you only want to
 use your mirror if the central repo is down, correct?

No, the proxy is always contacted. See
http://maven.apache.org/guides/mini/guide-mirror-settings.html


 However I would like to use the maven proxy before trying to contact
 central. What am I getting wrong?

That's exactly what I'm doing here: If a file doesn't yet exist on the
proxy, it is fetched from central :-)


Thorsten
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (MingW32)

iD8DBQFEIY1oQvObkgCcDe0RAuUJAJ0VpwIT47SyFL37UcVZJIzEZJiVcQCeLTpo
EwLA5ubgKgiRTaNB7sGR3Ak=
=lyAR
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Project ignoring custom respository?

2006-03-22 Thread Gareth Western
Ah thanks! Ok, so now i'm getting somewhere. Now my internal maven proxy is
being contacted, however it doesn't seem to be able to fetch anything from
central. For example: I removed everything from ~/.m2/repository and ran my
project again, however it fell over straight away with:
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not
exist or no valid version could be found
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]


I assume this means it can't fetch the maven-resources-plugin from the
repository (because it's not in my local one yet). But why didn't it then go
on to try central?

Sorry for all the bother, and once again thank you for your help!

Gareth

On 3/22/06, Thorsten Heit [EMAIL PROTECTED] wrote:


 No, the proxy is always contacted. See
 http://maven.apache.org/guides/mini/guide-mirror-settings.html

 Thorsten





Re: Project ignoring custom respository?

2006-03-22 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

 I assume this means it can't fetch the maven-resources-plugin from the
 repository (because it's not in my local one yet). But why didn't it then go
 on to try central?

Does your Maven proxy have direct access to the Internet, i.e. can your
proxy access ibiblio.org?

Some days ago ibiblio.org wasn't accessible for a few people for some
unknown reason, perhaps you should simply try again...?


Regards

Thorsten
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (MingW32)

iD8DBQFEIZuVQvObkgCcDe0RApJHAKC1OH3rXdi2kOLD/N67TKtYTiWJwgCeMMlJ
EYvaLHhCMVtwDBoGEoDWKFI=
=W43x
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[m2] Respository create bundle mojo

2006-01-22 Thread John Fallows
Folks,

When I try to run the repository create bundle mojo in a multi-module
project, it fails with a build error:

[ERROR] BUILD ERROR
[INFO]

[INFO] Packaging cannot be POM when creating an upload bundle.
[INFO]


As a workaround, I could go into each module directory manually and re-run
the mojo, but then the parent pom.xml in the top level project directory is
not present in any of those bundle JARs

Any suggestions?

Kind Regards,
John Fallows.
--
http://apress.com/book/bookDisplay.html?bID=10044
Author: Pro JSF and Ajax: Building Rich Internet Components, Apress


[m2] maven-assembly-plugin: does install result to respository?

2006-01-12 Thread Richard Allen
When using the assembly plugin, will the install goal put the result of 
the assembly into the repository?


Thanks,
Richard Allen

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [m2] maven-assembly-plugin: does install result to respository?

2006-01-12 Thread dan tran
yes, use assembly:attach goal, but this feature is still SVN

-Dan



On 1/12/06, Richard Allen [EMAIL PROTECTED] wrote:

 When using the assembly plugin, will the install goal put the result of
 the assembly into the repository?

 Thanks,
 Richard Allen

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




Maven will not switch remote respository !!!????

2004-09-08 Thread Eric Chow
Hello,

I set the properties

maven.repo.remote = http://www.bluesunrise.com/maven/,
http://www.ibiblio.org/maven/, http://dist.codehaus.org/,
http://cvs.apache.org/repository;

in project.properties.


When the project requres some dependency library, it is not existed in
http://www.bluesunrise.com/maven/, but existed in
http://www.ibiblio.org/maven/,
but Maven never downloaded it successfully.

Finally, I switch their position, put the
http://www.ibiblio.org/maven/ in front of the
http://www.bluesunrise.com/maven/, it downloads successfully.

Is there any problem ???


Eric

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven will not switch remote respository !!!????

2004-09-08 Thread Brett Porter
maybe. What version of Maven? If 1.0 - file in JIRA.


On Thu, 9 Sep 2004 09:45:55 +0800, Eric Chow [EMAIL PROTECTED] wrote:
 Hello,
 
 I set the properties
 
 maven.repo.remote = http://www.bluesunrise.com/maven/,
 http://www.ibiblio.org/maven/, http://dist.codehaus.org/,
 http://cvs.apache.org/repository;
 
 in project.properties.
 
 When the project requres some dependency library, it is not existed in
 http://www.bluesunrise.com/maven/, but existed in
 http://www.ibiblio.org/maven/,
 but Maven never downloaded it successfully.
 
 Finally, I switch their position, put the
 http://www.ibiblio.org/maven/ in front of the
 http://www.bluesunrise.com/maven/, it downloads successfully.
 
 Is there any problem ???
 
 Eric
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven will not switch remote respository !!!????

2004-09-08 Thread Julian C. Dunn
On Thu, 9 Sep 2004, Eric Chow wrote:

 maven.repo.remote = http://www.bluesunrise.com/maven/,
 http://www.ibiblio.org/maven/, http://dist.codehaus.org/,
 http://cvs.apache.org/repository;

snip

 Is there any problem ???

I might be totally off on this, but try to not put a space between the 
URLs of the repos?

- Julian

-- 
Julian C. Dunn  [EMAIL PROTECTED] [EMAIL PROTECTED]
Software Developer, CBC.ca Production  Operations
Office: 2C310-I * Tel.: (416)-205-5592
PGP Key: 0xDA6A5B30 [7DCD A0C3 8B6F 6A76 F4CD 9F9B F941 A1B2 DA6A 5B30]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]