zorzella / test-libraries-for-java

Automatically exported from code.google.com/p/test-libraries-for-java
Apache License 2.0
0 stars 0 forks source link

Add to Maven repository #5

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
It would be very nice to have tl4j in the Maven central repository.  It's 
somewhat of a pain for anyone outside of Google to use at the moment since 
almost every Java build system has support for Maven repositories and people 
expect libraries to be available there.  If you add it to the Google repository 
it will sync to central within an hour.

Original issue reported on code.google.com by bmcc...@google.com on 30 Mar 2011 at 2:44

GoogleCodeExporter commented 8 years ago
I could probably add it to the Maven repository for you, but I wanted to get 
some clarity on what the plans for this library were first.  It looks like this 
code was/is in Guava Libraries?  Is it being moved out of that location to this 
one?
http://www.google.com/codesearch?q=teardownaccepter+package%3Ahttp%3A%2F%2Fguava
-libraries\.googlecode\.com&origq=teardownaccepter&btnG=Search+Trunk

Original comment by bmcc...@google.com on 30 Mar 2011 at 3:22

GoogleCodeExporter commented 8 years ago
The ultimate location of tl4j is still up in the air.  It may become part of 
Guava, or it may remain a separate project, but we're still figuring that out 
as we run into Maven wrinkles, etc. in the course of open-sourcing Guava's 
tests.

Original comment by cpov...@google.com on 13 Apr 2011 at 3:40

GoogleCodeExporter commented 8 years ago
From what I can garner, there was once the ability to include this library 
through maven by way of:

  <distributionManagement>
    <repository>
      <id>google-maven-repository</id>
      <name>Google Maven Repository</name>
      <url>https://google-maven-repository.googlecode.com/svn/repository/</url>
    </repository>
    <snapshotRepository>
      <id>google-maven-snapshot-repository</id>
      <name>Google Maven Snapshot Repository</name>
      <url>https://google-maven-repository.googlecode.com/svn/snapshot-repository/</url>
      <uniqueVersion>true</uniqueVersion>
    </snapshotRepository>
  </distributionManagement>

  <dependency>
    <groupId>com.google.testing</groupId>
    <artifactId>test-libraries-for-java</artifactId>
    <version>1.1.1-SNAPSHOT</version>
  </dependency>

but now there is none.  Is that correct?

If so, what is the best way to include the rebranded MoreAsserts classes?  Copy 
the src jar to my local project structure / do something else?

thanks
Fred

Original comment by ffa...@gmail.com on 8 May 2011 at 1:20

GoogleCodeExporter commented 8 years ago
I'm not sure about the historical status of this.  For now I think the best 
thing to do is either copy the src jar to your local project structure or 
install to your local maven repository (http://jeff.langcode.com/archives/27).
As for the future, I think a lot of the code from this project is going to make 
its way into the Guava Libraries, so I'd like to get that code migrated and 
uploaded to Maven first before coming back to this request.

Original comment by bmcc...@google.com on 8 May 2011 at 5:33