Oh and that was in the assembly part, eg at the end Or if you do a
cd apache-camel mvn clean install then it should build the assembly, and thus you should be able to trigger this issue as well. On Thu, Jun 7, 2012 at 5:53 AM, Claus Ibsen <claus.ib...@gmail.com> wrote: > Hi > > This breaks the build as the JAR cannot be downloaded. > I just did a > > mvn clean install -Dtest=false > > from the root of the project dir. > > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-remote-resources-plugin:1.3:process > (default) on project apache-camel: Failed to resolve dependencies for > one or more projects in the reactor. Reason: Missing: > [ERROR] ---------- > [ERROR] 1) org.quickfixj:quickfixj-all:jar:1.5.2-bd > [ERROR] > [ERROR] Try downloading the file manually from the project website. > [ERROR] > [ERROR] Then, install it using the command: > [ERROR] mvn install:install-file -DgroupId=org.quickfixj > -DartifactId=quickfixj-all -Dversion=1.5.2-bd -Dpackaging=jar > -Dfile=/path/to/file > [ERROR] > [ERROR] Alternatively, if you host your own repository you can deploy > the file there: > [ERROR] mvn deploy:deploy-file -DgroupId=org.quickfixj > -DartifactId=quickfixj-all -Dversion=1.5.2-bd -Dpackaging=jar > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > [ERROR] > [ERROR] Path to dependency: > [ERROR] 1) org.apache.camel:apache-camel:pom:2.10-SNAPSHOT > [ERROR] 2) org.apache.camel:camel-quickfix:jar:2.10-SNAPSHOT > [ERROR] 3) org.quickfixj:quickfixj-all:jar:1.5.2-bd > [ERROR] > [ERROR] ---------- > [ERROR] 1 required artifact is missing. > [ERROR] > [ERROR] for artifact: > [ERROR] org.apache.camel:apache-camel:pom:2.10-SNAPSHOT > [ERROR] > [ERROR] from the specified remote repositories: > [ERROR] apache.snapshots (http://repository.apache.org/snapshots/, > releases=false, snapshots=true), > [ERROR] central (http://repo.maven.apache.org/maven2, releases=true, > snapshots=false) > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with > the -e switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <goals> -rf :apache-camel > > > On Wed, Jun 6, 2012 at 3:23 PM, <bvah...@apache.org> wrote: >> Author: bvahdat >> Date: Wed Jun 6 13:23:03 2012 >> New Revision: 1346880 >> >> URL: http://svn.apache.org/viewvc?rev=1346880&view=rev >> Log: >> CAMEL-5334: Upgrade to QuickFIX/J 1.5.2. >> >> Modified: >> camel/trunk/components/camel-quickfix/pom.xml >> >> camel/trunk/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/converter/QuickfixjConverters.java >> >> camel/trunk/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/examples/trading/TradeExecutor.java >> camel/trunk/components/pom.xml >> camel/trunk/parent/pom.xml >> camel/trunk/platforms/karaf/features/pom.xml >> >> Modified: camel/trunk/components/camel-quickfix/pom.xml >> URL: >> http://svn.apache.org/viewvc/camel/trunk/components/camel-quickfix/pom.xml?rev=1346880&r1=1346879&r2=1346880&view=diff >> ============================================================================== >> --- camel/trunk/components/camel-quickfix/pom.xml (original) >> +++ camel/trunk/components/camel-quickfix/pom.xml Wed Jun 6 13:23:03 2012 >> @@ -38,9 +38,9 @@ >> >> <repositories> >> <repository> >> - <id>smx.m2</id> >> - <name>ServiceMix M2 Repository</name> >> - <url>http://svn.apache.org/repos/asf/servicemix/m2-repo</url> >> + <id>marketcetera.m2</id> >> + <name>Marketcetera M2 Repository</name> >> + <url>http://repo.marketcetera.org/maven</url> >> </repository> >> </repositories> >> >> @@ -50,7 +50,7 @@ >> <artifactId>camel-core</artifactId> >> </dependency> >> <dependency> >> - <groupId>org.quickfixj</groupId> >> + <groupId>quickfixj</groupId> >> <artifactId>quickfixj-all</artifactId> >> <version>${quickfix-version}</version> >> </dependency> >> >> Modified: >> camel/trunk/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/converter/QuickfixjConverters.java >> URL: >> http://svn.apache.org/viewvc/camel/trunk/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/converter/QuickfixjConverters.java?rev=1346880&r1=1346879&r2=1346880&view=diff >> ============================================================================== >> --- >> camel/trunk/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/converter/QuickfixjConverters.java >> (original) >> +++ >> camel/trunk/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/converter/QuickfixjConverters.java >> Wed Jun 6 13:23:03 2012 >> @@ -100,15 +100,17 @@ public final class QuickfixjConverters { >> private static DataDictionary getDataDictionary(Exchange exchange) >> throws ConfigError { >> Object dictionaryValue = >> exchange.getProperties().get(QuickfixjEndpoint.DATA_DICTIONARY_KEY); >> >> - DataDictionary dataDictionary; >> + DataDictionary dataDictionary = null; >> if (dictionaryValue instanceof DataDictionary) { >> dataDictionary = (DataDictionary) dictionaryValue; >> } else if (dictionaryValue instanceof String) { >> dataDictionary = new DataDictionary((String) dictionaryValue); >> } else { >> - SessionID sessionID = (SessionID) >> exchange.getIn().getHeader(QuickfixjEndpoint.SESSION_ID_KEY); >> - Session session = Session.lookupSession(sessionID); >> - dataDictionary = session != null ? session.getDataDictionary() >> : null; >> + SessionID sessionID = >> exchange.getIn().getHeader(QuickfixjEndpoint.SESSION_ID_KEY, >> SessionID.class); >> + if (sessionID != null) { >> + Session session = Session.lookupSession(sessionID); >> + dataDictionary = session != null ? >> session.getDataDictionary() : null; >> + } >> } >> >> return dataDictionary; >> >> Modified: >> camel/trunk/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/examples/trading/TradeExecutor.java >> URL: >> http://svn.apache.org/viewvc/camel/trunk/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/examples/trading/TradeExecutor.java?rev=1346880&r1=1346879&r2=1346880&view=diff >> ============================================================================== >> --- >> camel/trunk/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/examples/trading/TradeExecutor.java >> (original) >> +++ >> camel/trunk/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/examples/trading/TradeExecutor.java >> Wed Jun 6 13:23:03 2012 >> @@ -160,7 +160,7 @@ public class TradeExecutor { >> if (order.getChar(OrdType.FIELD) == OrdType.LIMIT) { >> BigDecimal limitPrice = new >> BigDecimal(order.getString(Price.FIELD)); >> char side = order.getChar(Side.FIELD); >> - BigDecimal thePrice = new >> BigDecimal(Double.toString(price.getValue())); >> + BigDecimal thePrice = price.getValue(); >> >> return (side == Side.BUY && thePrice.compareTo(limitPrice) <= 0) >> || ((side == Side.SELL || side == Side.SELL_SHORT) && >> thePrice.compareTo(limitPrice) >= 0); >> >> Modified: camel/trunk/components/pom.xml >> URL: >> http://svn.apache.org/viewvc/camel/trunk/components/pom.xml?rev=1346880&r1=1346879&r2=1346880&view=diff >> ============================================================================== >> --- camel/trunk/components/pom.xml (original) >> +++ camel/trunk/components/pom.xml Wed Jun 6 13:23:03 2012 >> @@ -161,16 +161,4 @@ >> <module>camel-zookeeper</module> >> </modules> >> >> - <profiles> >> - <profile> >> - <id>jdk16</id> >> - <activation> >> - <jdk>1.6</jdk> >> - </activation> >> - <modules> >> - <module>camel-quickfix</module> >> - </modules> >> - </profile> >> - </profiles> >> - >> </project> >> >> Modified: camel/trunk/parent/pom.xml >> URL: >> http://svn.apache.org/viewvc/camel/trunk/parent/pom.xml?rev=1346880&r1=1346879&r2=1346880&view=diff >> ============================================================================== >> --- camel/trunk/parent/pom.xml (original) >> +++ camel/trunk/parent/pom.xml Wed Jun 6 13:23:03 2012 >> @@ -151,7 +151,7 @@ >> <protobuf-version>2.3.0</protobuf-version> >> <qpid-version>0.16</qpid-version> >> <quartz-version>1.8.5</quartz-version> >> - <quickfix-version>1.5.1</quickfix-version> >> + <quickfix-version>1.5.2-bd</quickfix-version> >> <restlet-version>2.0.14</restlet-version> >> <rome-version>1.0</rome-version> >> <saxon-version>9.3.0.11</saxon-version> >> >> Modified: camel/trunk/platforms/karaf/features/pom.xml >> URL: >> http://svn.apache.org/viewvc/camel/trunk/platforms/karaf/features/pom.xml?rev=1346880&r1=1346879&r2=1346880&view=diff >> ============================================================================== >> --- camel/trunk/platforms/karaf/features/pom.xml (original) >> +++ camel/trunk/platforms/karaf/features/pom.xml Wed Jun 6 13:23:03 2012 >> @@ -104,7 +104,7 @@ >> <protobuf-java-bundle-version>2.3.0_3</protobuf-java-bundle-version> >> <quartz-bundle-version>1.8.6_1</quartz-bundle-version> >> <qpid-bundle-version>0.14_1</qpid-bundle-version> >> - <quickfix-bundle-version>1.5.1_2</quickfix-bundle-version> >> + <quickfix-bundle-version>1.5.2_1</quickfix-bundle-version> >> <regexp-bundle-version>1.3_3</regexp-bundle-version> >> <rhino-bundle-version>1.7R2_3</rhino-bundle-version> >> <rome-bundle-version>1.0_3</rome-bundle-version> >> >> > > > > -- > Claus Ibsen > ----------------- > FuseSource > Email: cib...@fusesource.com > Web: http://fusesource.com > Twitter: davsclaus, fusenews > Blog: http://davsclaus.com > Author of Camel in Action: http://www.manning.com/ibsen -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen