|
From: Frederic S. <fr...@jf...> - 2009-03-16 16:20:49
|
---------- Forwarded message ---------- From: Frederic Simon <fr...@jf...> Date: Fri, Mar 13, 2009 at 5:44 PM Subject: Re: pb with jade native plugin repository To: Jul...@or... Cc: yla...@gm..., rem...@or... You need to add<build> <sourceDirectory>src/main/native</sourceDirectory> should do. Bon courage avec Maven :) On Fri, Mar 13, 2009 at 5:21 PM, <Jul...@or...> wrote: > Thank you for your answer. > I have been able to download the plugin from the repository. > > But when i execute mvn clean compile > i have this error and i don't understand why a request for java directory > is present (in a totally C project). > I only have for each module > > <module> > - src > - - main > - - - native > - target > - test > > Julien Rouland > > [INFO] [jade-native:initialize] > [INFO] [jade-native:compile] > [INFO] Creating folder > /home/tests/Dropbox/trunk/upnp-md-c/log/target/obj/liblog-1.0 > [INFO] Creating folder > /home/tests/Dropbox/trunk/upnp-md-c/log/target/obj/liblog-1.0/debug > [INFO] > ------------------------------------------------------------------------ > [ERROR] FATAL ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] basedir /home/tests/Dropbox/trunk/upnp-md-c/log/src/main/java does > not exist > [INFO] > ------------------------------------------------------------------------ > [INFO] Trace > java.lang.IllegalStateException: basedir > /home/tests/Dropbox/trunk/upnp-md-c/log/src/main/java does not exist > at > org.codehaus.plexus.util.DirectoryScanner.scan(DirectoryScanner.java:542) > at > org.codehaus.mojo.natives.NativeSources.getFiles(NativeSources.java:167) > at > org.codehaus.mojo.natives.NativeSources.getAllSourceFiles(NativeSources.java:213) > at > org.jfrog.jade.plugins.natives.plugin.NativeCompileMojo.execute(NativeCompileMojo.java:225) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:453) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:500) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:479) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:292) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:301) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > 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) > > > Quoting Frederic Simon <fr...@jf...>: > > Hi, this is the latest version: >> >> http://repo.jfrog.org:80/artifactory/plugins-releases-local/org/jfrog/jade/plugins/build/jade-native-plugin/1.4-alpha1/ >> >> >> <groupId>org.jfrog.jade.plugins.build</groupId> >> >> <artifactId>jade-native-plugin</artifactId> >> >> <version>1.4-alpha1</version> >> >> repository url: >> http://repo.jfrog.org:80/artifactory/plugins-releases-local >> >> Hope it helps, sorry for low (inexistent) documentation :( >> >> On Fri, Mar 13, 2009 at 4:20 PM, <Jul...@or...> >> wrote: >> >> Hello, >>> I 'm trying to use maven2 to compile my C project. >>> I used maven-native-plugin but it seem that jade-native-plugin is more >>> interessent. >>> >>> I try to use your plugin but i 'm not able to find the good repository. >>> >>> i try with this in my pom parent >>> <repository> >>> <id>jfrog-plugins</id> >>> <name>jfrog-plugins-dist</name> >>> <url>http://www.jfrog.org/artifactory/plugins-releases</url> >>> <snapshots> >>> <enabled>false</enabled> >>> </snapshots> >>> </repository> >>> <pluginRepository> >>> <id>jfrog-plugins</id> >>> <name>jfrog-plugins-dist</name> >>> <url>http://www.jfrog.org/artifactory/plugins-releases</url> >>> <snapshots> >>> <enabled>false</enabled> >>> </snapshots> >>> </pluginRepository> >>> >>> and for compiling these line >>> <groupId>org.jfrog.jade.plugins</groupId> >>> <artifactId>jade-native-plugin</artifactId> >>> <version>1.2</version> >>> <extensions>true</extensions> >>> >>> Could you help me? >>> It is probably not hte best way to ask you directly but i have not found >>> some best place. >>> If you have some advice concerning the version to use (release snapshot) >>> >>> I thank you >>> >>> >>> >>> >> >> -- >> http://www.jfrog.org/ >> http://freddy33.blogspot.com/ >> http://nothingisinfinite.blogspot.com/ >> >> > > -- http://www.jfrog.org/ http://freddy33.blogspot.com/ http://nothingisinfinite.blogspot.com/ -- http://www.jfrog.org/ http://freddy33.blogspot.com/ http://nothingisinfinite.blogspot.com/ |