[
https://issues.apache.org/jira/browse/SOLR-3405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13261113#comment-13261113
]
Steven Rowe commented on SOLR-3405:
-----------------------------------
RE: maven-antivirus-plugin, as an experiment, I added the following to the
Lucene/Solr grandfather POM, and Maven (v2.2.1 & v3.0.4) didn't barf:
{code:xml}
<project ...
xmlns:maven-antivirus-plugin="xmlns:maven-antivirus-plugin="http://example.org/maven-antivirus-plugin"
...>
...
<properties>
<maven-antivirus-plugin:url
coordinates="groupId-invented:commons-csv:1.0-dev-r609327:jar">
http://example.com/somewhere/commons-csv-1.0-dev-r609327.jar
</maven-antivirus-plugin:url>
<maven-antivirus-plugin:url
coordinates="groupId-invented:commons-csv:1.0-dev-r609327:pom">
http://example.com/somewhere/commons-csv-1.0-dev-r609327.pom
</maven-antivirus-plugin:url>
...
</properties>
{code}
So this is a syntactically valid way to shoehorn download links for such a
plugin into a POM.
> maven artifacts should be equivalent to binary packaging
> --------------------------------------------------------
>
> Key: SOLR-3405
> URL: https://issues.apache.org/jira/browse/SOLR-3405
> Project: Solr
> Issue Type: Task
> Components: Build
> Reporter: Robert Muir
> Fix For: 4.0
>
>
> Lets take the commons-csv scenario:
> * apache-solr-3.5.0 binary distribution contains no actual commons-csv.jar
> anywhere,
> in fact it contains no third party jars (the stuff present in solr/lib) at
> all.
> * binary distribution contains only the jars necessary for *solrj* and
> *contrib plugins*, and a solr.war
> I think the maven artifacts should match whats in the binary release (no
> third party jars
> inside the .war are "exposed", we just publish the .war itself). This exposes
> a lot less surface area.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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]