[
https://issues.apache.org/jira/browse/LUCENE-4354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13447739#comment-13447739
]
Uwe Schindler commented on LUCENE-4354:
---------------------------------------
One thing that is annoying:
{noformat}
dist-maven-common:
[artifact:dependencies] [INFO] snapshot
org.apache.lucene:lucene-core:5.0-SNAPSHOT: checking for updates from
sonatype.releases
[artifact:dependencies] [INFO] snapshot
org.apache.lucene:lucene-core:5.0-SNAPSHOT: checking for updates from
apache.snapshots
[artifact:dependencies] Downloading:
org/apache/lucene/lucene-core/5.0-SNAPSHOT/lucene-core-5.0-20120903.170333-49.pom
from reposito
ry apache.snapshots at http://repository.apache.org/snapshots
[artifact:dependencies] Downloading:
org/apache/lucene/lucene-core/5.0-SNAPSHOT/lucene-core-5.0-20120903.170333-49.jar
from reposito
ry apache.snapshots at http://repository.apache.org/snapshots
[artifact:dependencies] Transferring 2200K from apache.snapshots
[echo] Checking Maven dependencies for C:\Users\Uwe
Schindler\Projects\lucene\trunk-lusolr2\lucene\build\poms\lucene\test-frame
work\pom.xml:
com\carrotsearch\randomizedtesting\randomizedtesting-runner\2.0.0.rc5\randomizedtesting-runner-2.0.0.rc5.jar;junit\jun
it\4.10\junit-4.10.jar;org\apache\lucene\lucene-core\5.0-SNAPSHOT\lucene-core-5.0-20120903.170333-49.jar
[licenses] Scanned 2 JAR file(s) for licenses (in 0.01s.), 0 error(s).
[artifact:install-provider] Installing provider:
org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-7:runtime
[artifact:deploy] Deploying to file://C:\Users\Uwe
Schindler\Projects\lucene\trunk-lusolr2\lucene\dist\maven
[artifact:deploy] [INFO] Retrieving previous build number from
${m2.repository.id}
[artifact:deploy] [INFO] repository metadata for: 'snapshot
org.apache.lucene:lucene-test-framework:5.0-SNAPSHOT' could not be found
on repository: ${m2.repository.id}, so will be created
[artifact:deploy] Uploading:
org/apache/lucene/lucene-test-framework/5.0-SNAPSHOT/lucene-test-framework-5.0-20120904.150305-1.jar
to
repository ${m2.repository.id} at file://C:\Users\Uwe
Schindler\Projects\lucene\trunk-lusolr2\lucene\dist\maven
[artifact:deploy] Transferring 5945K from ${m2.repository.id}
[artifact:deploy] Uploaded 5945K
[artifact:deploy] [INFO] Retrieving previous metadata from ${m2.repository.id}
[artifact:deploy] [INFO] repository metadata for: 'artifact
org.apache.lucene:lucene-test-framework' could not be found on repositor
y: ${m2.repository.id}, so will be created
[artifact:deploy] [INFO] Uploading repository metadata for: 'artifact
org.apache.lucene:lucene-test-framework'
[artifact:deploy] [INFO] Retrieving previous metadata from ${m2.repository.id}
[artifact:deploy] [INFO] repository metadata for: 'snapshot
org.apache.lucene:lucene-test-framework:5.0-SNAPSHOT' could not be found
on repository: ${m2.repository.id}, so will be created
[artifact:deploy] [INFO] Uploading repository metadata for: 'snapshot
org.apache.lucene:lucene-test-framework:5.0-SNAPSHOT'
[artifact:deploy] [INFO] Uploading project information for
lucene-test-framework 5.0-20120904.150305-1
[artifact:deploy] [INFO] Retrieving previous build number from
${m2.repository.id}
[artifact:deploy] Uploading:
org/apache/lucene/lucene-test-framework/5.0-SNAPSHOT/lucene-test-framework-5.0-20120904.150305-1-source
s.jar to repository ${m2.repository.id} at file://C:\Users\Uwe
Schindler\Projects\lucene\trunk-lusolr2\lucene\dist\maven
[artifact:deploy] Transferring 5818K from ${m2.repository.id}
[artifact:deploy] Uploaded 5818K
[artifact:deploy] [INFO] Retrieving previous build number from
${m2.repository.id}
[artifact:deploy] Uploading:
org/apache/lucene/lucene-test-framework/5.0-SNAPSHOT/lucene-test-framework-5.0-20120904.150305-1-javado
c.jar to repository ${m2.repository.id} at file://C:\Users\Uwe
Schindler\Projects\lucene\trunk-lusolr2\lucene\dist\maven
[artifact:deploy] Transferring 695K from ${m2.repository.id}
[artifact:deploy] Uploaded 695K
{noformat}
See first few lines. After nuking ~/.m2 it downloads all dependency JAR files
from maven central, but it also (!) downloads snapshot Lucene JARS, although it
built them before. Can we supress this. Its not a problem for the license
checker (because it excludes all those JARS), but i makes me nervous...
> add validate-maven task to check maven dependencies
> ---------------------------------------------------
>
> Key: LUCENE-4354
> URL: https://issues.apache.org/jira/browse/LUCENE-4354
> Project: Lucene - Core
> Issue Type: Task
> Reporter: Robert Muir
> Attachments: LUCENE-4354-dep-fix.patch,
> LUCENE-4354_hacked_lucene_only.patch, LUCENE-4354.patch, LUCENE-4354.patch,
> LUCENE-4354.patch
>
>
> We had a situation where the maven artifacts depended on the wrong version of
> tika: we should test that the maven dependencies are correct.
> An easy way to do this is to force it to download all of its dependencies,
> and then run our existing license checks over that.
> This currently fails: maven is bringing in some extra 3rd party libraries.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]