Hi Andrei, Help with maven would be good. The version I am using (and is checked into the "wtk/lib" directory) is a pre-release snapshot of 2.1 (version "2.1-SNAPSHOT"). Don't know if that will work or not - I'm building Commons locally myself. Attached is my attempt at adding the dependency in the "pom.xml", but I'm not even getting to first base trying to build with maven myself (i.e., it says there is nothing to do even after doing "mvn clean", so I don't get the build failures) .... So, any help you could give would be appreciated.
Thanks, ~Roger Whitcomb From: Andrei Pozolotin [mailto:andrei.pozolo...@gmail.com] Sent: Tuesday, May 28, 2013 9:52 AM To: dev@pivot.apache.org Cc: Roger L. Whitcomb; David Ray Subject: Re: New dependency breaks maven build Roger: Thank you for clarification. Let me know if you need help with maven. Also, current trunk does not compile with public vfs 2.0 http://search.maven.org/#artifactdetails%7Corg.apache.commons%7Ccommons- vfs2%7C2.0%7Cjar <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-vfs2</artifactId> <version>2.0</version> </dependency> which dependency are you using? Andrei -------- Original Message -------- Subject: Re: New dependency breaks maven build From: Roger L. Whitcomb <roger.whitc...@actian.com> <mailto:roger.whitc...@actian.com> To: dev@pivot.apache.org Cc: "David Ray" <david....@barchart.com> <mailto:david....@barchart.com> Date: Tue 28 May 2013 11:29:09 AM CDT My apologies -- I build using Ant, so I didn't check the pom.xml. I will fix this. I have added (the beginnings of) two new components that duplicate the FileBrowser and FileBrowserSheet, but using the Commons VFS (Virtual File System) so you can browse remote systems, inside .zip and .jar files, etc. At build time (in the "trunk" code) you will need this .jar in order to build, and if you use the new components you will also need the .jar file. But, if you don't use the new components you won't need the .jar file at runtime. At the moment, the code in the "branches/2.0.x" branch is identical to "trunk" (actually better, because it includes a bug fix that hasn't been migrated to "trunk" yet) (except that "trunk" has these new components), so if you desperately need to build, I would just use this branch instead until I get the Maven build working. HTH, ~Roger Whitcomb -----Original Message----- From: Andrei Pozolotin [mailto:andrei.pozolo...@gmail.com] Sent: Tuesday, May 28, 2013 8:46 AM To: dev@pivot.apache.org Cc: David Ray Subject: Re: New dependency breaks maven build good point. it used here: http://svn.apache.org/repos/asf/pivot/trunk/core/src/org/apache/pivot/io /FileObjectList.java I am curious if it is really needed? -------- Original Message -------- Subject: New dependency breaks maven build From: David Ray <david....@barchart.com> <mailto:david....@barchart.com> To: dev@pivot.apache.org Date: Tue 28 May 2013 10:39:35 AM CDT Hi, There was a dependency added to pivot-core ( org.apache.commons.vfs2 ) that breaks the maven build I think the dependency needs to be added to the pom. thanks, David
<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <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"> <modelVersion>4.0.0</modelVersion> <groupId>org.apache.pivot</groupId> <artifactId>pivot</artifactId> <packaging>pom</packaging> <version>2.1.0</version> <organization> <name>Apache Software Foundation</name> <url>http://www.apache.org</url> </organization> <name>Apache Pivot</name> <url>http://pivot.apache.org</url> <description>Pivot is a platform for building rich internet applications in Java.</description> <modules> <module>core</module> <module>web</module> <module>wtk</module> <module>wtk-terra</module> <module>charts</module> </modules> <licenses> <license> <name>Apache License 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0</url> </license> </licenses> <dependencyManagement> <dependencies> <!-- artifacts of project, versions managed by release-plugin --> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-vfs2</artifactId> <version>2.1-SNAPSHOT</version> </dependency> </dependencies> </dependencyManagement> </project>