Using 1.0.8 works fine, I never saw a 1.0.9 in my repository so I guess things went straight to 1.0.10.
The whole stacktrace when using 1.0.10 is: [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building smx3.schema [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------ [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. Downloading: http://build.smx.co.nz:8081/nexus/content/groups/public/woodstox/wstx-asl/3.2.7/wstx-asl-3.2.7.pom Downloading: http://build.smx.co.nz:8081/nexus/content/groups/public/woodstox/wstx-asl/3.2.7/wstx-asl-3.2.7.pom [INFO] [compiler:compile] [INFO] Compiling 2 source files to /Users/amrk/IdeaProjects/securemx/smx3.git/module/smx3.schema/target/classes [INFO] [scr:scr {execution: generate-scr-scrdescriptor}] [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] Illegal escape character '.' @[55,115] in file:/Users/amrk/IdeaProjects/securemx/smx3.git/module/smx3.schema/src/main/java/smx3/schema/Domain.java [INFO] ------------------------------------------------------------------------ [INFO] Trace com.thoughtworks.qdox.parser.ParseException: Illegal escape character '.' @[55,115] in file:/Users/amrk/IdeaProjects/securemx/smx3.git/module/smx3.schema/src/main/java/smx3/schema/Domain.java at com.thoughtworks.qdox.parser.impl.Parser.yyerror(Parser.java:992) at com.thoughtworks.qdox.parser.impl.Parser.convertString(Parser.java:1100) at com.thoughtworks.qdox.parser.impl.Parser.toString(Parser.java:1207) at com.thoughtworks.qdox.parser.impl.Parser.yyparse(Parser.java:1776) at com.thoughtworks.qdox.parser.impl.Parser.parse(Parser.java:973) at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:313) at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:333) at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:329) at com.thoughtworks.qdox.JavaDocBuilder$2.visitFile(JavaDocBuilder.java:409) at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:43) at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34) at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34) at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34) at com.thoughtworks.qdox.directorywalker.DirectoryScanner.scan(DirectoryScanner.java:52) at com.thoughtworks.qdox.JavaDocBuilder.addSourceTree(JavaDocBuilder.java:406) at com.thoughtworks.qdox.JavaDocBuilder.addSourceTree(JavaDocBuilder.java:395) at org.apache.felix.scrplugin.tags.JavaClassDescriptorManager.<init>(JavaClassDescriptorManager.java:129) at org.apache.felix.scrplugin.SCRDescriptorMojo.execute(SCRDescriptorMojo.java:106) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:458) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:676) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:538) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:517) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:369) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:330) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181) 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:302) 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) [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7 seconds [INFO] Finished at: Wed Mar 18 21:52:27 NZDT 2009 [INFO] Final Memory: 33M/80M [INFO] ------------------------------------------------------------------------ The line in question for this trace was: @Pattern(message = "{domainName.invalid}", regex = "^([A-Za-z0-9]([-A-Za-z0-9]*[A-Za-z0-9])*\\.)+[A-Za-z]{2,}$") It doesn't seem to like the \\ in the regex. On Wed, Mar 18, 2009 at 8:13 PM, Carsten Ziegeler <[email protected]> wrote: > Mark Derricutt wrote: >> I noticed the other day 1.0.10 of the maven-scr-plugin was released, >> since using this plugin we're seeing illegal escape character problems >> when compiling our bundles. >> > Hi, > > we're using this version without any problems. Does it work for you with > an older version? Can you show the complete stack trace? > > Regards > Carsten > >> [ERROR] FATAL ERROR >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Illegal escape character '.' @[23,109] in >> file:/home/amrk/IdeaProjects/securemx/smx3/module/smx3.schema/src/main/java/smx3/schema/IpAddress.java >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Trace >> >> I found http://markmail.org/message/t6i3upjd4wcq7n2w?q=maven+scr+qdox >> which points to a similar issue with qdox, that 1.0.10 was supposed to >> fix, but seems to bring out other problems. Anyone else seeing this? >> >> >> ...and then Buffy staked Edward. The End. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > > -- > Carsten Ziegeler > [email protected] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

