<ref bean="org.argeo.tp/org.apache.log4j" />
<ref bean="org.argeo.tp/org.slf4j" />
<ref bean="org.argeo.tp.apache.tomcat/org.apache.tomcat" />
- <ref bean="org.argeo.tp/org.aopalliance" />
+ <ref bean="org.aopalliance" />
<ref bean="org.argeo.tp/org.aspectj" />
<ref bean="org.argeo.tp.spring/org.springframework" />
<ref bean="org.argeo.tp.apache.ant/org.apache.ant" />
<property name="workspace" value="argeo-tp-2.1" />
<property name="nodeIndexers">
<list>
- <bean class="org.argeo.slc.repo.ArtifactIndexer" />
<bean class="org.argeo.slc.repo.JarFileIndexer" />
<bean class="org.argeo.slc.repo.ModularDistributionIndexer" />
<bean class="org.argeo.slc.repo.PdeSourcesIndexer" />
+ <bean class="org.argeo.slc.repo.ArtifactIndexer" />
</list>
</property>
<property name="mirrors">
<bean parent="template.archiveWrapper">
<property name="uri"
value="http://archive.apache.org/dist/tomcat/tomcat-7/v@{version}/bin/apache-tomcat-@{version}.zip" />
+ <property name="license">
+ <util:constant static-field="org.argeo.slc.repo.FreeLicense.APACHE" />
+ </property>
<property name="wrappers">
<map>
<!-- Tomcat -->
<!-- FACTORY -->
<bean id="template.javax" parent="template.bndWrapper" abstract="true">
<property name="groupId" value="org.argeo.tp.javax" />
+ <property name="license">
+ <util:constant static-field="org.argeo.slc.repo.FreeLicense.CDDL" />
+ </property>
</bean>
</beans>
\ No newline at end of file
<bean id="org.slf4j.api" parent="template.org.slf4j" />
<bean id="org.slf4j.commons.logging" parent="template.org.slf4j" />
- <bean id="org.aopalliance" p:version="1.0.0"
- p:sourceCoords="aopalliance:aopalliance:1.0" parent="template.mavenWrapper" />
-
- <!-- AOP Alliance factory -->
- <flow:flow name="org.argeo.tp/org.aopalliance">
- <ref bean="org.aopalliance" />
- </flow:flow>
+ <bean id="org.aopalliance" p:version="1.0.0" p:sourceCoords="aopalliance:aopalliance:1.0"
+ parent="template.mavenWrapper">
+ <property name="license">
+ <util:constant static-field="org.argeo.slc.repo.FreeLicense.PUBLIC_DOMAIN" />
+ </property>
+ </bean>
<!-- Eclipse Batch Compiler (ECJ) factory -->
<flow:flow name="org.argeo.tp/org.eclipse.jdt.core.compiler.batch"
<bean parent="template.archiveWrapper">
<property name="uri"
value="http://archive.apache.org/dist/logging/log4j/@{version}/log4j-@{version}.zip" />
+ <property name="license">
+ <util:constant static-field="org.argeo.slc.repo.FreeLicense.APACHE" />
+ </property>
<property name="wrappers">
<map>
<entry key="apache-log4j-@{version}/log4j-@{version}.jar"
<bean parent="template.archiveWrapper">
<property name="uri"
value="http://www.eclipse.org/downloads/tools/aspectj/aspectj-@{version}.jar" />
+ <property name="license">
+ <util:constant static-field="org.argeo.slc.repo.FreeLicense.EPL" />
+ </property>
<property name="wrappers">
<map>
<entry key="lib/aspectjweaver.jar" value-ref="org.aspectj.weaver" />
<bean parent="template.archiveWrapper">
<property name="uri"
value="http://www.slf4j.org/dist/slf4j-@{version}.zip" />
+ <property name="license">
+ <util:constant static-field="org.argeo.slc.repo.FreeLicense.MIT" />
+ </property>
<property name="wrappers">
<map>
<entry key="slf4j-@{version}/slf4j-log4j12-@{version}.jar"
<property name="osgiFactory" ref="osgiFactory" />
</bean>
- <!-- Must be a prototype since wrapper are stateful objects, properties
- such as version can be set by caller. -->
<bean id="template.bndWrapper" class="org.argeo.slc.repo.osgi.BndWrapper"
- abstract="true" scope="prototype">
+ abstract="true">
<property name="groupId" value="org.argeo.tp" />
<property name="bndProperties">
<props>
</property>
</bean>
<bean id="template.mavenWrapper" class="org.argeo.slc.repo.osgi.MavenWrapper"
- abstract="true" scope="prototype">
+ abstract="true">
<property name="groupId" value="org.argeo.tp" />
<property name="bndProperties">
<props>