building Tika without bundle dependency on repositories

2014-02-05 Thread Allison, Timothy B.
Speaking of building...is there an easy way to build Tika locally without 
reference to the repositories and without building each component one by one 
(in the correct order) and then manually installing in a local repository.

Thank you!


Downloading: 
http://repository.apache.org/snapshots/org/apache/tika/tika-core/1.6-SNAPSHOT/tika-core-1.6-SNAPSHOT.jar
[INFO] Unable to find resource 'org.apache.tika:tika-core:jar:1.6-SNAPSHOT' in 
repository apache.snapshots (http://repository.apache.org/snapshots)
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Failed to resolve dependencies for one or more projects in the reactor. 
Reason: Missing:
--
1) org.apache.tika:tika-core:jar:1.6-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=org.apache.tika -DartifactId=tika-core 
-Dversion=1.6-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:
  mvn deploy:deploy-file -DgroupId=org.apache.tika -DartifactId=tika-core 
-Dversion=1.6-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] 
-DrepositoryId=[id]

  Path to dependency:
1) org.apache.tika:tika-parsers:bundle:1.6-SNAPSHOT
2) org.apache.tika:tika-core:jar:1.6-SNAPSHOT

--
1 required artifact is missing.

for artifact:
  org.apache.tika:tika-parsers:bundle:1.6-SNAPSHOT

from the specified remote repositories:
  apache.snapshots (http://repository.apache.org/snapshots),
  central (http://repo1.maven.org/maven2)

-Original Message-
From: Hong-Thai Nguyen [mailto:hong-thai.ngu...@polyspot.com] 
Sent: Wednesday, February 05, 2014 6:12 AM
To: dev@tika.apache.org
Subject: RE: [VOTE] Apache Tika 1.5 RC1

Use 'mvn clean install -U'

Hong-Thai


-Message d'origine-
De : Julien Nioche [mailto:lists.digitalpeb...@gmail.com] 
Envoyé : mercredi 5 février 2014 10:50
À : dev@tika.apache.org
Objet : Re: [VOTE] Apache Tika 1.5 RC1

Hi Dave

Am trying to compile from src and am getting

[ERROR] The build could not read 1 project - [Help 1] [ERROR]
[ERROR]   The project org.apache.tika:tika-java7:1.5-SNAPSHOT
(/data/tika-1.5/tika-java7/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Could not find artifact
org.apache.tika:tika-parent:pom:1.5-SNAPSHOT and 'parent.relativePath'
points at wrong local POM @ line 25, column 11 - [Help 2] [ERROR]

*mvn -version*
Apache Maven 3.0.4
Maven home: /usr/share/maven
Java version: 1.7.0_21, vendor: Oracle Corporation Java home: 
/usr/lib/jvm/java-7-openjdk-amd64/jre
Default locale: en_GB, platform encoding: UTF-8 OS name: linux, version: 
3.5.0-17-generic, arch: amd64, family: unix

Am I missing something?

Julien



On 5 February 2014 01:59, David Meikle loo...@gmail.com wrote:

 Hi Guys,

 A candidate for the Tika 1.5 release is now available at:
 http://people.apache.org/~dmeikle/tika-1.5-rc1/

 The release candidate is a zip archive of the sources in:
 http://svn.apache.org/repos/asf/tika/tags/1.5-rc1/

 The SHA1 checksum of the archive is:
 66adb7e73058da73a055a823bd61af48129c1179

 A staged M2 repository can also be found on repository.apache.org here:
 https://repository.apache.org/content/repositories/orgapachetika-1000

 Please vote on releasing this package as Apache Tika 1.5.
 The vote is open for the next 72 hours and passes if a majority of at 
 least three +1 Tika PMC votes are cast.

[ ] +1 Release this package as Apache Tika 1.5
[ ] -1 Do not release this package because...

 Here is my +1 for the release.

 Cheers,
 Dave




-- 

Open Source Solutions for Text Engineering

http://digitalpebble.blogspot.com/
http://www.digitalpebble.com
http://twitter.com/digitalpebble


Re: building Tika without bundle dependency on repositories

2014-02-05 Thread Nick Burch

On Wed, 5 Feb 2014, Allison, Timothy B. wrote:
Speaking of building...is there an easy way to build Tika locally 
without reference to the repositories and without building each 
component one by one (in the correct order) and then manually installing 
in a local repository.


I just do:
   cd root of tika checkout  mvn install

Builds each one in turn, including running unit tests and installing 
snapshot jars into the local m2 repo


Or is that not what you mean?

Nick


RE: building Tika without bundle dependency on repositories

2014-02-05 Thread Allison, Timothy B.
Y.  Sorry about that.  I've been stopping at package...duh.  Thank you.

-Original Message-
From: Nick Burch [mailto:apa...@gagravarr.org] 
Sent: Wednesday, February 05, 2014 11:17 AM
To: dev@tika.apache.org
Subject: Re: building Tika without bundle dependency on repositories

On Wed, 5 Feb 2014, Allison, Timothy B. wrote:
 Speaking of building...is there an easy way to build Tika locally 
 without reference to the repositories and without building each 
 component one by one (in the correct order) and then manually installing 
 in a local repository.

I just do:
cd root of tika checkout  mvn install

Builds each one in turn, including running unit tests and installing 
snapshot jars into the local m2 repo

Or is that not what you mean?

Nick