Sorry, this solution only works when run the build in java\das, when try run the build on the java\ the message now is:
"[INFO] snapshot org.apache.tuscany.das:tuscany-das-rdb:1.0-incubator-SNAPSHOT: checking for updates from apache.snapshots [INFO] snapshot org.apache.tuscany.das:tuscany-das-rdb:1.0-incubator-SNAPSHOT: checking for updates from apache.ws.m1.snapshots Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/tuscany/das/tuscany-das-rdb/1.0-incubator-SNAPSHOT/tuscany-das-rdb-1.0-incubator-20 070412.081957-1.jar 189K downloaded [INFO] snapshot org.apache.tuscany.das.samples:sample-companyweb:1.0-incubator-S NAPSHOT: checking for updates from apache.snapshots [INFO] snapshot org.apache.tuscany.das.samples:sample-companyweb:1.0-incubator-S NAPSHOT: checking for updates from apache.ws.m1.snapshots Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/tuscany/das/samples/sample-companyweb/1.0-incubator-SNAPSHOT/sample-companyweb-1.0- incubator-SNAPSHOT.war Downloading: http://ws.zones.apache.org/repository/org.apache.tuscany.das.samples/wars/sample-companyweb-1.0-incubator-SNAPSHOT.war [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) org.apache.tuscany.das.samples:sample-companyweb:war:1.0-incubator-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.tuscany.das.samples-Dartifa ctId=sample-companyweb \ -Dversion=1.0-incubator-SNAPSHOT -Dpackaging=war -Dfile=/path/to/file Path to dependency: 1) org.apache.tuscany.das:das-samples:pom:1.0-incubator-SNAPSHOT 2) org.apache.tuscany.das.samples:sample-companyweb:war:1.0-incubator-SNAPSHOT ---------- 1 required artifact is missing. for artifact: org.apache.tuscany.das:das-samples:pom:1.0-incubator-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2), apache.incubator (http://people.apache.org/repo/m2-incubating-repository/ ), apache.ws.m1.snapshots (http://ws.zones.apache.org/repository), apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository)" 2007/4/12, Paulo Henrique Trecenti <[EMAIL PROTECTED]>:
Ok I'm make a clean in DAS, remove the jars from the maven repository and build from the java and then it's works fine. 2007/4/12, Luciano Resende < [EMAIL PROTECTED]>: > > Great > > With your proposed changes, if you go to your local m2 repo and > remove > the das part of it [1] and then go to /java and try to build, does it > work > for you ? Or you still have to go to inside java/das to make it working > ? > > [1] - \.m2\repository\org\apache\tuscany\das > > On 4/12/07, Paulo Henrique Trecenti < [EMAIL PROTECTED]> wrote: > > > > It's works put this in the das\rdb\pom.xml > > > > ... > > <plugin> > > <groupId>org.apache.maven.plugins </groupId> > > <artifactId>maven-surefire-plugin</artifactId> > > <!-- this is the modification --> > > <version>2.3</version> > > > > <configuration> > > <includes> > > <include>**/*AllTestsDerby.java</include> > > </includes> > > </configuration> > > </plugin> > > > > > > 2007/4/11, Paulo Henrique Trecenti <[EMAIL PROTECTED]>: > > > > > > Inside java/das I first run mvn clean then I run mvn and the message > is: > > > > > > "[INFO] [surefire:test] > > > [INFO] Surefire report directory: > > > C:\Ambiente\lib\tuscany\java\das\rdb\target\su > > > refire-reports > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [ERROR] FATAL ERROR > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] null > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] Trace > > > java.lang.IllegalArgumentException > > > at java.lang.ProcessImpl.<init>(ProcessImpl.java:69) > > > at java.lang.ProcessImpl.start(ProcessImpl.java :30) > > > at java.lang.ProcessBuilder.start(ProcessBuilder.java :451) > > > at java.lang.Runtime.exec(Runtime.java:591) > > > at org.codehaus.plexus.util.cli.Commandline.execute ( > > > Commandline.java:653 > > > ) > > > at > > > org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(Comm > > > andLineUtils.java:102) > > > at > > > org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine > (Comm > > > andLineUtils.java:89) > > > at org.apache.maven.surefire.booter.SurefireBooter.fork( > > > SurefireBooter.j > > > ava:554) > > > at > org.apache.maven.surefire.booter.SurefireBooter.forkSuites > > > (SurefireBo > > > oter.java:413) > > > at > > > org.apache.maven.surefire.booter.SurefireBooter.runSuitesForkOnce(Sur > > > efireBooter.java:313) > > > at org.apache.maven.surefire.booter.SurefireBooter.run( > > > SurefireBooter.ja > > > va:203) > > > at org.apache.maven.plugin.surefire.SurefirePlugin.execute > > > (SurefirePlugi > > > n.java:398) > > > at org.apache.maven.plugin.DefaultPluginManager.executeMojo > > (DefaultPlugi > > > nManager.java:443) > > > at > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals > (Defa > > > ultLifecycleExecutor.java:539) > > > at > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi > > > fecycle(DefaultLifecycleExecutor.java:480) > > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal > > > (Defau > > > ltLifecycleExecutor.java:459) > > > at > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan > > > dleFailures(DefaultLifecycleExecutor.java:311) > > > at > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen > > > ts(DefaultLifecycleExecutor.java:278) > > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute > > (DefaultLi > > > fecycleExecutor.java:143) > > > at org.apache.maven.DefaultMaven.doExecute ( > DefaultMaven.java > > :334) > > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java > :125) > > > at org.apache.maven.cli.MavenCli.main (MavenCli.java:272) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > > > at sun.reflect.NativeMethodAccessorImpl.invoke > > > (NativeMethodAccessorImpl. > > > java:39) > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke > > (DelegatingMethodAcces > > > sorImpl.java:25) > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > at org.codehaus.classworlds.Launcher.launchEnhanced( > > Launcher.java > > > :315) > > > at org.codehaus.classworlds.Launcher.launch (Launcher.java > :255) > > > at org.codehaus.classworlds.Launcher.mainWithExitCode( > > > Launcher.java:430) > > > > > > at org.codehaus.classworlds.Launcher.main(Launcher.java > :375)" > > > > > > 2007/4/11, Luciano Resende <[EMAIL PROTECTED]>: > > > > > > > > I'm still investigating this problem, it goes away if you actually > > build > > > > from inside java/das, then everything goes back to normal. > > > > > > > > On 4/11/07, Paulo Henrique Trecenti < [EMAIL PROTECTED]> wrote: > > > > > > > > > > Hello, > > > > > > > > > > I try build the last version of tuscany java and I have the > message > > on > > > > the > > > > > build processing. I knot solve that: > > > > > > > > > > "Downloading: > > > > > > http://ws.zones.apache.org/repository/org.apache.tuscany.das/jars/t > > > > > uscany-das-rdb-1.0-incubator-SNAPSHOT.jar > > > > > [INFO] > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > [ERROR] BUILD ERROR > > > > > [INFO] > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > [INFO] Failed to resolve artifact. > > > > > > > > > > Missing: > > > > > ---------- > > > > > 1) > org.apache.tuscany.das:tuscany-das-rdb:jar:1.0-incubator-SNAPSHOT > > > > > > > > > > Try downloading the file manually from the project website. > > > > > > > > > > Then, install it using the command: > > > > > mvn install:install-file -DgroupId= > > > > > org.apache.tuscany.das-DartifactId=tus > > > > > cany-das-rdb \ > > > > > -Dversion=1.0-incubator-SNAPSHOT -Dpackaging=jar > > > > > -Dfile=/path/to/file > > > > > > > > > > Path to dependency: > > > > > 1) > > > > > > > org.apache.tuscany.das.samples:sample-companyweb:war:1.0-incubator-SN > > > > > APSHOT > > > > > 2) > > > > > > org.apache.tuscany.das:tuscany-das-rdb:jar:1.0-incubator-SNAPSHOT > > > > > > > > > > ---------- > > > > > 1 required artifact is missing. > > > > > > > > > > for artifact: > > > > > > > > > > > > > > > > > > > > > > org.apache.tuscany.das.samples:sample-companyweb:war:1.0-incubator-SNAPSHOT > > > > > > > > > > from the specified remote repositories: > > > > > central ( http://repo1.maven.org/maven2), > > > > > apache.incubator ( > > > > > http://people.apache.org/repo/m2-incubating-repository/ > > > > > ), > > > > > apache.ws.m1.snapshots (http://ws.zones.apache.org/repository > ), > > > > > apache.snapshots ( > > http://people.apache.org/repo/m2-snapshot-repository > > > > )" > > > > > > > > > > -- > > > > > Paulo Henrique Trecenti > > > > > > > > > > Sorry about the bad English. > > > > > > > > > > > > > > > > > > > > > -- > > > > Luciano Resende > > > > http://people.apache.org/~lresende<http://people.apache.org/%7Elresende> > < > > http://people.apache.org/%7Elresende> > > > > > > > > > > > > > > > > -- > > > Paulo Henrique Trecenti > > > > > > > > > > -- > > Paulo Henrique Trecenti > > > > > > -- > Luciano Resende > http://people.apache.org/~lresende<http://people.apache.org/%7Elresende> > -- Paulo Henrique Trecenti
-- Paulo Henrique Trecenti
