Advertisement
logicmoo

FrienduChanges

Dec 13th, 2013
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 120.96 KB | None | 0 0
  1. Index: maven/org.friendularity.anim.loader/pom.xml
  2. ===================================================================
  3. --- maven/org.friendularity.anim.loader/pom.xml (revision 577)
  4. +++ maven/org.friendularity.anim.loader/pom.xml (working copy)
  5. @@ -4,13 +4,13 @@
  6.  
  7.      <groupId>org.friendularity</groupId>
  8.      <artifactId>org.friendularity.anim.loader</artifactId>
  9. -    <version>1.0-SNAPSHOT</version>
  10. +    <version>1.0.2-SNAPSHOT</version>
  11.      <packaging>bundle</packaging>
  12.  
  13.      <name>${project.artifactId} - OSGi Bundle</name>
  14.  
  15.      <properties>
  16. -        <cogchar.version>1.0.7.0-SNAPSHOT</cogchar.version>
  17. +        <cogchar.version>1.0.8.0-SNAPSHOT</cogchar.version>
  18.      </properties>
  19.  
  20.      <dependencies>      
  21. @@ -47,7 +47,7 @@
  22.                  <dependency>
  23.                      <groupId>org.apache.felix</groupId>
  24.                      <artifactId>org.apache.felix.main</artifactId>
  25. -                    <version>4.0.3</version>
  26. +                    <version>4.2.1</version>
  27.                      <scope>provided</scope>
  28.                  </dependency>
  29.                  <!-- To include a shell:
  30. @@ -125,7 +125,7 @@
  31.                  <dependency>
  32.                      <groupId>org.apache.felix</groupId>
  33.                      <artifactId>org.apache.felix.main</artifactId>
  34. -                    <version>4.0.3</version>
  35. +                    <version>4.2.1</version>
  36.                      <scope>provided</scope>
  37.                  </dependency>
  38.                  <!-- org.apache.felix:org.apache.felix.gogo.shell:0.6.1 useless from Maven since stdin is swallowed -->
  39. Index: maven/org.friendularity.bundle.bento/pom.xml
  40. ===================================================================
  41. --- maven/org.friendularity.bundle.bento/pom.xml    (revision 577)
  42. +++ maven/org.friendularity.bundle.bento/pom.xml    (working copy)
  43. @@ -17,7 +17,7 @@
  44.          <dependency>
  45.              <groupId>org.osgi</groupId>
  46.              <artifactId>org.osgi.core</artifactId>
  47. -            <version>4.3.0</version>
  48. +            <version>${osgi.core.version}</version>
  49.              <scope>provided</scope>
  50.          </dependency>
  51.          <dependency>
  52. @@ -63,7 +63,7 @@
  53.                  <dependency>
  54.                      <groupId>org.apache.felix</groupId>
  55.                      <artifactId>org.apache.felix.main</artifactId>
  56. -                    <version>4.0.3</version>
  57. +                    <version>4.2.1</version>
  58.                      <scope>provided</scope>
  59.                  </dependency>
  60.                  <!-- To include a shell:
  61. @@ -141,7 +141,7 @@
  62.                  <dependency>
  63.                      <groupId>org.apache.felix</groupId>
  64.                      <artifactId>org.apache.felix.main</artifactId>
  65. -                    <version>4.0.3</version>
  66. +                    <version>4.2.1</version>
  67.                      <scope>provided</scope>
  68.                  </dependency>
  69.                  <!-- org.apache.felix:org.apache.felix.gogo.shell:0.6.1 useless from Maven since stdin is swallowed -->
  70. Index: maven/org.friendularity.bundle.blockflow/pom.xml
  71. ===================================================================
  72. --- maven/org.friendularity.bundle.blockflow/pom.xml    (revision 577)
  73. +++ maven/org.friendularity.bundle.blockflow/pom.xml    (working copy)
  74. @@ -30,7 +30,7 @@
  75.          <dependency>
  76.              <groupId>org.osgi</groupId>
  77.              <artifactId>org.osgi.core</artifactId>
  78. -            <version>4.3.0</version>
  79. +            <version>${osgi.core.version}</version>
  80.              <scope>provided</scope>
  81.          </dependency>
  82.      </dependencies>
  83. Index: maven/org.friendularity.bundle.demo.convo.dictation/pom.xml
  84. ===================================================================
  85. --- maven/org.friendularity.bundle.demo.convo.dictation/pom.xml (revision 577)
  86. +++ maven/org.friendularity.bundle.demo.convo.dictation/pom.xml (working copy)
  87. @@ -17,7 +17,7 @@
  88.          <dependency>
  89.              <groupId>org.osgi</groupId>
  90.              <artifactId>org.osgi.core</artifactId>
  91. -            <version>4.3.0</version>
  92. +            <version>${osgi.core.version}</version>
  93.              <scope>provided</scope>
  94.          </dependency>
  95.         <dependency>
  96. @@ -43,132 +43,4 @@
  97.              </plugin>
  98.          </plugins>
  99.      </build>
  100. -
  101. -    <profiles>
  102. -        <profile>
  103. -            <id>build-for-felix</id>
  104. -            <dependencies>
  105. -                <dependency>
  106. -                    <groupId>org.apache.felix</groupId>
  107. -                    <artifactId>org.apache.felix.main</artifactId>
  108. -                    <version>4.0.3</version>
  109. -                    <scope>provided</scope>
  110. -                </dependency>
  111. -                <!-- To include a shell:
  112. -                <dependency>
  113. -                    <groupId>org.apache.felix</groupId>
  114. -                    <artifactId>org.apache.felix.gogo.shell</artifactId>
  115. -                    <version>0.10.0</version>
  116. -                </dependency>
  117. -                -->
  118. -            </dependencies>
  119. -            <build>
  120. -                <plugins>
  121. -                    <plugin>
  122. -                        <groupId>org.apache.maven.plugins</groupId>
  123. -                        <artifactId>maven-antrun-plugin</artifactId>
  124. -                        <version>1.7</version>
  125. -                        <executions>
  126. -                            <execution>
  127. -                                <id>compile</id>
  128. -                                <phase>package</phase>
  129. -                                <goals>
  130. -                                    <goal>run</goal>
  131. -                                </goals>
  132. -                                <configuration>
  133. -                                    <target>
  134. -                                        <pathconvert property="plugins.jars" pathsep="${path.separator}">
  135. -                                            <path refid="maven.runtime.classpath" />
  136. -                                            <map from="${project.build.directory}${file.separator}classes" to="" />
  137. -                                        </pathconvert>
  138. -                                        <pathconvert pathsep=" " property="bundles">
  139. -                                            <path path="${plugins.jars}" />
  140. -                                            <mapper>
  141. -                                                <chainedmapper>
  142. -                                                    <flattenmapper />
  143. -                                                    <globmapper from="*" to="file:modules/*" casesensitive="no" />
  144. -                                                </chainedmapper>
  145. -                                            </mapper>
  146. -                                        </pathconvert>
  147. -                                        <propertyfile file="${project.build.directory}/config.properties">
  148. -                                            <entry key="felix.auto.start" value="${bundles} file:modules/${project.build.finalName}.jar" />
  149. -                                            <entry key="org.osgi.framework.bootdelegation" value="*" />
  150. -                                        </propertyfile>
  151. -                                        <copy file="${maven.dependency.org.apache.felix.org.apache.felix.main.jar.path}" tofile="${project.build.directory}/felix.jar" />
  152. -                                    </target>
  153. -                                </configuration>
  154. -                            </execution>
  155. -                        </executions>
  156. -                    </plugin>
  157. -                    <plugin>
  158. -                        <groupId>org.apache.maven.plugins</groupId>
  159. -                        <artifactId>maven-assembly-plugin</artifactId>
  160. -                        <version>2.3</version>
  161. -                        <executions>
  162. -                            <execution>
  163. -                                <id>create-executable-jar</id>
  164. -                                <phase>package</phase>
  165. -                                <goals>
  166. -                                    <goal>single</goal>
  167. -                                </goals>
  168. -                                <configuration>
  169. -                                    <descriptors>
  170. -                                        <descriptor>${basedir}/src/main/assembly/felix.xml</descriptor>
  171. -                                    </descriptors>
  172. -                                    <finalName>${project.build.finalName}</finalName>
  173. -                                </configuration>
  174. -                            </execution>
  175. -                        </executions>
  176. -                    </plugin>
  177. -                </plugins>
  178. -            </build>
  179. -        </profile>
  180. -        <profile>
  181. -            <id>run-on-felix</id>
  182. -            <dependencies>
  183. -                <dependency>
  184. -                    <groupId>org.apache.felix</groupId>
  185. -                    <artifactId>org.apache.felix.main</artifactId>
  186. -                    <version>4.0.3</version>
  187. -                    <scope>provided</scope>
  188. -                </dependency>
  189. -                <!-- org.apache.felix:org.apache.felix.gogo.shell:0.6.1 useless from Maven since stdin is swallowed -->
  190. -            </dependencies>
  191. -            <build>
  192. -                <plugins>
  193. -                    <plugin>
  194. -                        <groupId>org.apache.maven.plugins</groupId>
  195. -                        <artifactId>maven-antrun-plugin</artifactId>
  196. -                        <version>1.7</version>
  197. -                        <configuration>
  198. -                            <target>
  199. -                                <property name="vm.args" value="" />
  200. -                                <pathconvert property="plugins.jars" pathsep="${path.separator}">
  201. -                                    <path refid="maven.runtime.classpath" />
  202. -                                    <map from="${project.build.directory}${file.separator}classes" to="" />
  203. -                                </pathconvert>
  204. -                                <makeurl property="urls" separator=" ">
  205. -                                    <path path="${plugins.jars}" />
  206. -                                    <path location="${project.build.directory}/${project.build.finalName}.jar" />
  207. -                                </makeurl>
  208. -                                <propertyfile file="${project.build.directory}/run.properties">
  209. -                                    <entry key="felix.auto.start" value="${urls}" />
  210. -                                    <entry key="felix.auto.deploy.action" value="uninstall,install,update,start" />
  211. -                                    <entry key="org.osgi.framework.storage" value="${project.build.directory}${file.separator}felix-cache" />
  212. -                                    <entry key="org.osgi.framework.bootdelegation" value="*" />
  213. -                                    <!-- org.w3c.dom.* are missing from default.properties in felix 4.2.1, they are present in 3.0.7 -->
  214. -                                    <entry key="org.osgi.framework.system.packages.extra" value="org.w3c.dom.css, org.w3c.dom.html, org.w3c.dom.stylesheets, org.w3c.dom.traversal, org.w3c.dom.ranges,                                                     org.w3c.dom.views,                                                     org.w3c.dom.xpath" />
  215. -                                </propertyfile>
  216. -                                <makeurl property="run.properties.url" file="${project.build.directory}/run.properties" />
  217. -                                <java fork="true" jar="${maven.dependency.org.apache.felix.org.apache.felix.main.jar.path}">
  218. -                                    <sysproperty key="felix.config.properties" value="${run.properties.url}" />
  219. -                                    <jvmarg line="${vm.args}" />
  220. -                                </java>
  221. -                            </target>
  222. -                        </configuration>
  223. -                    </plugin>
  224. -                </plugins>
  225. -            </build>
  226. -        </profile>
  227. -    </profiles>
  228.  </project>
  229. Index: maven/org.friendularity.bundle.demo.convo.response/pom.xml
  230. ===================================================================
  231. --- maven/org.friendularity.bundle.demo.convo.response/pom.xml  (revision 577)
  232. +++ maven/org.friendularity.bundle.demo.convo.response/pom.xml  (working copy)
  233. @@ -18,7 +18,7 @@
  234.          <dependency>
  235.              <groupId>org.osgi</groupId>
  236.              <artifactId>org.osgi.core</artifactId>
  237. -            <version>4.3.0</version>
  238. +            <version>${osgi.core.version}</version>
  239.              <scope>provided</scope>
  240.          </dependency>
  241.         <dependency>
  242. @@ -54,132 +54,4 @@
  243.              </plugin>
  244.          </plugins>
  245.      </build>
  246. -
  247. -    <profiles>
  248. -        <profile>
  249. -            <id>build-for-felix</id>
  250. -            <dependencies>
  251. -                <dependency>
  252. -                    <groupId>org.apache.felix</groupId>
  253. -                    <artifactId>org.apache.felix.main</artifactId>
  254. -                    <version>4.0.3</version>
  255. -                    <scope>provided</scope>
  256. -                </dependency>
  257. -                <!-- To include a shell:
  258. -                <dependency>
  259. -                    <groupId>org.apache.felix</groupId>
  260. -                    <artifactId>org.apache.felix.gogo.shell</artifactId>
  261. -                    <version>0.10.0</version>
  262. -                </dependency>
  263. -                -->
  264. -            </dependencies>
  265. -            <build>
  266. -                <plugins>
  267. -                    <plugin>
  268. -                        <groupId>org.apache.maven.plugins</groupId>
  269. -                        <artifactId>maven-antrun-plugin</artifactId>
  270. -                        <version>1.7</version>
  271. -                        <executions>
  272. -                            <execution>
  273. -                                <id>compile</id>
  274. -                                <phase>package</phase>
  275. -                                <goals>
  276. -                                    <goal>run</goal>
  277. -                                </goals>
  278. -                                <configuration>
  279. -                                    <target>
  280. -                                        <pathconvert property="plugins.jars" pathsep="${path.separator}">
  281. -                                            <path refid="maven.runtime.classpath" />
  282. -                                            <map from="${project.build.directory}${file.separator}classes" to="" />
  283. -                                        </pathconvert>
  284. -                                        <pathconvert pathsep=" " property="bundles">
  285. -                                            <path path="${plugins.jars}" />
  286. -                                            <mapper>
  287. -                                                <chainedmapper>
  288. -                                                    <flattenmapper />
  289. -                                                    <globmapper from="*" to="file:modules/*" casesensitive="no" />
  290. -                                                </chainedmapper>
  291. -                                            </mapper>
  292. -                                        </pathconvert>
  293. -                                        <propertyfile file="${project.build.directory}/config.properties">
  294. -                                            <entry key="felix.auto.start" value="${bundles} file:modules/${project.build.finalName}.jar" />
  295. -                                            <entry key="org.osgi.framework.bootdelegation" value="*" />
  296. -                                        </propertyfile>
  297. -                                        <copy file="${maven.dependency.org.apache.felix.org.apache.felix.main.jar.path}" tofile="${project.build.directory}/felix.jar" />
  298. -                                    </target>
  299. -                                </configuration>
  300. -                            </execution>
  301. -                        </executions>
  302. -                    </plugin>
  303. -                    <plugin>
  304. -                        <groupId>org.apache.maven.plugins</groupId>
  305. -                        <artifactId>maven-assembly-plugin</artifactId>
  306. -                        <version>2.3</version>
  307. -                        <executions>
  308. -                            <execution>
  309. -                                <id>create-executable-jar</id>
  310. -                                <phase>package</phase>
  311. -                                <goals>
  312. -                                    <goal>single</goal>
  313. -                                </goals>
  314. -                                <configuration>
  315. -                                    <descriptors>
  316. -                                        <descriptor>${basedir}/src/main/assembly/felix.xml</descriptor>
  317. -                                    </descriptors>
  318. -                                    <finalName>${project.build.finalName}</finalName>
  319. -                                </configuration>
  320. -                            </execution>
  321. -                        </executions>
  322. -                    </plugin>
  323. -                </plugins>
  324. -            </build>
  325. -        </profile>
  326. -        <profile>
  327. -            <id>run-on-felix</id>
  328. -            <dependencies>
  329. -                <dependency>
  330. -                    <groupId>org.apache.felix</groupId>
  331. -                    <artifactId>org.apache.felix.main</artifactId>
  332. -                    <version>4.0.3</version>
  333. -                    <scope>provided</scope>
  334. -                </dependency>
  335. -                <!-- org.apache.felix:org.apache.felix.gogo.shell:0.6.1 useless from Maven since stdin is swallowed -->
  336. -            </dependencies>
  337. -            <build>
  338. -                <plugins>
  339. -                    <plugin>
  340. -                        <groupId>org.apache.maven.plugins</groupId>
  341. -                        <artifactId>maven-antrun-plugin</artifactId>
  342. -                        <version>1.7</version>
  343. -                        <configuration>
  344. -                            <target>
  345. -                                <property name="vm.args" value="" />
  346. -                                <pathconvert property="plugins.jars" pathsep="${path.separator}">
  347. -                                    <path refid="maven.runtime.classpath" />
  348. -                                    <map from="${project.build.directory}${file.separator}classes" to="" />
  349. -                                </pathconvert>
  350. -                                <makeurl property="urls" separator=" ">
  351. -                                    <path path="${plugins.jars}" />
  352. -                                    <path location="${project.build.directory}/${project.build.finalName}.jar" />
  353. -                                </makeurl>
  354. -                                <propertyfile file="${project.build.directory}/run.properties">
  355. -                                    <entry key="felix.auto.start" value="${urls}" />
  356. -                                    <entry key="felix.auto.deploy.action" value="uninstall,install,update,start" />
  357. -                                    <entry key="org.osgi.framework.storage" value="${project.build.directory}${file.separator}felix-cache" />
  358. -                                    <entry key="org.osgi.framework.bootdelegation" value="*" />
  359. -                                    <!-- org.w3c.dom.* are missing from default.properties in felix 4.2.1, they are present in 3.0.7 -->
  360. -                                    <entry key="org.osgi.framework.system.packages.extra" value="org.w3c.dom.css, org.w3c.dom.html, org.w3c.dom.stylesheets, org.w3c.dom.traversal, org.w3c.dom.ranges,                                                     org.w3c.dom.views,                                                     org.w3c.dom.xpath" />
  361. -                                </propertyfile>
  362. -                                <makeurl property="run.properties.url" file="${project.build.directory}/run.properties" />
  363. -                                <java fork="true" jar="${maven.dependency.org.apache.felix.org.apache.felix.main.jar.path}">
  364. -                                    <sysproperty key="felix.config.properties" value="${run.properties.url}" />
  365. -                                    <jvmarg line="${vm.args}" />
  366. -                                </java>
  367. -                            </target>
  368. -                        </configuration>
  369. -                    </plugin>
  370. -                </plugins>
  371. -            </build>
  372. -        </profile>
  373. -    </profiles>
  374.  </project>
  375. Index: maven/org.friendularity.bundle.demo.liftoff/pom.xml
  376. ===================================================================
  377. --- maven/org.friendularity.bundle.demo.liftoff/pom.xml (revision 577)
  378. +++ maven/org.friendularity.bundle.demo.liftoff/pom.xml (working copy)
  379. @@ -26,6 +26,7 @@
  380.             <groupId>org.cogchar</groupId>
  381.             <artifactId>org.cogchar.bundle.bind.joseki</artifactId>
  382.             <version>${cogchar.version}</version>
  383. +            <scope>provided</scope>
  384.         </dependency>
  385.        
  386.        
  387. @@ -33,7 +34,7 @@
  388.         <dependency>
  389.             <groupId>org.osgi</groupId>
  390.             <artifactId>org.osgi.core</artifactId>
  391. -           <version>4.2.0</version>
  392. +           <version>${osgi.core.version}</version>
  393.             <scope>provided</scope>
  394.         </dependency>
  395.        
  396. @@ -64,47 +65,14 @@
  397.             <version>${project.version}</version>
  398.        
  399.         </dependency>  
  400. -       <dependency>
  401. -           <!-- This is a big honking hunk of code, but so far is working better than trying
  402. -               to mix-and-match our own version of Jetty + PAX.
  403. -           -->
  404. -           <groupId>org.ops4j.pax.web</groupId>
  405. -           <artifactId>pax-web-jetty-bundle</artifactId>
  406. -           <version>1.1.2</version>
  407. -           <scope>runtime</scope>
  408. -       </dependency>
  409. -       <dependency>
  410. -           <!--        http://team.ops4j.org/wiki/display/paxweb/WAR+Extender
  411. -           "Once installed the war extender will watch over the bundles that get started / stopped.
  412. -           Once your war bundle gets deployed and started, the war extender will parse your web.xml
  413. -           and registers all elements with http service."
  414. -           -->
  415.  
  416. -           <groupId>org.ops4j.pax.web</groupId>
  417. -           <artifactId>pax-web-extender-war</artifactId>
  418. -           <version>1.1.2</version>
  419. +        <dependency><!-- Our PAX-JETTY service -->
  420. +            <groupId>org.appdapter</groupId>
  421. +            <artifactId>ext.bundle.jetty_osgi</artifactId>
  422. +            <version>${appdapter.version}</version>
  423.             <scope>runtime</scope>
  424.         </dependency>
  425.  
  426. -       <dependency>
  427. -           <!--  We do not use JSP technology, but apparently pax-web-jsp is needed, to resolve:
  428. -               org.ops4j.pax.web.pax-web-jetty-bundle imports (package=org.eclipse.jdt.core.compiler)
  429. -           -->        
  430. -           <groupId>org.ops4j.pax.web</groupId>
  431. -           <artifactId>pax-web-jsp</artifactId>
  432. -           <version>1.1.2</version>
  433. -           <scope>runtime</scope>
  434. -       </dependency>
  435. -      
  436. -       <dependency>
  437. -           <!-- What exactly is this one doing for us? -->
  438. -           <groupId>org.ops4j.pax.web</groupId>
  439. -           <artifactId>pax-web-extender-whiteboard</artifactId>
  440. -           <version>1.1.2</version>
  441. -           <scope>runtime</scope>
  442. -       </dependency>
  443. -          
  444. -
  445.     </dependencies>
  446.  
  447.  <!-- Only one edit from archetype boilerplate below this point, so far, to allow sun.misc. -->
  448. Index: maven/org.friendularity.bundle.demoserv.semrepo/pom.xml
  449. ===================================================================
  450. --- maven/org.friendularity.bundle.demoserv.semrepo/pom.xml (revision 577)
  451. +++ maven/org.friendularity.bundle.demoserv.semrepo/pom.xml (working copy)
  452. @@ -17,6 +17,33 @@
  453.     <name>${project.artifactId} - OSGi</name>
  454.  
  455.     <properties>
  456. +
  457. +        <com.hrkind.robot.connections>
  458. +            robot01; 127.0.0.1,
  459. +            robot02; 127.0.0.1,
  460. +            avatar01; 127.0.0.1
  461. +        </com.hrkind.robot.connections>
  462. +
  463. +         <com.hrkind.demo.behavior.master.source>
  464. +            sheetKey;0AmvzRRq-Hhz7dFVpSDFaaHhMWmVPRFl4RllXSHVxb2c,
  465. +            namespaceSheetNumber;9,
  466. +            directorySheetNumber;8,
  467. +            workBookPath;GluePuma_HRKR25_TestFull_OnDisk.xlsx,
  468. +            workBookNamespaceSheet;Nspc.csv,
  469. +            workBookDirectorySheet;Dir.csv
  470. +        </com.hrkind.demo.behavior.master.source>
  471. +
  472. +         <com.hrkind.demo.behavior.master.source2>
  473. +             sheetKey;0AlpQRNQ-L8QUdFh5YWswSzdYZFJMb1N6aEhJVWwtR3c,
  474. +             namespaceSheetNumber;4,
  475. +             directorySheetNumber;3,
  476. +             workBookPath;GluePuma_BehavMasterDemo.xlsx,
  477. +             workBookNamespaceSheet;Nspc.csv,
  478. +             workBookDirectorySheet;Dir.csv
  479. +             <!-- comment -->
  480. +         </com.hrkind.demo.behavior.master.source2>
  481. +
  482. +         <puma.boot.config.local></puma.boot.config.local>
  483.     <!-- Important: Establish the Web URL, which is used in OSGi spec
  484.             Web-ContextPath instruction far below, in maven-bundle-plugin.instructions
  485.            
  486. @@ -25,11 +52,11 @@
  487.         highly-visible web.contextPath variable.
  488.     -->
  489.          <web.contextPath>friendu_semrepo</web.contextPath>
  490. -
  491.          <force-imports>
  492.                 org.joseki.servlets, org.joseki.http, org.joseki.validation, org.joseki, org.joseki.module, org.joseki.vocabulary, javax.servlet, javax.servlet.http,
  493.                 org.cogchar.app.puma.boot, org.cogchar.app.puma.config, org.cogchar.app.puma.web, org.cogchar.joswrap,org.cogchar.name.dir
  494.          </force-imports>
  495. +
  496.     </properties>
  497.    
  498.     <dependencies>
  499. @@ -39,38 +66,33 @@
  500.             <version>1.4.0</version>
  501.             <scope>provided</scope>
  502.         </dependency>
  503. -       <dependency>
  504. -           <!-- This is a big honking hunk of code, but so far is working better than trying
  505. -               to mix-and-match our own version of Jetty + PAX.
  506. -           -->
  507. -           <groupId>org.ops4j.pax.web</groupId>
  508. -           <artifactId>pax-web-jetty-bundle</artifactId>
  509. -           <version>1.1.2</version>
  510. -           <scope>runtime</scope>
  511. -       </dependency>
  512. -       <dependency>
  513. -           <!--        http://team.ops4j.org/wiki/display/paxweb/WAR+Extender
  514. -           "Once installed the war extender will watch over the bundles that get started / stopped.
  515. -           Once your war bundle gets deployed and started, the war extender will parse your web.xml
  516. -           and registers all elements with http service."
  517. -           -->
  518. +  
  519.  
  520. -           <groupId>org.ops4j.pax.web</groupId>
  521. -           <artifactId>pax-web-extender-war</artifactId>
  522. -           <version>1.1.2</version>
  523. -           <scope>runtime</scope>
  524. -       </dependency>
  525. +        <!--
  526.  
  527. -       <dependency>
  528. -           <!--  We do not use JSP technology, but apparently pax-web-jsp is needed, to resolve:
  529. -               org.ops4j.pax.web.pax-web-jetty-bundle imports (package=org.eclipse.jdt.core.compiler)
  530. -           -->        
  531. -           <groupId>org.ops4j.pax.web</groupId>
  532. -           <artifactId>pax-web-jsp</artifactId>
  533. -           <version>1.1.2</version>
  534. -           <scope>runtime</scope>
  535. -       </dependency>
  536.  
  537. +
  538. +        <dependency>
  539. +            <groupId>${project.groupId}</groupId>
  540. +            <artifactId>org.friendularity.bundle.vworld.semrepo</artifactId>
  541. +            <version>${project.version}</version>
  542. +        </dependency>
  543. +
  544. +        <dependency>
  545. +            <groupId>com.hrkind</groupId>
  546. +            <artifactId>com.hrkind.bundle.opengl.R50</artifactId>
  547. +            <version>${tools.version}</version>
  548. +        </dependency>
  549. +
  550. +        -->
  551. +
  552. +
  553. +        <dependency><!-- Our PAX-JETTY service -->
  554. +            <groupId>org.appdapter</groupId>
  555. +            <artifactId>ext.bundle.jetty_osgi</artifactId>
  556. +            <version>${appdapter.version}</version>
  557. +            <scope>runtime</scope>
  558. +        </dependency>
  559.                
  560.          <!-- Our Lift-based webapp, which we expect PAX services above to find and launch to HTTP for us  -->
  561.          <dependency>
  562. @@ -77,15 +99,8 @@
  563.              <groupId>${project.groupId}</groupId>
  564.              <artifactId>org.friendularity.bundle.webapp.semrepo</artifactId>
  565.              <version>${project.version}</version>
  566. -            <scope>runtime</scope>
  567.          </dependency>  
  568.  
  569. -        <dependency>
  570. -            <groupId>org.cogchar</groupId>
  571. -            <artifactId>org.cogchar.bundle.bind.joseki</artifactId>
  572. -            <version>${cogchar.version}</version>
  573. -            <scope>compile</scope>
  574. -        </dependency>  
  575.         <dependency>
  576.             <groupId>org.cogchar</groupId>
  577.             <artifactId>org.cogchar.bundle.bind.lift</artifactId>
  578. @@ -93,19 +108,24 @@
  579.              <scope>provided</scope>  <!--  *is* "provided" above by org.friendularity.bundle.webapp.semrepo at "runtime"-->
  580.         </dependency>
  581.        
  582. +        <dependency>
  583. +            <groupId>org.cogchar</groupId>
  584. +            <artifactId>org.cogchar.bundle.bind.joseki</artifactId>
  585. +            <version>${cogchar.version}</version>
  586. +            <scope>compile</scope>
  587. +        </dependency>  
  588.  
  589. -       <!-- We want the same deps as CCRK, but not the full PUMA boot peformed by CCRK activator.
  590. -       -->
  591. +        <!--
  592. +
  593.         <dependency>
  594. -           <groupId>org.cogchar</groupId>
  595. -           <artifactId>org.cogchar.bundle.app.puma</artifactId>
  596. -           <version>${cogchar.version}</version>
  597. +            <groupId>com.hrkind</groupId>
  598. +            <artifactId>com.hrkind.demo.behavior.master</artifactId>
  599. +            <version>${tools.version}</version>
  600.         </dependency>
  601. -        <!--
  602.         <dependency>
  603. -           <groupId>org.cogchar</groupId>
  604. -           <artifactId>org.cogchar.bundle.render.resources</artifactId>
  605. -           <version>${cogchar.version}</version>
  606. +            <groupId>org.friendularity</groupId>
  607. +            <artifactId>org.friendularity.bundle.demoapp.semrepo</artifactId>
  608. +            <version>${friendularity.version}</version>
  609.         </dependency>
  610.          -->
  611.          <!-- Note that o.f.project.root and o.f.modules.main must also have been built and avail in local repo,
  612. @@ -112,7 +132,7 @@
  613.              in order for variables like "robokind.version" to resolve when applied *transitively*
  614.              (The built main+root is not required to resolve the variables used directly in this pom;
  615.                  those are allowed to come from the source-tree poms).
  616. -        -->
  617. +        
  618.         <dependency>
  619.             <groupId>${project.groupId}</groupId>
  620.             <artifactId>org.friendularity.bundle.netconfig</artifactId>
  621. @@ -119,6 +139,7 @@
  622.             <version>${project.version}</version>
  623.              <scope>runtime</scope>
  624.         </dependency>
  625. +         -->
  626.     </dependencies>
  627.  
  628.     <build>
  629. @@ -157,4 +178,69 @@
  630.  
  631.         </plugins>   
  632.     </build>
  633. +   <profiles>
  634. +        <profile>
  635. +            <id>run-on-felix</id>
  636. +            <dependencies>
  637. +                <dependency>
  638. +                    <groupId>org.apache.felix</groupId>
  639. +                    <artifactId>org.apache.felix.main</artifactId>
  640. +                    <version>4.2.1</version>
  641. +                    <scope>provided</scope>
  642. +                </dependency>
  643. +                <!-- org.apache.felix:org.apache.felix.gogo.shell:0.6.1 useless from Maven since stdin is swallowed -->
  644. +            </dependencies>
  645. +            <build>
  646. +                <plugins>
  647. +                    <plugin>
  648. +                        <groupId>org.apache.maven.plugins</groupId>
  649. +                        <artifactId>maven-antrun-plugin</artifactId>
  650. +                        <version>1.6</version>
  651. +                        <configuration>
  652. +                            <target>
  653. +                                <!-- HRK custom :  Note the log4j.debug flag -->
  654. +                                <property name="vm.args" value="-Dlog4j.debug -XX:MaxPermSize=1G" />
  655. +                                <property name="vm.localargs" value="" />
  656. +                                <pathconvert property="plugins.jars" pathsep="${path.separator}">
  657. +                                    <path refid="maven.runtime.classpath" />
  658. +                                    <map from="${project.build.directory}${file.separator}classes" to="" />
  659. +                                </pathconvert>
  660. +                                <makeurl property="urls" separator=" ">
  661. +                                    <path path="${plugins.jars}" />
  662. +                                    <path location="${project.build.directory}/${project.build.finalName}.jar" />
  663. +                                </makeurl>
  664. +                                <propertyfile file="${project.build.directory}/run.properties">
  665. +                                    <entry key="felix.auto.start" value="${urls}" />
  666. +                                    <entry key="felix.auto.deploy.action" value="uninstall,install,update,start" />
  667. +                                    <entry key="org.osgi.framework.storage" value="${project.build.directory}${file.separator}felix-cache" />
  668. +                                    <entry key="org.osgi.framework.bootdelegation" value="*" />
  669. +                                    <!-- HRK Customization:   Allow sun.misc package to be used by LWJGL under OSGi -->
  670. +                                    <!-- org.w3c.dom.* are missing from default.properties in felix 4.2.1, they are present in 3.0.7 -->
  671. +                                    <entry key="org.osgi.framework.system.packages.extra"
  672. +                                           value="sun.misc,
  673. +                                                    org.w3c.dom.css,
  674. +                                                    org.w3c.dom.html,
  675. +                                                    org.w3c.dom.stylesheets,
  676. +                                                    org.w3c.dom.traversal,
  677. +                                                    org.w3c.dom.ranges,
  678. +                                                    org.w3c.dom.views,
  679. +                                                    org.w3c.dom.xpath" />
  680. +                                </propertyfile>
  681. +                                <makeurl property="run.properties.url" file="${project.build.directory}/run.properties" />
  682. +                                <java fork="true" jar="${maven.dependency.org.apache.felix.org.apache.felix.main.jar.path}">
  683. +                                    <sysproperty key="felix.config.properties" value="${run.properties.url}" />
  684. +                                    <sysproperty key="puma.boot.config.local" value="${puma.boot.config.local}" />
  685. +                                    <sysproperty key="behavior.master.type" value="${behavior.master.type}" />
  686. +                                    <jvmarg line="${vm.args} ${vm.localargs}" />
  687. +                                </java>
  688. +                            </target>
  689. +                        </configuration>
  690. +                    </plugin>
  691. +                </plugins>
  692. +            </build>
  693. +        </profile>
  694. +    </profiles>
  695.  </project>
  696. Index: maven/org.friendularity.bundle.demoserv.semrepo/src/main/java/org/friendularity/bundle/demoserv/semrepo/Activator.java
  697. ===================================================================
  698. --- maven/org.friendularity.bundle.demoserv.semrepo/src/main/java/org/friendularity/bundle/demoserv/semrepo/Activator.java  (revision 577)
  699. +++ maven/org.friendularity.bundle.demoserv.semrepo/src/main/java/org/friendularity/bundle/demoserv/semrepo/Activator.java  (working copy)
  700. @@ -1,20 +1,19 @@
  701.  package org.friendularity.bundle.demoserv.semrepo;
  702.  
  703. +import org.appdapter.core.matdat.OnlineSheetRepoSpec;
  704. +import org.appdapter.core.matdat.RepoSpec;
  705.  import org.appdapter.core.name.FreeIdent;
  706.  import org.appdapter.core.name.Ident;
  707.  import org.appdapter.osgi.core.BundleActivatorBase;
  708. -import org.appdapter.core.matdat.OnlineSheetRepoSpec;
  709. -import org.appdapter.core.matdat.RepoSpec;
  710.  import org.cogchar.app.puma.boot.PumaAppContext;
  711. +import org.cogchar.app.puma.config.PumaContextMediator;
  712.  import org.cogchar.app.puma.web.PumaWebMapper;
  713. -import org.cogchar.app.puma.config.PumaContextMediator;
  714. +import org.cogchar.joswrap.RepoUpdateCallbackAdapter;
  715. +import org.cogchar.name.dir.NamespaceDir;
  716.  import org.osgi.framework.BundleContext;
  717. +
  718.  import com.hp.hpl.jena.query.Dataset;
  719.  
  720. -import org.cogchar.joswrap.RepoUpdateCallbackAdapter;
  721. -import org.cogchar.name.dir.NamespaceDir;
  722. -import org.joseki.processors.ProcessorBase;
  723. -
  724.  public class Activator extends BundleActivatorBase {
  725.  
  726.     public static Dataset theMainConfigDataset;
  727. Index: maven/org.friendularity.bundle.gaze/pom.xml
  728. ===================================================================
  729. --- maven/org.friendularity.bundle.gaze/pom.xml (revision 577)
  730. +++ maven/org.friendularity.bundle.gaze/pom.xml (working copy)
  731. @@ -39,7 +39,7 @@
  732.          <dependency>
  733.              <groupId>org.osgi</groupId>
  734.              <artifactId>org.osgi.core</artifactId>
  735. -            <version>4.3.0</version>
  736. +            <version>${osgi.core.version}</version>
  737.              <scope>provided</scope>
  738.          </dependency>
  739.         <dependency>
  740. Index: maven/org.friendularity.bundle.lifter/pom.xml
  741. ===================================================================
  742. --- maven/org.friendularity.bundle.lifter/pom.xml   (revision 577)
  743. +++ maven/org.friendularity.bundle.lifter/pom.xml   (working copy)
  744. @@ -1,4 +1,3 @@
  745. -
  746.  <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  747.     <modelVersion>4.0.0</modelVersion>
  748.  
  749. @@ -22,35 +21,14 @@
  750.             <version>1.4.0</version>
  751.             <scope>provided</scope>
  752.         </dependency>
  753. -       <dependency>
  754. -           <!-- This is a big honking hunk of code, but so far is working better than trying
  755. -               to mix-and-match our own version of Jetty + PAX.
  756. -           -->
  757. -           <groupId>org.ops4j.pax.web</groupId>
  758. -           <artifactId>pax-web-jetty-bundle</artifactId>
  759. -           <version>1.1.2</version>
  760.  
  761. -       </dependency>
  762. +        <!-- Our PAX-JETTY service -->
  763.         <dependency>
  764. -           <!--        http://team.ops4j.org/wiki/display/paxweb/WAR+Extender
  765. -           "Once installed the war extender will watch over the bundles that get started / stopped.
  766. -           Once your war bundle gets deployed and started, the war extender will parse your web.xml
  767. -           and registers all elements with http service."
  768. -           -->
  769. -           <groupId>org.ops4j.pax.web</groupId>
  770. -           <artifactId>pax-web-extender-war</artifactId>
  771. -           <version>1.1.2</version>
  772. +            <groupId>org.appdapter</groupId>
  773. +            <artifactId>ext.bundle.jetty_osgi</artifactId>
  774. +            <version>${appdapter.version}</version>
  775. +            <scope>runtime</scope>
  776.         </dependency>
  777. -
  778. -       <dependency>
  779. -           <!--  We do not use JSP technology, but apparently pax-web-jsp is needed, to resolve:
  780. -               org.ops4j.pax.web.pax-web-jetty-bundle imports (package=org.eclipse.jdt.core.compiler)
  781. -           -->        
  782. -           <groupId>org.ops4j.pax.web</groupId>
  783. -           <artifactId>pax-web-jsp</artifactId>
  784. -           <version>1.1.2</version>
  785. -       </dependency>
  786. -
  787.                
  788.         <dependency>
  789.             <!-- Our Lift-based webapp, which we expect PAX services above to find and launch to HTTP for us -->
  790. @@ -147,169 +125,6 @@
  791.                 </executions>
  792.             </plugin>  
  793.         </plugins>
  794. -       <pluginManagement>
  795. -           <plugins>
  796. -               <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
  797. -               <plugin>
  798. -                   <groupId>org.eclipse.m2e</groupId>
  799. -                   <artifactId>lifecycle-mapping</artifactId>
  800. -                   <version>1.0.0</version>
  801. -                   <configuration>
  802. -                       <lifecycleMappingMetadata>
  803. -                           <pluginExecutions>
  804. -                               <pluginExecution>
  805. -                                   <pluginExecutionFilter>
  806. -                                       <groupId>
  807. -                                           org.apache.maven.plugins
  808. -                                       </groupId>
  809. -                                       <artifactId>
  810. -                                           maven-antrun-plugin
  811. -                                       </artifactId>
  812. -                                       <versionRange>
  813. -                                           [1.3,)
  814. -                                       </versionRange>
  815. -                                       <goals>
  816. -                                           <goal>run</goal>
  817. -                                       </goals>
  818. -                                   </pluginExecutionFilter>
  819. -                                   <action>
  820. -                                       <ignore />
  821. -                                   </action>
  822. -                               </pluginExecution>
  823. -                           </pluginExecutions>
  824. -                       </lifecycleMappingMetadata>
  825. -                   </configuration>
  826. -               </plugin>
  827. -           </plugins>
  828. -       </pluginManagement>
  829.     </build>
  830.  
  831. -   <profiles>
  832. -       <profile>
  833. -           <id>build-for-felix</id>
  834. -           <dependencies>
  835. -               <dependency>
  836. -                   <groupId>org.apache.felix</groupId>
  837. -                   <artifactId>org.apache.felix.main</artifactId>
  838. -                   <version>4.2.1</version>
  839. -                   <scope>provided</scope>
  840. -               </dependency>
  841. -                <!-- To include a shell:
  842. -                <dependency>
  843. -                    <groupId>org.apache.felix</groupId>
  844. -                    <artifactId>org.apache.felix.gogo.shell</artifactId>
  845. -                    <version>0.6.1</version>
  846. -                </dependency>
  847. -                -->
  848. -           </dependencies>
  849. -           <build>
  850. -               <plugins>
  851. -                   <plugin>
  852. -                       <groupId>org.apache.maven.plugins</groupId>
  853. -                       <artifactId>maven-antrun-plugin</artifactId>
  854. -                       <version>1.6</version>
  855. -                       <executions>
  856. -                           <execution>
  857. -                               <id>compile</id>
  858. -                               <phase>package</phase>
  859. -                               <goals>
  860. -                                   <goal>run</goal>
  861. -                               </goals>
  862. -                               <configuration>
  863. -                                   <target>
  864. -                                       <pathconvert property="plugins.jars" pathsep="${path.separator}">
  865. -                                           <path refid="maven.runtime.classpath" />
  866. -                                           <map from="${project.build.directory}${file.separator}classes" to="" />
  867. -                                       </pathconvert>
  868. -                                       <pathconvert pathsep=" " property="bundles">
  869. -                                           <path path="${plugins.jars}" />
  870. -                                           <mapper>
  871. -                                               <chainedmapper>
  872. -                                                   <flattenmapper />
  873. -                                                   <globmapper from="*" to="file:modules/*" casesensitive="no" />
  874. -                                               </chainedmapper>
  875. -                                           </mapper>
  876. -                                       </pathconvert>
  877. -                                       <propertyfile file="${project.build.directory}/config.properties">
  878. -                                           <entry key="felix.auto.start" value="${bundles} file:modules/${project.build.finalName}.jar" />
  879. -                                           <entry key="org.osgi.framework.bootdelegation" value="*" />
  880. -                                       </propertyfile>
  881. -                                       <copy file="${maven.dependency.org.apache.felix.org.apache.felix.main.jar.path}" tofile="${project.build.directory}/felix.jar" />
  882. -                                   </target>
  883. -                               </configuration>
  884. -                           </execution>
  885. -                       </executions>
  886. -                   </plugin>
  887. -                   <plugin>
  888. -                       <groupId>org.apache.maven.plugins</groupId>
  889. -                       <artifactId>maven-assembly-plugin</artifactId>
  890. -                       <version>2.2</version>
  891. -                       <executions>
  892. -                           <execution>
  893. -                               <id>create-executable-jar</id>
  894. -                               <phase>package</phase>
  895. -                               <goals>
  896. -                                   <goal>single</goal>
  897. -                               </goals>
  898. -                               <configuration>
  899. -                                   <descriptors>
  900. -                                       <descriptor>${basedir}/src/main/assembly/felix.xml</descriptor>
  901. -                                   </descriptors>
  902. -                                   <finalName>${project.build.finalName}</finalName>
  903. -                               </configuration>
  904. -                           </execution>
  905. -                       </executions>
  906. -                   </plugin>
  907. -               </plugins>
  908. -           </build>
  909. -       </profile>
  910. -       <profile>
  911. -           <id>run-on-felix</id>
  912. -           <dependencies>
  913. -               <dependency>
  914. -                   <groupId>org.apache.felix</groupId>
  915. -                   <artifactId>org.apache.felix.main</artifactId>
  916. -                   <version>4.2.1</version>
  917. -                   <scope>provided</scope>
  918. -               </dependency>
  919. -                <!-- org.apache.felix:org.apache.felix.gogo.shell:0.6.1 useless from Maven since stdin is swallowed -->
  920. -           </dependencies>
  921. -           <build>
  922. -               <plugins>
  923. -                   <plugin>
  924. -                       <groupId>org.apache.maven.plugins</groupId>
  925. -                       <artifactId>maven-antrun-plugin</artifactId>
  926. -                       <version>1.6</version>
  927. -                       <configuration>
  928. -                           <target>
  929. -                               <property name="vm.args" value="" />
  930. -                               <pathconvert property="plugins.jars" pathsep="${path.separator}">
  931. -                                   <path refid="maven.runtime.classpath" />
  932. -                                   <map from="${project.build.directory}${file.separator}classes" to="" />
  933. -                               </pathconvert>
  934. -                               <makeurl property="urls" separator=" ">
  935. -                                   <path path="${plugins.jars}" />
  936. -                                   <path location="${project.build.directory}/${project.build.finalName}.jar" />
  937. -                               </makeurl>
  938. -                               <propertyfile file="${project.build.directory}/run.properties">
  939. -                                   <entry key="felix.auto.start" value="${urls}" />
  940. -                                   <entry key="felix.auto.deploy.action" value="uninstall,install,update,start" />
  941. -                                   <entry key="org.osgi.framework.storage" value="${project.build.directory}${file.separator}felix-cache" />
  942. -                                   <entry key="org.osgi.framework.bootdelegation" value="*" />
  943. -                                   <!-- Allow sun.misc package to be used by LWJGL -->
  944. -                                    <!-- org.w3c.dom.* are missing from default.properties in felix 4.2.1, they are present in 3.0.7 -->
  945. -                                   <entry key="org.osgi.framework.system.packages.extra" value="sun.misc, org.w3c.dom.css, org.w3c.dom.html, org.w3c.dom.stylesheets, org.w3c.dom.traversal,                                                     org.w3c.dom.ranges,                                                     org.w3c.dom.views,                                                     org.w3c.dom.xpath" />
  946. -                               </propertyfile>
  947. -                               <makeurl property="run.properties.url" file="${project.build.directory}/run.properties" />
  948. -                               <java fork="true" jar="${maven.dependency.org.apache.felix.org.apache.felix.main.jar.path}">
  949. -                                   <sysproperty key="felix.config.properties" value="${run.properties.url}" />
  950. -                                   <jvmarg line="${vm.args}" />
  951. -                               </java>
  952. -                           </target>
  953. -                       </configuration>
  954. -                   </plugin>
  955. -               </plugins>
  956. -           </build>
  957. -       </profile>
  958. -   </profiles>
  959.  </project>
  960. Index: maven/org.friendularity.bundle.messagemonitor/pom.xml
  961. ===================================================================
  962. --- maven/org.friendularity.bundle.messagemonitor/pom.xml   (revision 577)
  963. +++ maven/org.friendularity.bundle.messagemonitor/pom.xml   (working copy)
  964. @@ -16,7 +16,7 @@
  965.          <dependency>
  966.              <groupId>org.osgi</groupId>
  967.              <artifactId>org.osgi.core</artifactId>
  968. -            <version>4.3.1</version>
  969. +            <version>${osgi.core.version}</version>
  970.              <scope>provided</scope>
  971.          </dependency>
  972.          <dependency>
  973. @@ -97,130 +97,4 @@
  974.              </plugin>
  975.          </plugins>
  976.      </build>
  977. -
  978. -    <profiles>
  979. -        <profile>
  980. -            <id>build-for-felix</id>
  981. -            <dependencies>
  982. -                <dependency>
  983. -                    <groupId>org.apache.felix</groupId>
  984. -                    <artifactId>org.apache.felix.main</artifactId>
  985. -                    <version>4.0.3</version>
  986. -                    <scope>provided</scope>
  987. -                </dependency>
  988. -                <!-- To include a shell:
  989. -                <dependency>
  990. -                    <groupId>org.apache.felix</groupId>
  991. -                    <artifactId>org.apache.felix.gogo.shell</artifactId>
  992. -                    <version>0.10.0</version>
  993. -                </dependency>
  994. -                -->
  995. -            </dependencies>
  996. -            <build>
  997. -                <plugins>
  998. -                    <plugin>
  999. -                        <groupId>org.apache.maven.plugins</groupId>
  1000. -                        <artifactId>maven-antrun-plugin</artifactId>
  1001. -                        <version>1.7</version>
  1002. -                        <executions>
  1003. -                            <execution>
  1004. -                                <id>compile</id>
  1005. -                                <phase>package</phase>
  1006. -                                <goals>
  1007. -                                    <goal>run</goal>
  1008. -                                </goals>
  1009. -                                <configuration>
  1010. -                                    <target>
  1011. -                                        <pathconvert property="plugins.jars" pathsep="${path.separator}">
  1012. -                                            <path refid="maven.runtime.classpath" />
  1013. -                                            <map from="${project.build.directory}${file.separator}classes" to="" />
  1014. -                                        </pathconvert>
  1015. -                                        <pathconvert pathsep=" " property="bundles">
  1016. -                                            <path path="${plugins.jars}" />
  1017. -                                            <mapper>
  1018. -                                                <chainedmapper>
  1019. -                                                    <flattenmapper />
  1020. -                                                    <globmapper from="*" to="file:modules/*" casesensitive="no" />
  1021. -                                                </chainedmapper>
  1022. -                                            </mapper>
  1023. -                                        </pathconvert>
  1024. -                                        <propertyfile file="${project.build.directory}/config.properties">
  1025. -                                            <entry key="felix.auto.start" value="${bundles} file:modules/${project.build.finalName}.jar" />
  1026. -                                            <entry key="org.osgi.framework.bootdelegation" value="*" />
  1027. -                                        </propertyfile>
  1028. -                                        <copy file="${maven.dependency.org.apache.felix.org.apache.felix.main.jar.path}" tofile="${project.build.directory}/felix.jar" />
  1029. -                                    </target>
  1030. -                                </configuration>
  1031. -                            </execution>
  1032. -                        </executions>
  1033. -                    </plugin>
  1034. -                    <plugin>
  1035. -                        <groupId>org.apache.maven.plugins</groupId>
  1036. -                        <artifactId>maven-assembly-plugin</artifactId>
  1037. -                        <version>2.3</version>
  1038. -                        <executions>
  1039. -                            <execution>
  1040. -                                <id>create-executable-jar</id>
  1041. -                                <phase>package</phase>
  1042. -                                <goals>
  1043. -                                    <goal>single</goal>
  1044. -                                </goals>
  1045. -                                <configuration>
  1046. -                                    <descriptors>
  1047. -                                        <descriptor>${basedir}/src/main/assembly/felix.xml</descriptor>
  1048. -                                    </descriptors>
  1049. -                                    <finalName>${project.build.finalName}</finalName>
  1050. -                                </configuration>
  1051. -                            </execution>
  1052. -                        </executions>
  1053. -                    </plugin>
  1054. -                </plugins>
  1055. -            </build>
  1056. -        </profile>
  1057. -        <profile>
  1058. -            <id>run-on-felix</id>
  1059. -            <dependencies>
  1060. -                <dependency>
  1061. -                    <groupId>org.apache.felix</groupId>
  1062. -                    <artifactId>org.apache.felix.main</artifactId>
  1063. -                    <version>4.0.3</version>
  1064. -                    <scope>provided</scope>
  1065. -                </dependency>
  1066. -                <!-- org.apache.felix:org.apache.felix.gogo.shell:0.6.1 useless from Maven since stdin is swallowed -->
  1067. -            </dependencies>
  1068. -            <build>
  1069. -                <plugins>
  1070. -                    <plugin>
  1071. -                        <groupId>org.apache.maven.plugins</groupId>
  1072. -                        <artifactId>maven-antrun-plugin</artifactId>
  1073. -                        <version>1.7</version>
  1074. -                        <configuration>
  1075. -                            <target>
  1076. -                                <property name="vm.args" value="" />
  1077. -                                <pathconvert property="plugins.jars" pathsep="${path.separator}">
  1078. -                                    <path refid="maven.runtime.classpath" />
  1079. -                                    <map from="${project.build.directory}${file.separator}classes" to="" />
  1080. -                                </pathconvert>
  1081. -                                <makeurl property="urls" separator=" ">
  1082. -                                    <path path="${plugins.jars}" />
  1083. -                                    <path location="${project.build.directory}/${project.build.finalName}.jar" />
  1084. -                                </makeurl>
  1085. -                                <propertyfile file="${project.build.directory}/run.properties">
  1086. -                                    <entry key="felix.auto.start" value="${urls}" />
  1087. -                                    <entry key="felix.auto.deploy.action" value="uninstall,install,update,start" />
  1088. -                                    <entry key="org.osgi.framework.storage" value="${project.build.directory}${file.separator}felix-cache" />
  1089. -                                    <entry key="org.osgi.framework.bootdelegation" value="*" />
  1090. -                                </propertyfile>
  1091. -                                <makeurl property="run.properties.url" file="${project.build.directory}/run.properties" />
  1092. -                                <java fork="true" jar="${maven.dependency.org.apache.felix.org.apache.felix.main.jar.path}">
  1093. -                                    <sysproperty key="felix.config.properties" value="${run.properties.url}" />
  1094. -                                    <jvmarg line="${vm.args}" />
  1095. -                                </java>
  1096. -                            </target>
  1097. -                        </configuration>
  1098. -                    </plugin>
  1099. -                </plugins>
  1100. -            </build>
  1101. -        </profile>
  1102. -    </profiles>
  1103.  </project>
  1104. Index: maven/org.friendularity.bundle.messageplayer/pom.xml
  1105. ===================================================================
  1106. --- maven/org.friendularity.bundle.messageplayer/pom.xml    (revision 577)
  1107. +++ maven/org.friendularity.bundle.messageplayer/pom.xml    (working copy)
  1108. @@ -16,7 +16,7 @@
  1109.          <dependency>
  1110.              <groupId>org.osgi</groupId>
  1111.              <artifactId>org.osgi.core</artifactId>
  1112. -            <version>4.3.0</version>
  1113. +            <version>${osgi.core.version}</version>
  1114.              <scope>provided</scope>
  1115.          </dependency>
  1116.          <dependency>
  1117. @@ -98,129 +98,4 @@
  1118.          </plugins>
  1119.      </build>
  1120.  
  1121. -    <profiles>
  1122. -        <profile>
  1123. -            <id>build-for-felix</id>
  1124. -            <dependencies>
  1125. -                <dependency>
  1126. -                    <groupId>org.apache.felix</groupId>
  1127. -                    <artifactId>org.apache.felix.main</artifactId>
  1128. -                    <version>4.0.3</version>
  1129. -                    <scope>provided</scope>
  1130. -                </dependency>
  1131. -                <!-- To include a shell:
  1132. -                <dependency>
  1133. -                    <groupId>org.apache.felix</groupId>
  1134. -                    <artifactId>org.apache.felix.gogo.shell</artifactId>
  1135. -                    <version>0.10.0</version>
  1136. -                </dependency>
  1137. -                -->
  1138. -            </dependencies>
  1139. -            <build>
  1140. -                <plugins>
  1141. -                    <plugin>
  1142. -                        <groupId>org.apache.maven.plugins</groupId>
  1143. -                        <artifactId>maven-antrun-plugin</artifactId>
  1144. -                        <version>1.7</version>
  1145. -                        <executions>
  1146. -                            <execution>
  1147. -                                <id>compile</id>
  1148. -                                <phase>package</phase>
  1149. -                                <goals>
  1150. -                                    <goal>run</goal>
  1151. -                                </goals>
  1152. -                                <configuration>
  1153. -                                    <target>
  1154. -                                        <pathconvert property="plugins.jars" pathsep="${path.separator}">
  1155. -                                            <path refid="maven.runtime.classpath" />
  1156. -                                            <map from="${project.build.directory}${file.separator}classes" to="" />
  1157. -                                        </pathconvert>
  1158. -                                        <pathconvert pathsep=" " property="bundles">
  1159. -                                            <path path="${plugins.jars}" />
  1160. -                                            <mapper>
  1161. -                                                <chainedmapper>
  1162. -                                                    <flattenmapper />
  1163. -                                                    <globmapper from="*" to="file:modules/*" casesensitive="no" />
  1164. -                                                </chainedmapper>
  1165. -                                            </mapper>
  1166. -                                        </pathconvert>
  1167. -                                        <propertyfile file="${project.build.directory}/config.properties">
  1168. -                                            <entry key="felix.auto.start" value="${bundles} file:modules/${project.build.finalName}.jar" />
  1169. -                                            <entry key="org.osgi.framework.bootdelegation" value="*" />
  1170. -                                        </propertyfile>
  1171. -                                        <copy file="${maven.dependency.org.apache.felix.org.apache.felix.main.jar.path}" tofile="${project.build.directory}/felix.jar" />
  1172. -                                    </target>
  1173. -                                </configuration>
  1174. -                            </execution>
  1175. -                        </executions>
  1176. -                    </plugin>
  1177. -                    <plugin>
  1178. -                        <groupId>org.apache.maven.plugins</groupId>
  1179. -                        <artifactId>maven-assembly-plugin</artifactId>
  1180. -                        <version>2.3</version>
  1181. -                        <executions>
  1182. -                            <execution>
  1183. -                                <id>create-executable-jar</id>
  1184. -                                <phase>package</phase>
  1185. -                                <goals>
  1186. -                                    <goal>single</goal>
  1187. -                                </goals>
  1188. -                                <configuration>
  1189. -                                    <descriptors>
  1190. -                                        <descriptor>${basedir}/src/main/assembly/felix.xml</descriptor>
  1191. -                                    </descriptors>
  1192. -                                    <finalName>${project.build.finalName}</finalName>
  1193. -                                </configuration>
  1194. -                            </execution>
  1195. -                        </executions>
  1196. -                    </plugin>
  1197. -                </plugins>
  1198. -            </build>
  1199. -        </profile>
  1200. -        <profile>
  1201. -            <id>run-on-felix</id>
  1202. -            <dependencies>
  1203. -                <dependency>
  1204. -                    <groupId>org.apache.felix</groupId>
  1205. -                    <artifactId>org.apache.felix.main</artifactId>
  1206. -                    <version>4.0.3</version>
  1207. -                    <scope>provided</scope>
  1208. -                </dependency>
  1209. -                <!-- org.apache.felix:org.apache.felix.gogo.shell:0.6.1 useless from Maven since stdin is swallowed -->
  1210. -            </dependencies>
  1211. -            <build>
  1212. -                <plugins>
  1213. -                    <plugin>
  1214. -                        <groupId>org.apache.maven.plugins</groupId>
  1215. -                        <artifactId>maven-antrun-plugin</artifactId>
  1216. -                        <version>1.7</version>
  1217. -                        <configuration>
  1218. -                            <target>
  1219. -                                <property name="vm.args" value="" />
  1220. -                                <pathconvert property="plugins.jars" pathsep="${path.separator}">
  1221. -                                    <path refid="maven.runtime.classpath" />
  1222. -                                    <map from="${project.build.directory}${file.separator}classes" to="" />
  1223. -                                </pathconvert>
  1224. -                                <makeurl property="urls" separator=" ">
  1225. -                                    <path path="${plugins.jars}" />
  1226. -                                    <path location="${project.build.directory}/${project.build.finalName}.jar" />
  1227. -                                </makeurl>
  1228. -                                <propertyfile file="${project.build.directory}/run.properties">
  1229. -                                    <entry key="felix.auto.start" value="${urls}" />
  1230. -                                    <entry key="felix.auto.deploy.action" value="uninstall,install,update,start" />
  1231. -                                    <entry key="org.osgi.framework.storage" value="${project.build.directory}${file.separator}felix-cache" />
  1232. -                                    <entry key="org.osgi.framework.bootdelegation" value="*" />
  1233. -                                </propertyfile>
  1234. -                                <makeurl property="run.properties.url" file="${project.build.directory}/run.properties" />
  1235. -                                <java fork="true" jar="${maven.dependency.org.apache.felix.org.apache.felix.main.jar.path}">
  1236. -                                    <sysproperty key="felix.config.properties" value="${run.properties.url}" />
  1237. -                                    <jvmarg line="${vm.args}" />
  1238. -                                </java>
  1239. -                            </target>
  1240. -                        </configuration>
  1241. -                    </plugin>
  1242. -                </plugins>
  1243. -            </build>
  1244. -        </profile>
  1245. -    </profiles>
  1246.  </project>
  1247. Index: maven/org.friendularity.bundle.repo/pom.xml
  1248. ===================================================================
  1249. --- maven/org.friendularity.bundle.repo/pom.xml (revision 577)
  1250. +++ maven/org.friendularity.bundle.repo/pom.xml (working copy)
  1251. @@ -38,35 +38,13 @@
  1252.             <version>1.4.0</version>
  1253.             <scope>provided</scope>
  1254.         </dependency>
  1255. -       <dependency>
  1256. -           <!-- This is a big honking hunk of code, but so far is working better than trying
  1257. -               to mix-and-match our own version of Jetty + PAX.
  1258. -           -->
  1259. -           <groupId>org.ops4j.pax.web</groupId>
  1260. -           <artifactId>pax-web-jetty-bundle</artifactId>
  1261. -           <version>1.1.2</version>
  1262. -           <scope>runtime</scope>
  1263. -       </dependency>
  1264. -       <dependency>
  1265. -           <!--        http://team.ops4j.org/wiki/display/paxweb/WAR+Extender
  1266. -           "Once installed the war extender will watch over the bundles that get started / stopped.
  1267. -           Once your war bundle gets deployed and started, the war extender will parse your web.xml
  1268. -           and registers all elements with http service."
  1269. -           -->
  1270.  
  1271. -           <groupId>org.ops4j.pax.web</groupId>
  1272. -           <artifactId>pax-web-extender-war</artifactId>
  1273. -           <version>1.1.2</version>
  1274. -           <scope>runtime</scope>
  1275. -       </dependency>
  1276.  
  1277. +        <!-- Our PAX-JETTY service -->
  1278.         <dependency>
  1279. -           <!--  We do not use JSP technology, but apparently pax-web-jsp is needed, to resolve:
  1280. -               org.ops4j.pax.web.pax-web-jetty-bundle imports (package=org.eclipse.jdt.core.compiler)
  1281. -           -->        
  1282. -           <groupId>org.ops4j.pax.web</groupId>
  1283. -           <artifactId>pax-web-jsp</artifactId>
  1284. -           <version>1.1.2</version>
  1285. +            <groupId>org.appdapter</groupId>
  1286. +            <artifactId>ext.bundle.jetty_osgi</artifactId>
  1287. +            <version>${appdapter.version}</version>
  1288.             <scope>runtime</scope>
  1289.         </dependency>
  1290.  
  1291. Index: maven/org.friendularity.bundle.speechtiming/pom.xml
  1292. ===================================================================
  1293. --- maven/org.friendularity.bundle.speechtiming/pom.xml (revision 577)
  1294. +++ maven/org.friendularity.bundle.speechtiming/pom.xml (working copy)
  1295. @@ -11,7 +11,7 @@
  1296.  
  1297.      <properties>
  1298.          <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  1299. -        <robokind.version>0.9.0</robokind.version>
  1300. +        <robokind.version>0.9.4-SNAPSHOT</robokind.version>
  1301.      </properties>
  1302.  
  1303.      <dependencies>
  1304. Index: maven/org.friendularity.bundle.test.facedetect.r50/pom.xml
  1305. ===================================================================
  1306. --- maven/org.friendularity.bundle.test.facedetect.r50/pom.xml  (revision 577)
  1307. +++ maven/org.friendularity.bundle.test.facedetect.r50/pom.xml  (working copy)
  1308. @@ -24,7 +24,7 @@
  1309.          <dependency>
  1310.              <groupId>org.osgi</groupId>
  1311.              <artifactId>org.osgi.core</artifactId>
  1312. -            <version>4.3.0</version>
  1313. +            <version>${osgi.core.version}</version>
  1314.              <scope>provided</scope>
  1315.          </dependency>
  1316.          <dependency>
  1317. @@ -58,90 +58,12 @@
  1318.  
  1319.      <profiles>
  1320.          <profile>
  1321. -            <id>build-for-felix</id>
  1322. -            <dependencies>
  1323. -                <dependency>
  1324. -                    <groupId>org.apache.felix</groupId>
  1325. -                    <artifactId>org.apache.felix.main</artifactId>
  1326. -                    <version>4.0.3</version>
  1327. -                    <scope>provided</scope>
  1328. -                </dependency>
  1329. -                <!-- To include a shell:
  1330. -                <dependency>
  1331. -                    <groupId>org.apache.felix</groupId>
  1332. -                    <artifactId>org.apache.felix.gogo.shell</artifactId>
  1333. -                    <version>0.10.0</version>
  1334. -                </dependency>
  1335. -                -->
  1336. -            </dependencies>
  1337. -            <build>
  1338. -                <plugins>
  1339. -                    <plugin>
  1340. -                        <groupId>org.apache.maven.plugins</groupId>
  1341. -                        <artifactId>maven-antrun-plugin</artifactId>
  1342. -                        <version>1.7</version>
  1343. -                        <executions>
  1344. -                            <execution>
  1345. -                                <id>compile</id>
  1346. -                                <phase>package</phase>
  1347. -                                <goals>
  1348. -                                    <goal>run</goal>
  1349. -                                </goals>
  1350. -                                <configuration>
  1351. -                                    <target>
  1352. -                                        <pathconvert property="plugins.jars" pathsep="${path.separator}">
  1353. -                                            <path refid="maven.runtime.classpath" />
  1354. -                                            <map from="${project.build.directory}${file.separator}classes" to="" />
  1355. -                                        </pathconvert>
  1356. -                                        <pathconvert pathsep=" " property="bundles">
  1357. -                                            <path path="${plugins.jars}" />
  1358. -                                            <mapper>
  1359. -                                                <chainedmapper>
  1360. -                                                    <flattenmapper />
  1361. -                                                    <globmapper from="*" to="file:modules/*" casesensitive="no" />
  1362. -                                                </chainedmapper>
  1363. -                                            </mapper>
  1364. -                                        </pathconvert>
  1365. -                                        <propertyfile file="${project.build.directory}/config.properties">
  1366. -                                            <entry key="felix.auto.start" value="${bundles} file:modules/${project.build.finalName}.jar" />
  1367. -                                            <entry key="org.osgi.framework.bootdelegation" value="*" />
  1368. -                                        </propertyfile>
  1369. -                                        <copy file="${maven.dependency.org.apache.felix.org.apache.felix.main.jar.path}" tofile="${project.build.directory}/felix.jar" />
  1370. -                                    </target>
  1371. -                                </configuration>
  1372. -                            </execution>
  1373. -                        </executions>
  1374. -                    </plugin>
  1375. -                    <plugin>
  1376. -                        <groupId>org.apache.maven.plugins</groupId>
  1377. -                        <artifactId>maven-assembly-plugin</artifactId>
  1378. -                        <version>2.3</version>
  1379. -                        <executions>
  1380. -                            <execution>
  1381. -                                <id>create-executable-jar</id>
  1382. -                                <phase>package</phase>
  1383. -                                <goals>
  1384. -                                    <goal>single</goal>
  1385. -                                </goals>
  1386. -                                <configuration>
  1387. -                                    <descriptors>
  1388. -                                        <descriptor>${basedir}/src/main/assembly/felix.xml</descriptor>
  1389. -                                    </descriptors>
  1390. -                                    <finalName>${project.build.finalName}</finalName>
  1391. -                                </configuration>
  1392. -                            </execution>
  1393. -                        </executions>
  1394. -                    </plugin>
  1395. -                </plugins>
  1396. -            </build>
  1397. -        </profile>
  1398. -        <profile>
  1399.              <id>run-on-felix</id>
  1400.              <dependencies>
  1401.                  <dependency>
  1402.                      <groupId>org.apache.felix</groupId>
  1403.                      <artifactId>org.apache.felix.main</artifactId>
  1404. -                    <version>4.0.3</version>
  1405. +                    <version>4.2.1</version>
  1406.                      <scope>provided</scope>
  1407.                  </dependency>
  1408.                  <!-- org.apache.felix:org.apache.felix.gogo.shell:0.6.1 useless from Maven since stdin is swallowed -->
  1409. Index: maven/org.friendularity.bundle.test.felix/pom.xml
  1410. ===================================================================
  1411. --- maven/org.friendularity.bundle.test.felix/pom.xml   (revision 577)
  1412. +++ maven/org.friendularity.bundle.test.felix/pom.xml   (working copy)
  1413. @@ -18,7 +18,7 @@
  1414.         <dependency>
  1415.             <groupId>org.osgi</groupId>
  1416.             <artifactId>org.osgi.core</artifactId>
  1417. -           <version>4.3.0</version>
  1418. +           <version>${osgi.core.version}</version>
  1419.             <scope>provided</scope>
  1420.         </dependency>
  1421.     </dependencies>
  1422. @@ -39,130 +39,4 @@
  1423.             </plugin>
  1424.         </plugins>
  1425.     </build>
  1426. -
  1427. -   <profiles>
  1428. -       <profile>
  1429. -           <id>build-for-felix</id>
  1430. -           <dependencies>
  1431. -               <dependency>
  1432. -                   <groupId>org.apache.felix</groupId>
  1433. -                   <artifactId>org.apache.felix.main</artifactId>
  1434. -                   <version>4.0.3</version>
  1435. -                   <scope>provided</scope>
  1436. -               </dependency>
  1437. -               <!-- To include a shell:
  1438. -               <dependency>
  1439. -                   <groupId>org.apache.felix</groupId>
  1440. -                   <artifactId>org.apache.felix.gogo.shell</artifactId>
  1441. -                   <version>0.10.0</version>
  1442. -               </dependency>
  1443. -               -->
  1444. -           </dependencies>
  1445. -           <build>
  1446. -               <plugins>
  1447. -                   <plugin>
  1448. -                       <groupId>org.apache.maven.plugins</groupId>
  1449. -                       <artifactId>maven-antrun-plugin</artifactId>
  1450. -                       <version>1.7</version>
  1451. -                       <executions>
  1452. -                           <execution>
  1453. -                               <id>compile</id>
  1454. -                               <phase>package</phase>
  1455. -                               <goals>
  1456. -                                   <goal>run</goal>
  1457. -                               </goals>
  1458. -                               <configuration>
  1459. -                                   <target>
  1460. -                                       <pathconvert property="plugins.jars" pathsep="${path.separator}">
  1461. -                                           <path refid="maven.runtime.classpath"/>
  1462. -                                           <map from="${project.build.directory}${file.separator}classes" to=""/>
  1463. -                                       </pathconvert>
  1464. -                                       <pathconvert pathsep=" " property="bundles">
  1465. -                                           <path path="${plugins.jars}"/>
  1466. -                                           <mapper>
  1467. -                                               <chainedmapper>
  1468. -                                                   <flattenmapper/>
  1469. -                                                   <globmapper from="*" to="file:modules/*" casesensitive="no"/>
  1470. -                                               </chainedmapper>
  1471. -                                           </mapper>
  1472. -                                       </pathconvert>
  1473. -                                       <propertyfile file="${project.build.directory}/config.properties">
  1474. -                                           <entry key="felix.auto.start" value="${bundles} file:modules/${project.build.finalName}.jar"/>
  1475. -                                           <entry key="org.osgi.framework.bootdelegation" value="*"/>
  1476. -                                       </propertyfile>
  1477. -                                       <copy file="${maven.dependency.org.apache.felix.org.apache.felix.main.jar.path}" tofile="${project.build.directory}/felix.jar"/>
  1478. -                                   </target>
  1479. -                               </configuration>
  1480. -                           </execution>
  1481. -                       </executions>
  1482. -                   </plugin>
  1483. -                   <plugin>
  1484. -                       <groupId>org.apache.maven.plugins</groupId>
  1485. -                       <artifactId>maven-assembly-plugin</artifactId>
  1486. -                       <version>2.3</version>
  1487. -                       <executions>
  1488. -                           <execution>
  1489. -                               <id>create-executable-jar</id>
  1490. -                               <phase>package</phase>
  1491. -                               <goals>
  1492. -                                   <goal>single</goal>
  1493. -                               </goals>
  1494. -                               <configuration>
  1495. -                                   <descriptors>
  1496. -                                       <descriptor>${basedir}/src/main/assembly/felix.xml</descriptor>
  1497. -                                   </descriptors>
  1498. -                                   <finalName>${project.build.finalName}</finalName>
  1499. -                               </configuration>
  1500. -                           </execution>
  1501. -                       </executions>
  1502. -                   </plugin>
  1503. -               </plugins>
  1504. -           </build>
  1505. -       </profile>
  1506. -       <profile>
  1507. -           <id>run-on-felix</id>
  1508. -           <dependencies>
  1509. -               <dependency>
  1510. -                   <groupId>org.apache.felix</groupId>
  1511. -                   <artifactId>org.apache.felix.main</artifactId>
  1512. -                   <version>4.0.3</version>
  1513. -                   <scope>provided</scope>
  1514. -               </dependency>
  1515. -               <!-- org.apache.felix:org.apache.felix.gogo.shell:0.6.1 useless from Maven since stdin is swallowed -->
  1516. -           </dependencies>
  1517. -           <build>
  1518. -               <plugins>
  1519. -                   <plugin>
  1520. -                       <groupId>org.apache.maven.plugins</groupId>
  1521. -                       <artifactId>maven-antrun-plugin</artifactId>
  1522. -                       <version>1.7</version>
  1523. -                       <configuration>
  1524. -                           <target>
  1525. -                               <property name="vm.args" value=""/>
  1526. -                               <pathconvert property="plugins.jars" pathsep="${path.separator}">
  1527. -                                   <path refid="maven.runtime.classpath"/>
  1528. -                                   <map from="${project.build.directory}${file.separator}classes" to=""/>
  1529. -                               </pathconvert>
  1530. -                               <makeurl property="urls" separator=" ">
  1531. -                                   <path path="${plugins.jars}"/>
  1532. -                                   <path location="${project.build.directory}/${project.build.finalName}.jar"/>
  1533. -                               </makeurl>
  1534. -                               <propertyfile file="${project.build.directory}/run.properties">
  1535. -                                   <entry key="felix.auto.start" value="${urls}"/>
  1536. -                                   <entry key="felix.auto.deploy.action" value="uninstall,install,update,start"/>
  1537. -                                   <entry key="org.osgi.framework.storage" value="${project.build.directory}${file.separator}felix-cache"/>
  1538. -                                   <entry key="org.osgi.framework.bootdelegation" value="*"/>
  1539. -                               </propertyfile>
  1540. -                               <makeurl property="run.properties.url" file="${project.build.directory}/run.properties"/>
  1541. -                               <java fork="true" jar="${maven.dependency.org.apache.felix.org.apache.felix.main.jar.path}">
  1542. -                                   <sysproperty key="felix.config.properties" value="${run.properties.url}"/>
  1543. -                                   <jvmarg line="${vm.args}"/>
  1544. -                               </java>
  1545. -                           </target>
  1546. -                       </configuration>
  1547. -                   </plugin>
  1548. -               </plugins>
  1549. -           </build>
  1550. -       </profile>
  1551. -   </profiles>
  1552.  </project>
  1553. Index: maven/org.friendularity.connection/pom.xml
  1554. ===================================================================
  1555. --- maven/org.friendularity.connection/pom.xml  (revision 577)
  1556. +++ maven/org.friendularity.connection/pom.xml  (working copy)
  1557. @@ -33,6 +33,12 @@
  1558.              <artifactId>org.friendularity.spec.connection</artifactId>
  1559.              <groupId>org.friendularity</groupId>
  1560.              <version>${project.version}</version>
  1561. +            <exclusions>
  1562. +                <exclusion>
  1563. +                    <artifactId>servlet-api</artifactId>
  1564. +                    <groupId>org.mortbay.jetty</groupId>
  1565. +                </exclusion>
  1566. +            </exclusions>
  1567.          </dependency>
  1568.          <dependency>
  1569.              <groupId>org.rwshop</groupId>
  1570. Index: maven/org.friendularity.demo.lifecycles/pom.xml
  1571. ===================================================================
  1572. --- maven/org.friendularity.demo.lifecycles/pom.xml (revision 577)
  1573. +++ maven/org.friendularity.demo.lifecycles/pom.xml (working copy)
  1574. @@ -13,33 +13,6 @@
  1575.  
  1576.      <name>${project.artifactId} - OSGi Bundle</name>
  1577.  
  1578. -    <properties>
  1579. -        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  1580. -<!--        
  1581. -
  1582. -  If this fails....
  1583. -
  1584. -        <robokind.version>0.9.2</robokind.version>
  1585. -        <rwshop.version>0.9.2</rwshop.version>
  1586. -        <jflux.version>0.1.6</jflux.version>
  1587. -
  1588. -or
  1589. -
  1590. -  try this once... (Then switch back to the above for daily use)
  1591. -
  1592. -    <robokind.version>0.9.0</robokind.version>
  1593. -    <rwshop.version>0.9.0</rwshop.version>
  1594. -    <jflux.version>0.1.5</jflux.version>
  1595. -
  1596. -  
  1597. -
  1598. --->       
  1599. -        <robokind.version>0.9.3</robokind.version>
  1600. -        <rwshop.version>0.9.3</rwshop.version>
  1601. -        <jflux.version>0.1.7</jflux.version>
  1602. -
  1603. -    </properties>
  1604. -
  1605.      <repositories>
  1606.          <repository>
  1607.              <id>sonatype-public</id>
  1608. @@ -80,11 +53,23 @@
  1609.              <groupId>org.jflux</groupId>
  1610.              <artifactId>org.jflux.api.services</artifactId>
  1611.              <version>${jflux.version}</version>
  1612. +            <exclusions>
  1613. +              <exclusion>
  1614. +                <artifactId>servlet-api</artifactId>
  1615. +                <groupId>org.mortbay.jetty</groupId>
  1616. +              </exclusion>
  1617. +            </exclusions>
  1618.          </dependency>
  1619.          <dependency>
  1620.              <groupId>org.jflux</groupId>
  1621.              <artifactId>org.jflux.impl.registry.osgi</artifactId>
  1622.              <version>${jflux.version}</version>
  1623. +            <exclusions>
  1624. +              <exclusion>
  1625. +                <artifactId>servlet-api</artifactId>
  1626. +                <groupId>org.mortbay.jetty</groupId>
  1627. +              </exclusion>
  1628. +            </exclusions>
  1629.          </dependency>
  1630.      </dependencies>
  1631.  
  1632. @@ -112,7 +97,7 @@
  1633.                  <dependency>
  1634.                      <groupId>org.apache.felix</groupId>
  1635.                      <artifactId>org.apache.felix.main</artifactId>
  1636. -                    <version>4.0.3</version>
  1637. +                    <version>4.2.1</version>
  1638.                      <scope>provided</scope>
  1639.                  </dependency>
  1640.                  <!-- To include a shell:
  1641. @@ -190,7 +175,7 @@
  1642.                  <dependency>
  1643.                      <groupId>org.apache.felix</groupId>
  1644.                      <artifactId>org.apache.felix.main</artifactId>
  1645. -                    <version>4.0.3</version>
  1646. +                    <version>4.2.1</version>
  1647.                      <scope>provided</scope>
  1648.                  </dependency>
  1649.                  <!-- org.apache.felix:org.apache.felix.gogo.shell:0.6.1 useless from Maven since stdin is swallowed -->
  1650. Index: maven/org.friendularity.demo.lifter/pom.xml
  1651. ===================================================================
  1652. --- maven/org.friendularity.demo.lifter/pom.xml (revision 577)
  1653. +++ maven/org.friendularity.demo.lifter/pom.xml (working copy)
  1654. @@ -6,7 +6,7 @@
  1655.     <parent>
  1656.         <groupId>org.friendularity</groupId>
  1657.         <artifactId>org.friendularity.modules.main</artifactId>
  1658. -       <version>1.0.0-SNAPSHOT</version>
  1659. +       <version>1.0.2-SNAPSHOT</version>
  1660.         <relativePath>../org.friendularity.modules.main/pom.xml</relativePath>
  1661.     </parent>  
  1662.  
  1663. @@ -22,6 +22,36 @@
  1664.             <groupId>net.liftweb</groupId>
  1665.             <artifactId>lift-mapper_2.10</artifactId>
  1666.             <version>2.5.1</version>
  1667. +            <exclusions>
  1668. +                        <exclusion>
  1669. +                            <groupId>org.specs2</groupId>
  1670. +                            <artifactId>specs2_2.10</artifactId>
  1671. +                        </exclusion>
  1672. +                        <exclusion>
  1673. +                            <groupId>org.scalacheck</groupId>
  1674. +                            <artifactId>scalacheck_2.10</artifactId>
  1675. +                        </exclusion>
  1676. +                        <exclusion>
  1677. +                            <groupId>org.scala-lang</groupId>
  1678. +                            <artifactId>scala-library</artifactId>
  1679. +                        </exclusion>
  1680. +                        <exclusion>
  1681. +                            <groupId>org.scala-lang</groupId>
  1682. +                            <artifactId>scalap</artifactId>
  1683. +                        </exclusion>
  1684. +                        <exclusion>
  1685. +                            <groupId>org.scala-lang</groupId>
  1686. +                            <artifactId>scala-compiler</artifactId>
  1687. +                        </exclusion>
  1688. +                        <exclusion>
  1689. +                            <groupId>org.scala-lang</groupId>
  1690. +                            <artifactId>scala-actors</artifactId>
  1691. +                        </exclusion>
  1692. +                        <exclusion>
  1693. +                            <groupId>org.slf4j</groupId>
  1694. +                            <artifactId>slf4j-api</artifactId>
  1695. +                        </exclusion>
  1696. +            </exclusions>
  1697.         </dependency>
  1698.         <dependency>
  1699.             <groupId>ch.qos.logback</groupId>
  1700. @@ -51,6 +81,36 @@
  1701.             <artifactId>specs_2.10</artifactId>
  1702.             <version>1.6.9</version>
  1703.             <scope>test</scope>
  1704. +            <exclusions>
  1705. +                        <exclusion>
  1706. +                            <groupId>org.specs2</groupId>
  1707. +                            <artifactId>specs2_2.10</artifactId>
  1708. +                        </exclusion>
  1709. +                        <exclusion>
  1710. +                            <groupId>org.scalacheck</groupId>
  1711. +                            <artifactId>scalacheck_2.10</artifactId>
  1712. +                        </exclusion>
  1713. +                        <exclusion>
  1714. +                            <groupId>org.scala-lang</groupId>
  1715. +                            <artifactId>scala-library</artifactId>
  1716. +                        </exclusion>
  1717. +                        <exclusion>
  1718. +                            <groupId>org.scala-lang</groupId>
  1719. +                            <artifactId>scalap</artifactId>
  1720. +                        </exclusion>
  1721. +                        <exclusion>
  1722. +                            <groupId>org.scala-lang</groupId>
  1723. +                            <artifactId>scala-compiler</artifactId>
  1724. +                        </exclusion>
  1725. +                        <exclusion>
  1726. +                            <groupId>org.scala-lang</groupId>
  1727. +                            <artifactId>scala-actors</artifactId>
  1728. +                        </exclusion>
  1729. +                        <exclusion>
  1730. +                            <groupId>org.slf4j</groupId>
  1731. +                            <artifactId>slf4j-api</artifactId>
  1732. +                        </exclusion>
  1733. +            </exclusions>
  1734.         </dependency>
  1735.         <dependency>
  1736.             <groupId>org.mortbay.jetty</groupId>
  1737. @@ -167,24 +227,6 @@
  1738.                     <downloadSources>true</downloadSources>
  1739.                 </configuration>
  1740.             </plugin>
  1741. -           <plugin>
  1742. -               <groupId>org.apache.maven.plugins</groupId>
  1743. -               <artifactId>maven-eclipse-plugin</artifactId>
  1744. -               <version>2.7</version>
  1745. -               <configuration>
  1746. -                   <downloadSources>true</downloadSources>
  1747. -                   <additionalProjectnatures>
  1748. -                       <projectnature>ch.epfl.lamp.sdt.core.scalanature</projectnature>
  1749. -                   </additionalProjectnatures>
  1750. -                   <additionalBuildcommands>
  1751. -                       <buildcommand>ch.epfl.lamp.sdt.core.scalabuilder</buildcommand>
  1752. -                   </additionalBuildcommands>
  1753. -                   <classpathContainers>
  1754. -                       <classpathContainer>ch.epfl.lamp.sdt.launching.SCALA_CONTAINER</classpathContainer>
  1755. -                       <classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER</classpathContainer>
  1756. -                   </classpathContainers>
  1757. -               </configuration>
  1758. -           </plugin>
  1759.         </plugins>
  1760.     </build>
  1761.     <reporting>
  1762. Index: maven/org.friendularity.demo.repo/pom.xml
  1763. ===================================================================
  1764. --- maven/org.friendularity.demo.repo/pom.xml   (revision 577)
  1765. +++ maven/org.friendularity.demo.repo/pom.xml   (working copy)
  1766. @@ -6,7 +6,7 @@
  1767.     <parent>
  1768.         <groupId>org.friendularity</groupId>
  1769.         <artifactId>org.friendularity.modules.main</artifactId>
  1770. -       <version>1.0.0-SNAPSHOT</version>
  1771. +       <version>1.0.2-SNAPSHOT</version>
  1772.         <relativePath>../org.friendularity.modules.main/pom.xml</relativePath>
  1773.     </parent>  
  1774.    
  1775. @@ -34,38 +34,16 @@
  1776.             <version>1.4.0</version>
  1777.             <scope>provided</scope>
  1778.         </dependency>
  1779. -       <dependency>
  1780. -           <!-- This is a big honking hunk of code, but so far is working better than trying
  1781. -               to mix-and-match our own version of Jetty + PAX.
  1782. -           -->
  1783. -           <groupId>org.ops4j.pax.web</groupId>
  1784. -           <artifactId>pax-web-jetty-bundle</artifactId>
  1785. -           <version>3.0.2</version>
  1786.  
  1787. -       </dependency>
  1788.                <dependency>
  1789. -           <!--        http://team.ops4j.org/wiki/display/paxweb/WAR+Extender
  1790. -           "Once installed the war extender will watch over the bundles that get started / stopped.
  1791. -           Once your war bundle gets deployed and started, the war extender will parse your web.xml
  1792. -           and registers all elements with http service."
  1793. -           -->
  1794. -                  <groupId>org.ops4j.pax.web</groupId>
  1795. -           <artifactId>pax-web-extender-war</artifactId>
  1796. -           <version>3.0.2</version>
  1797. +          <!-- Our PAX-JETTY service -->
  1798. +            <groupId>org.appdapter</groupId>
  1799. +            <artifactId>ext.bundle.jetty_osgi</artifactId>
  1800. +            <version>${appdapter.version}</version>
  1801. +            <scope>runtime</scope>
  1802.                </dependency>
  1803.  
  1804. -       <dependency>
  1805. -           <!--  We do not use JSP technology, but apparently pax-web-jsp is needed, to resolve:
  1806. -               org.ops4j.pax.web.pax-web-jetty-bundle imports (package=org.eclipse.jdt.core.compiler)
  1807. -      -->
  1808. -           <groupId>org.ops4j.pax.web</groupId>
  1809. -           <artifactId>pax-web-jsp</artifactId>
  1810. -           <version>3.0.2</version>
  1811. -       </dependency>
  1812.  
  1813. -              
  1814. -
  1815. -
  1816.         <dependency>
  1817.             <!-- Our Lift-based webapp, which we expect PAX services above to find and launch to HTTP for us -->
  1818.             <groupId>org.cogchar</groupId>
  1819. @@ -154,176 +132,6 @@
  1820.                 </executions>
  1821.             </plugin>  
  1822.         </plugins>
  1823. -       <pluginManagement>
  1824. -           <plugins>
  1825. -               <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
  1826. -               <plugin>
  1827. -                   <groupId>org.eclipse.m2e</groupId>
  1828. -                   <artifactId>lifecycle-mapping</artifactId>
  1829. -                   <version>1.0.0</version>
  1830. -                   <configuration>
  1831. -                       <lifecycleMappingMetadata>
  1832. -                           <pluginExecutions>
  1833. -                               <pluginExecution>
  1834. -                                   <pluginExecutionFilter>
  1835. -                                       <groupId>
  1836. -                                           org.apache.maven.plugins
  1837. -                                       </groupId>
  1838. -                                       <artifactId>
  1839. -                                           maven-antrun-plugin
  1840. -                                       </artifactId>
  1841. -                                       <versionRange>
  1842. -                                           [1.3,)
  1843. -                                       </versionRange>
  1844. -                                       <goals>
  1845. -                                           <goal>run</goal>
  1846. -                                       </goals>
  1847. -                                   </pluginExecutionFilter>
  1848. -                                   <action>
  1849. -                                       <ignore></ignore>
  1850. -                                   </action>
  1851. -                               </pluginExecution>
  1852. -                           </pluginExecutions>
  1853. -                       </lifecycleMappingMetadata>
  1854. -                   </configuration>
  1855. -               </plugin>
  1856. -           </plugins>
  1857. -       </pluginManagement>
  1858.     </build>
  1859.  
  1860. -   <profiles>
  1861. -       <profile>
  1862. -           <id>build-for-felix</id>
  1863. -           <dependencies>
  1864. -               <dependency>
  1865. -                   <groupId>org.apache.felix</groupId>
  1866. -                   <artifactId>org.apache.felix.main</artifactId>
  1867. -                   <version>4.2.1</version>
  1868. -                   <scope>provided</scope>
  1869. -               </dependency>
  1870. -                <!-- To include a shell:
  1871. -                <dependency>
  1872. -                    <groupId>org.apache.felix</groupId>
  1873. -                    <artifactId>org.apache.felix.gogo.shell</artifactId>
  1874. -                    <version>0.6.1</version>
  1875. -                </dependency>
  1876. -                -->
  1877. -           </dependencies>
  1878. -           <build>
  1879. -               <plugins>
  1880. -                   <plugin>
  1881. -                       <groupId>org.apache.maven.plugins</groupId>
  1882. -                       <artifactId>maven-antrun-plugin</artifactId>
  1883. -                       <version>1.6</version>
  1884. -                       <executions>
  1885. -                           <execution>
  1886. -                               <id>compile</id>
  1887. -                               <phase>package</phase>
  1888. -                               <goals>
  1889. -                                   <goal>run</goal>
  1890. -                               </goals>
  1891. -                               <configuration>
  1892. -                                   <target>
  1893. -                                       <pathconvert property="plugins.jars" pathsep="${path.separator}">
  1894. -                                           <path refid="maven.runtime.classpath"/>
  1895. -                                           <map from="${project.build.directory}${file.separator}classes" to=""/>
  1896. -                                       </pathconvert>
  1897. -                                       <pathconvert pathsep=" " property="bundles">
  1898. -                                           <path path="${plugins.jars}"/>
  1899. -                                           <mapper>
  1900. -                                               <chainedmapper>
  1901. -                                                   <flattenmapper/>
  1902. -                                                   <globmapper from="*" to="file:modules/*" casesensitive="no"/>
  1903. -                                               </chainedmapper>
  1904. -                                           </mapper>
  1905. -                                       </pathconvert>
  1906. -                                       <propertyfile file="${project.build.directory}/config.properties">
  1907. -                                           <entry key="felix.auto.start" value="${bundles} file:modules/${project.build.finalName}.jar"/>
  1908. -                                           <entry key="org.osgi.framework.bootdelegation" value="*"/>
  1909. -                                       </propertyfile>
  1910. -                                       <copy file="${maven.dependency.org.apache.felix.org.apache.felix.main.jar.path}" tofile="${project.build.directory}/felix.jar"/>
  1911. -                                   </target>
  1912. -                               </configuration>
  1913. -                           </execution>
  1914. -                       </executions>
  1915. -                   </plugin>
  1916. -                   <plugin>
  1917. -                       <groupId>org.apache.maven.plugins</groupId>
  1918. -                       <artifactId>maven-assembly-plugin</artifactId>
  1919. -                       <version>2.2</version>
  1920. -                       <executions>
  1921. -                           <execution>
  1922. -                               <id>create-executable-jar</id>
  1923. -                               <phase>package</phase>
  1924. -                               <goals>
  1925. -                                   <goal>single</goal>
  1926. -                               </goals>
  1927. -                               <configuration>
  1928. -                                   <descriptors>
  1929. -                                       <descriptor>${basedir}/src/main/assembly/felix.xml</descriptor>
  1930. -                                   </descriptors>
  1931. -                                   <finalName>${project.build.finalName}</finalName>
  1932. -                               </configuration>
  1933. -                           </execution>
  1934. -                       </executions>
  1935. -                   </plugin>
  1936. -               </plugins>
  1937. -           </build>
  1938. -       </profile>
  1939. -       <profile>
  1940. -           <id>run-on-felix</id>
  1941. -           <dependencies>
  1942. -               <dependency>
  1943. -                   <groupId>org.apache.felix</groupId>
  1944. -                   <artifactId>org.apache.felix.main</artifactId>
  1945. -                   <version>4.2.1</version>
  1946. -                   <scope>provided</scope>
  1947. -               </dependency>
  1948. -                <!-- org.apache.felix:org.apache.felix.gogo.shell:0.6.1 useless from Maven since stdin is swallowed -->
  1949. -           </dependencies>
  1950. -           <build>
  1951. -               <plugins>
  1952. -                   <plugin>
  1953. -                       <groupId>org.apache.maven.plugins</groupId>
  1954. -                       <artifactId>maven-antrun-plugin</artifactId>
  1955. -                       <version>1.6</version>
  1956. -                       <configuration>
  1957. -                           <target>
  1958. -                               <property name="vm.args" value=""/>
  1959. -                               <pathconvert property="plugins.jars" pathsep="${path.separator}">
  1960. -                                   <path refid="maven.runtime.classpath"/>
  1961. -                                   <map from="${project.build.directory}${file.separator}classes" to=""/>
  1962. -                               </pathconvert>
  1963. -                               <makeurl property="urls" separator=" ">
  1964. -                                   <path path="${plugins.jars}"/>
  1965. -                                   <path location="${project.build.directory}/${project.build.finalName}.jar"/>
  1966. -                               </makeurl>
  1967. -                               <propertyfile file="${project.build.directory}/run.properties">
  1968. -                                   <entry key="felix.auto.start" value="${urls}"/>
  1969. -                                   <entry key="felix.auto.deploy.action" value="uninstall,install,update,start"/>
  1970. -                                   <entry key="org.osgi.framework.storage" value="${project.build.directory}${file.separator}felix-cache"/>
  1971. -                                   <entry key="org.osgi.framework.bootdelegation" value="*"/>
  1972. -                                   <!-- Allow sun.misc package to be used by LWJGL -->
  1973. -                                    <!-- org.w3c.dom.* are missing from default.properties in felix 4.2.1, they are present in 3.0.7 -->
  1974. -                                    <entry key="org.osgi.framework.system.packages.extra"
  1975. -                                           value="org.w3c.dom.css,
  1976. -                                                    org.w3c.dom.html,
  1977. -                                                    org.w3c.dom.stylesheets,
  1978. -                                                    org.w3c.dom.traversal,
  1979. -                                                    org.w3c.dom.ranges,
  1980. -                                                    org.w3c.dom.views,
  1981. -                                                    org.w3c.dom.xpath" />
  1982. -                               </propertyfile>
  1983. -                               <makeurl property="run.properties.url" file="${project.build.directory}/run.properties"/>
  1984. -                               <java fork="true" jar="${maven.dependency.org.apache.felix.org.apache.felix.main.jar.path}">
  1985. -                                   <sysproperty key="felix.config.properties" value="${run.properties.url}"/>
  1986. -                                   <jvmarg line="${vm.args}"/>
  1987. -                               </java>
  1988. -                           </target>
  1989. -                       </configuration>
  1990. -                   </plugin>
  1991. -               </plugins>
  1992. -           </build>
  1993. -       </profile>
  1994. -   </profiles>
  1995.  </project>
  1996. Index: maven/org.friendularity.demo.spec.connection/pom.xml
  1997. ===================================================================
  1998. --- maven/org.friendularity.demo.spec.connection/pom.xml    (revision 577)
  1999. +++ maven/org.friendularity.demo.spec.connection/pom.xml    (working copy)
  2000. @@ -23,12 +23,12 @@
  2001.          <dependency>
  2002.              <groupId>org.appdapter</groupId>
  2003.              <artifactId>ext.bundle.apache_qpid_010</artifactId>
  2004. -            <version>1.0.5</version>
  2005. +            <version>${appdapter.msg.version}</version>
  2006.          </dependency>
  2007.          <dependency>
  2008.              <groupId>org.osgi</groupId>
  2009.              <artifactId>org.osgi.core</artifactId>
  2010. -            <version>4.3.0</version>
  2011. +            <version>${osgi.core.version}</version>
  2012.              <scope>provided</scope>
  2013.          </dependency>
  2014.          <dependency>
  2015. @@ -50,16 +50,34 @@
  2016.              <groupId>org.jflux</groupId>
  2017.              <artifactId>org.jflux.api.core</artifactId>
  2018.              <version>${jflux.version}</version>
  2019. +            <exclusions>
  2020. +              <exclusion>
  2021. +                <artifactId>servlet-api</artifactId>
  2022. +                <groupId>org.mortbay.jetty</groupId>
  2023. +              </exclusion>
  2024. +            </exclusions>
  2025.          </dependency>
  2026.          <dependency>
  2027.              <groupId>org.jflux</groupId>
  2028.              <artifactId>org.jflux.api.services</artifactId>
  2029.              <version>${jflux.version}</version>
  2030. +            <exclusions>
  2031. +              <exclusion>
  2032. +                <artifactId>servlet-api</artifactId>
  2033. +                <groupId>org.mortbay.jetty</groupId>
  2034. +              </exclusion>
  2035. +            </exclusions>
  2036.          </dependency>
  2037.          <dependency>
  2038.             <groupId>org.jflux</groupId>
  2039.             <artifactId>org.jflux.impl.registry.osgi</artifactId>
  2040.             <version>${jflux.version}</version>
  2041. +            <exclusions>
  2042. +              <exclusion>
  2043. +                <artifactId>servlet-api</artifactId>
  2044. +                <groupId>org.mortbay.jetty</groupId>
  2045. +              </exclusion>
  2046. +            </exclusions>
  2047.         </dependency>
  2048.      </dependencies>
  2049.  
  2050. @@ -80,129 +98,4 @@
  2051.          </plugins>
  2052.      </build>
  2053.  
  2054. -    <profiles>
  2055. -        <profile>
  2056. -            <id>build-for-felix</id>
  2057. -            <dependencies>
  2058. -                <dependency>
  2059. -                    <groupId>org.apache.felix</groupId>
  2060. -                    <artifactId>org.apache.felix.main</artifactId>
  2061. -                    <version>4.0.3</version>
  2062. -                    <scope>provided</scope>
  2063. -                </dependency>
  2064. -                <!-- To include a shell:
  2065. -                <dependency>
  2066. -                    <groupId>org.apache.felix</groupId>
  2067. -                    <artifactId>org.apache.felix.gogo.shell</artifactId>
  2068. -                    <version>0.10.0</version>
  2069. -                </dependency>
  2070. -                -->
  2071. -            </dependencies>
  2072. -            <build>
  2073. -                <plugins>
  2074. -                    <plugin>
  2075. -                        <groupId>org.apache.maven.plugins</groupId>
  2076. -                        <artifactId>maven-antrun-plugin</artifactId>
  2077. -                        <version>1.7</version>
  2078. -                        <executions>
  2079. -                            <execution>
  2080. -                                <id>compile</id>
  2081. -                                <phase>package</phase>
  2082. -                                <goals>
  2083. -                                    <goal>run</goal>
  2084. -                                </goals>
  2085. -                                <configuration>
  2086. -                                    <target>
  2087. -                                        <pathconvert property="plugins.jars" pathsep="${path.separator}">
  2088. -                                            <path refid="maven.runtime.classpath" />
  2089. -                                            <map from="${project.build.directory}${file.separator}classes" to="" />
  2090. -                                        </pathconvert>
  2091. -                                        <pathconvert pathsep=" " property="bundles">
  2092. -                                            <path path="${plugins.jars}" />
  2093. -                                            <mapper>
  2094. -                                                <chainedmapper>
  2095. -                                                    <flattenmapper />
  2096. -                                                    <globmapper from="*" to="file:modules/*" casesensitive="no" />
  2097. -                                                </chainedmapper>
  2098. -                                            </mapper>
  2099. -                                        </pathconvert>
  2100. -                                        <propertyfile file="${project.build.directory}/config.properties">
  2101. -                                            <entry key="felix.auto.start" value="${bundles} file:modules/${project.build.finalName}.jar" />
  2102. -                                            <entry key="org.osgi.framework.bootdelegation" value="*" />
  2103. -                                        </propertyfile>
  2104. -                                        <copy file="${maven.dependency.org.apache.felix.org.apache.felix.main.jar.path}" tofile="${project.build.directory}/felix.jar" />
  2105. -                                    </target>
  2106. -                                </configuration>
  2107. -                            </execution>
  2108. -                        </executions>
  2109. -                    </plugin>
  2110. -                    <plugin>
  2111. -                        <groupId>org.apache.maven.plugins</groupId>
  2112. -                        <artifactId>maven-assembly-plugin</artifactId>
  2113. -                        <version>2.3</version>
  2114. -                        <executions>
  2115. -                            <execution>
  2116. -                                <id>create-executable-jar</id>
  2117. -                                <phase>package</phase>
  2118. -                                <goals>
  2119. -                                    <goal>single</goal>
  2120. -                                </goals>
  2121. -                                <configuration>
  2122. -                                    <descriptors>
  2123. -                                        <descriptor>${basedir}/src/main/assembly/felix.xml</descriptor>
  2124. -                                    </descriptors>
  2125. -                                    <finalName>${project.build.finalName}</finalName>
  2126. -                                </configuration>
  2127. -                            </execution>
  2128. -                        </executions>
  2129. -                    </plugin>
  2130. -                </plugins>
  2131. -            </build>
  2132. -        </profile>
  2133. -        <profile>
  2134. -            <id>run-on-felix</id>
  2135. -            <dependencies>
  2136. -                <dependency>
  2137. -                    <groupId>org.apache.felix</groupId>
  2138. -                    <artifactId>org.apache.felix.main</artifactId>
  2139. -                    <version>4.0.3</version>
  2140. -                    <scope>provided</scope>
  2141. -                </dependency>
  2142. -                <!-- org.apache.felix:org.apache.felix.gogo.shell:0.6.1 useless from Maven since stdin is swallowed -->
  2143. -            </dependencies>
  2144. -            <build>
  2145. -                <plugins>
  2146. -                    <plugin>
  2147. -                        <groupId>org.apache.maven.plugins</groupId>
  2148. -                        <artifactId>maven-antrun-plugin</artifactId>
  2149. -                        <version>1.7</version>
  2150. -                        <configuration>
  2151. -                            <target>
  2152. -                                <property name="vm.args" value="" />
  2153. -                                <pathconvert property="plugins.jars" pathsep="${path.separator}">
  2154. -                                    <path refid="maven.runtime.classpath" />
  2155. -                                    <map from="${project.build.directory}${file.separator}classes" to="" />
  2156. -                                </pathconvert>
  2157. -                                <makeurl property="urls" separator=" ">
  2158. -                                    <path path="${plugins.jars}" />
  2159. -                                    <path location="${project.build.directory}/${project.build.finalName}.jar" />
  2160. -                                </makeurl>
  2161. -                                <propertyfile file="${project.build.directory}/run.properties">
  2162. -                                    <entry key="felix.auto.start" value="${urls}" />
  2163. -                                    <entry key="felix.auto.deploy.action" value="uninstall,install,update,start" />
  2164. -                                    <entry key="org.osgi.framework.storage" value="${project.build.directory}${file.separator}felix-cache" />
  2165. -                                    <entry key="org.osgi.framework.bootdelegation" value="*" />
  2166. -                                </propertyfile>
  2167. -                                <makeurl property="run.properties.url" file="${project.build.directory}/run.properties" />
  2168. -                                <java fork="true" jar="${maven.dependency.org.apache.felix.org.apache.felix.main.jar.path}">
  2169. -                                    <sysproperty key="felix.config.properties" value="${run.properties.url}" />
  2170. -                                    <jvmarg line="${vm.args}" />
  2171. -                                </java>
  2172. -                            </target>
  2173. -                        </configuration>
  2174. -                    </plugin>
  2175. -                </plugins>
  2176. -            </build>
  2177. -        </profile>
  2178. -    </profiles>
  2179. -</project>
  2180. + </project>
  2181. Index: maven/org.friendularity.gui.bootstrap/pom.xml
  2182. ===================================================================
  2183. --- maven/org.friendularity.gui.bootstrap/pom.xml   (revision 577)
  2184. +++ maven/org.friendularity.gui.bootstrap/pom.xml   (working copy)
  2185. @@ -21,7 +21,7 @@
  2186.          <dependency>
  2187.              <groupId>org.osgi</groupId>
  2188.              <artifactId>org.osgi.core</artifactId>
  2189. -            <version>4.3.0</version>
  2190. +            <version>${osgi.core.version}</version>
  2191.              <scope>provided</scope>
  2192.          </dependency>
  2193.          <dependency>
  2194. @@ -64,129 +64,4 @@
  2195.          </plugins>
  2196.      </build>
  2197.  
  2198. -    <profiles>
  2199. -        <profile>
  2200. -            <id>build-for-felix</id>
  2201. -            <dependencies>
  2202. -                <dependency>
  2203. -                    <groupId>org.apache.felix</groupId>
  2204. -                    <artifactId>org.apache.felix.main</artifactId>
  2205. -                    <version>4.0.3</version>
  2206. -                    <scope>provided</scope>
  2207. -                </dependency>
  2208. -                <!-- To include a shell:
  2209. -                <dependency>
  2210. -                    <groupId>org.apache.felix</groupId>
  2211. -                    <artifactId>org.apache.felix.gogo.shell</artifactId>
  2212. -                    <version>0.10.0</version>
  2213. -                </dependency>
  2214. -                -->
  2215. -            </dependencies>
  2216. -            <build>
  2217. -                <plugins>
  2218. -                    <plugin>
  2219. -                        <groupId>org.apache.maven.plugins</groupId>
  2220. -                        <artifactId>maven-antrun-plugin</artifactId>
  2221. -                        <version>1.7</version>
  2222. -                        <executions>
  2223. -                            <execution>
  2224. -                                <id>compile</id>
  2225. -                                <phase>package</phase>
  2226. -                                <goals>
  2227. -                                    <goal>run</goal>
  2228. -                                </goals>
  2229. -                                <configuration>
  2230. -                                    <target>
  2231. -                                        <pathconvert property="plugins.jars" pathsep="${path.separator}">
  2232. -                                            <path refid="maven.runtime.classpath"/>
  2233. -                                            <map from="${project.build.directory}${file.separator}classes" to=""/>
  2234. -                                        </pathconvert>
  2235. -                                        <pathconvert pathsep=" " property="bundles">
  2236. -                                            <path path="${plugins.jars}"/>
  2237. -                                            <mapper>
  2238. -                                                <chainedmapper>
  2239. -                                                    <flattenmapper/>
  2240. -                                                    <globmapper from="*" to="file:modules/*" casesensitive="no"/>
  2241. -                                                </chainedmapper>
  2242. -                                            </mapper>
  2243. -                                        </pathconvert>
  2244. -                                        <propertyfile file="${project.build.directory}/config.properties">
  2245. -                                            <entry key="felix.auto.start" value="${bundles} file:modules/${project.build.finalName}.jar"/>
  2246. -                                            <entry key="org.osgi.framework.bootdelegation" value="*"/>
  2247. -                                        </propertyfile>
  2248. -                                        <copy file="${maven.dependency.org.apache.felix.org.apache.felix.main.jar.path}" tofile="${project.build.directory}/felix.jar"/>
  2249. -                                    </target>
  2250. -                                </configuration>
  2251. -                            </execution>
  2252. -                        </executions>
  2253. -                    </plugin>
  2254. -                    <plugin>
  2255. -                        <groupId>org.apache.maven.plugins</groupId>
  2256. -                        <artifactId>maven-assembly-plugin</artifactId>
  2257. -                        <version>2.3</version>
  2258. -                        <executions>
  2259. -                            <execution>
  2260. -                                <id>create-executable-jar</id>
  2261. -                                <phase>package</phase>
  2262. -                                <goals>
  2263. -                                    <goal>single</goal>
  2264. -                                </goals>
  2265. -                                <configuration>
  2266. -                                    <descriptors>
  2267. -                                        <descriptor>${basedir}/src/main/assembly/felix.xml</descriptor>
  2268. -                                    </descriptors>
  2269. -                                    <finalName>${project.build.finalName}</finalName>
  2270. -                                </configuration>
  2271. -                            </execution>
  2272. -                        </executions>
  2273. -                    </plugin>
  2274. -                </plugins>
  2275. -            </build>
  2276. -        </profile>
  2277. -        <profile>
  2278. -            <id>run-on-felix</id>
  2279. -            <dependencies>
  2280. -                <dependency>
  2281. -                    <groupId>org.apache.felix</groupId>
  2282. -                    <artifactId>org.apache.felix.main</artifactId>
  2283. -                    <version>4.0.3</version>
  2284. -                    <scope>provided</scope>
  2285. -                </dependency>
  2286. -                <!-- org.apache.felix:org.apache.felix.gogo.shell:0.6.1 useless from Maven since stdin is swallowed -->
  2287. -            </dependencies>
  2288. -            <build>
  2289. -                <plugins>
  2290. -                    <plugin>
  2291. -                        <groupId>org.apache.maven.plugins</groupId>
  2292. -                        <artifactId>maven-antrun-plugin</artifactId>
  2293. -                        <version>1.7</version>
  2294. -                        <configuration>
  2295. -                            <target>
  2296. -                                <property name="vm.args" value=""/>
  2297. -                                <pathconvert property="plugins.jars" pathsep="${path.separator}">
  2298. -                                    <path refid="maven.runtime.classpath"/>
  2299. -                                    <map from="${project.build.directory}${file.separator}classes" to=""/>
  2300. -                                </pathconvert>
  2301. -                                <makeurl property="urls" separator=" ">
  2302. -                                    <path path="${plugins.jars}"/>
  2303. -                                    <path location="${project.build.directory}/${project.build.finalName}.jar"/>
  2304. -                                </makeurl>
  2305. -                                <propertyfile file="${project.build.directory}/run.properties">
  2306. -                                    <entry key="felix.auto.start" value="${urls}"/>
  2307. -                                    <entry key="felix.auto.deploy.action" value="uninstall,install,update,start"/>
  2308. -                                    <entry key="org.osgi.framework.storage" value="${project.build.directory}${file.separator}felix-cache"/>
  2309. -                                    <entry key="org.osgi.framework.bootdelegation" value="*"/>
  2310. -                                </propertyfile>
  2311. -                                <makeurl property="run.properties.url" file="${project.build.directory}/run.properties"/>
  2312. -                                <java fork="true" jar="${maven.dependency.org.apache.felix.org.apache.felix.main.jar.path}">
  2313. -                                    <sysproperty key="felix.config.properties" value="${run.properties.url}"/>
  2314. -                                    <jvmarg line="${vm.args}"/>
  2315. -                                </java>
  2316. -                            </target>
  2317. -                        </configuration>
  2318. -                    </plugin>
  2319. -                </plugins>
  2320. -            </build>
  2321. -        </profile>
  2322. -    </profiles>
  2323.  </project>
  2324. Index: maven/org.friendularity.model.test/pom.xml
  2325. ===================================================================
  2326. --- maven/org.friendularity.model.test/pom.xml  (revision 577)
  2327. +++ maven/org.friendularity.model.test/pom.xml  (working copy)
  2328. @@ -29,7 +29,7 @@
  2329.     <dependency>
  2330.         <groupId>org.cogchar</groupId>
  2331.         <artifactId>ext.bundle.opengl.jmonkey</artifactId>
  2332. -       <version>1.0.4</version>
  2333. +       <version>${cogchar.version}</version>
  2334.     </dependency>
  2335.     <dependency>
  2336.         <!-- This dep is used in addition to ext.bundle, to help NB. -->
  2337. Index: maven/org.friendularity.modules.main/pom.xml
  2338. ===================================================================
  2339. --- maven/org.friendularity.modules.main/pom.xml    (revision 577)
  2340. +++ maven/org.friendularity.modules.main/pom.xml    (working copy)
  2341. @@ -13,7 +13,7 @@
  2342.     <packaging>pom</packaging>
  2343.     <name>${project.artifactId} - all modules</name>
  2344.     <description>All libraries and OSGi bundles</description>
  2345. -  
  2346. +
  2347.     <repositories>
  2348.        
  2349.         <repository>
  2350. @@ -31,7 +31,7 @@
  2351.     </repositories>
  2352.    
  2353.     <modules>
  2354. -       <module>../org.friendularity.bundle.demo.ccrk</module>
  2355. +       <module>../org.friendularity.bundle.demo.ccrk</module>
  2356.         <module>../org.friendularity.bundle.demo.convo.dictation</module>
  2357.         <module>../org.friendularity.bundle.demo.convo.response</module>
  2358.         <module>../org.friendularity.bundle.demo.liftoff</module>
  2359. @@ -50,11 +50,12 @@
  2360.          <module>../org.friendularity.bundle.demoserv.semrepo</module>
  2361.          <module>../org.friendularity.bundle.webapp.semrepo</module>
  2362.  
  2363. +       <module>../org.friendularity.bundle.demo.gmteach</module>
  2364. +
  2365.         <module>../org.friendularity.bundle.gaze</module>
  2366.  
  2367.         <module>../org.friendularity.demo.egosphere</module>
  2368.  
  2369. -
  2370.         <module>../org.friendularity.demo.jme3.maven</module>
  2371.  
  2372.  <!--       <module>../org.friendularity.demo.weber</module>-->
  2373. @@ -90,7 +91,6 @@
  2374.     </properties>  
  2375.     -->
  2376.     <build>
  2377. -       <pluginManagement>
  2378.             <plugins>
  2379.                 <plugin>
  2380.                     <groupId>org.apache.maven.plugins</groupId>
  2381. @@ -118,13 +118,48 @@
  2382.                         <skipTests>true</skipTests>
  2383.                     </configuration>
  2384.                 </plugin>              
  2385. +               <plugin>
  2386. +                   <groupId>org.apache.maven.plugins</groupId>
  2387. +                   <artifactId>maven-release-plugin</artifactId>
  2388. +                   <configuration>
  2389. +                       <autoVersionSubmodules>true</autoVersionSubmodules>
  2390. +                       <!-- New in plugin version 2.2, but does not work correctly yet.
  2391. +                       See:   https://jira.codehaus.org/browse/MRELEASE-695
  2392. +                       <tagNameFormat>v@{project.version}</tagNameFormat>
  2393. +                        -->
  2394. +                   </configuration>
  2395. +               </plugin>
  2396.  
  2397. +               <plugin>
  2398. +                   <groupId>org.scala-tools</groupId>
  2399. +                   <artifactId>maven-scala-plugin</artifactId>
  2400. +                   <version>2.15.2</version>
  2401. +                   <configuration>
  2402. +       <!-- On Frogbait this option drops Scala proj build time about 20% -->
  2403. +                       <jvmArgs>
  2404. +                           <jvmArg>-XX:+TieredCompilation</jvmArg>
  2405. +                       </jvmArgs>
  2406. +                       <displayCmd>true</displayCmd>  
  2407. +                           <!-- Compile ONLY the Scala code.  The Java code is compiled by a previous goal.
  2408. +                               This works OK as long as we don't refer to Scala classes from Java.
  2409. +                              
  2410. +                               Without this instruction, the Scala compiler is unable to handle our
  2411. +                               Tao/Zen coreferent types.   Don't know why these types are OK if
  2412. +                               Java is compiled before Scala but not if everything is compiled together.
  2413. +                               Will return to this issue later.
  2414. +                           -->                                                
  2415. +                       <sendJavaToScalac>false</sendJavaToScalac>     
  2416. +                       <configuration>
  2417. +                           <args>         
  2418. +                               <arg>-make:transitive</arg>
  2419. +                               <arg>-dependencyfile</arg>
  2420. +                               <arg>${project.build.directory}/.scala_dependencies</arg>
  2421. +                           </args>
  2422. +                       </configuration>                       
  2423. +                   </configuration>
  2424. +               </plugin>
  2425.  
  2426.             </plugins>
  2427. -       </pluginManagement>
  2428. -       <plugins>
  2429. -
  2430. -       </plugins>
  2431.     </build>
  2432.     <profiles>
  2433.         <profile>
  2434. @@ -214,7 +249,18 @@
  2435.                     <version>4.2.1</version>
  2436.                     <scope>provided</scope>
  2437.                 </dependency>
  2438. -                <!-- org.apache.felix:org.apache.felix.gogo.shell:0.6.1 useless from Maven since stdin is swallowed -->
  2439. +               <dependency>
  2440. +                   <groupId>org.slf4j</groupId>
  2441. +                   <artifactId>slf4j-api</artifactId>
  2442. +                   <version>1.7.5</version>
  2443. +               </dependency>
  2444. +               <dependency>
  2445. +                   <groupId>org.slf4j</groupId>
  2446. +                   <artifactId>slf4j-log4j12</artifactId>
  2447. +                   <version>1.7.5</version>
  2448. +               </dependency>
  2449. +
  2450. +        <!-- org.apache.felix:org.apache.felix.gogo.shell:0.6.1 useless from Maven since stdin is swallowed -->
  2451.             </dependencies>
  2452.             <build>
  2453.                 <plugins>
  2454. Index: maven/org.friendularity.spec.connection/pom.xml
  2455. ===================================================================
  2456. --- maven/org.friendularity.spec.connection/pom.xml (revision 577)
  2457. +++ maven/org.friendularity.spec.connection/pom.xml (working copy)
  2458. @@ -27,7 +27,7 @@
  2459.          <dependency>
  2460.              <groupId>org.osgi</groupId>
  2461.              <artifactId>org.osgi.core</artifactId>
  2462. -            <version>4.3.0</version>
  2463. +            <version>${osgi.core.version}</version>
  2464.              <scope>provided</scope>
  2465.          </dependency>
  2466.          <dependency>
  2467. @@ -64,11 +64,23 @@
  2468.              <groupId>org.jflux</groupId>
  2469.              <artifactId>org.jflux.api.services</artifactId>
  2470.              <version>${jflux.version}</version>
  2471. +            <exclusions>
  2472. +              <exclusion>
  2473. +                <artifactId>servlet-api</artifactId>
  2474. +                <groupId>org.mortbay.jetty</groupId>
  2475. +              </exclusion>
  2476. +            </exclusions>
  2477.          </dependency>
  2478.          <dependency>
  2479.              <groupId>org.jflux</groupId>
  2480.              <artifactId>org.jflux.impl.registry.osgi</artifactId>
  2481.              <version>${jflux.version}</version>
  2482. +            <exclusions>
  2483. +              <exclusion>
  2484. +                <artifactId>servlet-api</artifactId>
  2485. +                <groupId>org.mortbay.jetty</groupId>
  2486. +              </exclusion>
  2487. +            </exclusions>
  2488.          </dependency>
  2489.          <dependency>
  2490.              <groupId>org.robokind</groupId>
  2491. @@ -113,130 +125,4 @@
  2492.              </plugin>
  2493.          </plugins>
  2494.      </build>
  2495. -
  2496. -    <profiles>
  2497. -        <profile>
  2498. -            <id>build-for-felix</id>
  2499. -            <dependencies>
  2500. -                <dependency>
  2501. -                    <groupId>org.apache.felix</groupId>
  2502. -                    <artifactId>org.apache.felix.main</artifactId>
  2503. -                    <version>4.0.3</version>
  2504. -                    <scope>provided</scope>
  2505. -                </dependency>
  2506. -                <!-- To include a shell:
  2507. -                <dependency>
  2508. -                    <groupId>org.apache.felix</groupId>
  2509. -                    <artifactId>org.apache.felix.gogo.shell</artifactId>
  2510. -                    <version>0.10.0</version>
  2511. -                </dependency>
  2512. -                -->
  2513. -            </dependencies>
  2514. -            <build>
  2515. -                <plugins>
  2516. -                    <plugin>
  2517. -                        <groupId>org.apache.maven.plugins</groupId>
  2518. -                        <artifactId>maven-antrun-plugin</artifactId>
  2519. -                        <version>1.7</version>
  2520. -                        <executions>
  2521. -                            <execution>
  2522. -                                <id>compile</id>
  2523. -                                <phase>package</phase>
  2524. -                                <goals>
  2525. -                                    <goal>run</goal>
  2526. -                                </goals>
  2527. -                                <configuration>
  2528. -                                    <target>
  2529. -                                        <pathconvert property="plugins.jars" pathsep="${path.separator}">
  2530. -                                            <path refid="maven.runtime.classpath" />
  2531. -                                            <map from="${project.build.directory}${file.separator}classes" to="" />
  2532. -                                        </pathconvert>
  2533. -                                        <pathconvert pathsep=" " property="bundles">
  2534. -                                            <path path="${plugins.jars}" />
  2535. -                                            <mapper>
  2536. -                                                <chainedmapper>
  2537. -                                                    <flattenmapper />
  2538. -                                                    <globmapper from="*" to="file:modules/*" casesensitive="no" />
  2539. -                                                </chainedmapper>
  2540. -                                            </mapper>
  2541. -                                        </pathconvert>
  2542. -                                        <propertyfile file="${project.build.directory}/config.properties">
  2543. -                                            <entry key="felix.auto.start" value="${bundles} file:modules/${project.build.finalName}.jar" />
  2544. -                                            <entry key="org.osgi.framework.bootdelegation" value="*" />
  2545. -                                        </propertyfile>
  2546. -                                        <copy file="${maven.dependency.org.apache.felix.org.apache.felix.main.jar.path}" tofile="${project.build.directory}/felix.jar" />
  2547. -                                    </target>
  2548. -                                </configuration>
  2549. -                            </execution>
  2550. -                        </executions>
  2551. -                    </plugin>
  2552. -                    <plugin>
  2553. -                        <groupId>org.apache.maven.plugins</groupId>
  2554. -                        <artifactId>maven-assembly-plugin</artifactId>
  2555. -                        <version>2.3</version>
  2556. -                        <executions>
  2557. -                            <execution>
  2558. -                                <id>create-executable-jar</id>
  2559. -                                <phase>package</phase>
  2560. -                                <goals>
  2561. -                                    <goal>single</goal>
  2562. -                                </goals>
  2563. -                                <configuration>
  2564. -                                    <descriptors>
  2565. -                                        <descriptor>${basedir}/src/main/assembly/felix.xml</descriptor>
  2566. -                                    </descriptors>
  2567. -                                    <finalName>${project.build.finalName}</finalName>
  2568. -                                </configuration>
  2569. -                            </execution>
  2570. -                        </executions>
  2571. -                    </plugin>
  2572. -                </plugins>
  2573. -            </build>
  2574. -        </profile>
  2575. -        <profile>
  2576. -            <id>run-on-felix</id>
  2577. -            <dependencies>
  2578. -                <dependency>
  2579. -                    <groupId>org.apache.felix</groupId>
  2580. -                    <artifactId>org.apache.felix.main</artifactId>
  2581. -                    <version>4.0.3</version>
  2582. -                    <scope>provided</scope>
  2583. -                </dependency>
  2584. -                <!-- org.apache.felix:org.apache.felix.gogo.shell:0.6.1 useless from Maven since stdin is swallowed -->
  2585. -            </dependencies>
  2586. -            <build>
  2587. -                <plugins>
  2588. -                    <plugin>
  2589. -                        <groupId>org.apache.maven.plugins</groupId>
  2590. -                        <artifactId>maven-antrun-plugin</artifactId>
  2591. -                        <version>1.7</version>
  2592. -                        <configuration>
  2593. -                            <target>
  2594. -                                <property name="vm.args" value="" />
  2595. -                                <pathconvert property="plugins.jars" pathsep="${path.separator}">
  2596. -                                    <path refid="maven.runtime.classpath" />
  2597. -                                    <map from="${project.build.directory}${file.separator}classes" to="" />
  2598. -                                </pathconvert>
  2599. -                                <makeurl property="urls" separator=" ">
  2600. -                                    <path path="${plugins.jars}" />
  2601. -                                    <path location="${project.build.directory}/${project.build.finalName}.jar" />
  2602. -                                </makeurl>
  2603. -                                <propertyfile file="${project.build.directory}/run.properties">
  2604. -                                    <entry key="felix.auto.start" value="${urls}" />
  2605. -                                    <entry key="felix.auto.deploy.action" value="uninstall,install,update,start" />
  2606. -                                    <entry key="org.osgi.framework.storage" value="${project.build.directory}${file.separator}felix-cache" />
  2607. -                                    <entry key="org.osgi.framework.bootdelegation" value="*" />
  2608. -                                </propertyfile>
  2609. -                                <makeurl property="run.properties.url" file="${project.build.directory}/run.properties" />
  2610. -                                <java fork="true" jar="${maven.dependency.org.apache.felix.org.apache.felix.main.jar.path}">
  2611. -                                    <sysproperty key="felix.config.properties" value="${run.properties.url}" />
  2612. -                                    <jvmarg line="${vm.args}" />
  2613. -                                </java>
  2614. -                            </target>
  2615. -                        </configuration>
  2616. -                    </plugin>
  2617. -                </plugins>
  2618. -            </build>
  2619. -        </profile>
  2620. -    </profiles>
  2621.  </project>
  2622. Index: pom.xml
  2623. ===================================================================
  2624. --- pom.xml (revision 577)
  2625. +++ pom.xml (working copy)
  2626. @@ -54,6 +54,8 @@
  2627.         <cogchar.version>1.0.8.0-SNAPSHOT</cogchar.version>
  2628.         <!--  o.f.b.demo.repo   has a direct dependence on Appdapter. -->
  2629.         <appdapter.version>1.1.4-SNAPSHOT</appdapter.version>
  2630. +       <appdapter.msg.version>1.0.5</appdapter.msg.version>
  2631. +
  2632.         <!--  We are directly using the "headless" part of Robokind-core. -->
  2633.         <robokind.version>0.9.4-SNAPSHOT</robokind.version>
  2634.  
  2635. @@ -66,6 +68,7 @@
  2636.         <!--  JME3 is used directly in o.f.demo.jme3.maven -->
  2637.         <jmonkey.version>3.0.0.20121220-SNAPSHOT</jmonkey.version>     
  2638.        
  2639. +       <osgi.core.version>4.2.0</osgi.core.version>
  2640.         <scala.version>2.10.2</scala.version>
  2641.         <netbeans.version>RELEASE721</netbeans.version>
  2642.                
  2643. @@ -110,7 +113,7 @@
  2644.                         <tagNameFormat>v@{project.version}</tagNameFormat>
  2645.                          -->
  2646.                     </configuration>
  2647. -               </plugin>
  2648. +               </plugin>      
  2649.                 <plugin>
  2650.                     <groupId>org.scala-tools</groupId>
  2651.                     <artifactId>maven-scala-plugin</artifactId>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement