funbee / mockito

Automatically exported from code.google.com/p/mockito
0 stars 0 forks source link

Please add mockito-all.jar to the public maven repository #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Mockito is great, but I haven't found it in any public maven repository.

I've installed it into the local repository using the following script
without problems:

1        #!/bin/sh
2   
3   groupId=org.mockito
4   artifactId=mockito-all
5   version=1.2
6   packaging=jar
7   file=$artifactId-$version.$packaging
8   
9   # TODO: add file existance checking
10  rm $file
11  
12  wget http://mockito.googlecode.com/files/$file
13  
14  mvn install:install-file -Dfile=$file -Dversion=$version
-DartifactId=$artifactId -Dpackaging=$packaging -DgroupId=$groupId
15  rm $file

What is the expected output? What do you see instead?

It will be cool to have the ability to add the following entry to pom.xml
and don't install the file to the local repository manually

<dependency>
  <groupId>org.mockito</groupId>
  <artifactId>mockito-all</artifactId>
  <version>1.2</version>
</dependency>

What version of the product are you using? On what operating system?

mockito-all-1.2.jar

Please provide any additional information below.

I've also found that installing the mockito-all-1.2.jar to the local
repository using artifactory (http://www.jfrog.org/sites/artifactory/1.2/)
has some troubles, cause it parse META-INF and grabs the groupId and
artifactId from objenesis

Original issue reported on code.google.com by Kirill.I...@gmail.com on 7 Mar 2008 at 6:46

GoogleCodeExporter commented 9 years ago
You may watch the progress at
http://jira.codehaus.org/browse/MAVENUPLOAD-1963

The last one took 3 days.

Original comment by iczechowski@gmail.com on 13 Mar 2008 at 10:17

GoogleCodeExporter commented 9 years ago
mockito-all-1.2.jar has been uploaded into Maven Central Repository.

Details:
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>1.2</version>

Original comment by iczechowski@gmail.com on 25 Mar 2008 at 8:57

GoogleCodeExporter commented 9 years ago

Original comment by szcze...@gmail.com on 19 Apr 2009 at 7:40