[
https://jira.codehaus.org/browse/JIBX-457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Don Corley updated JIBX-457:
----------------------------
Attachment: test.zip
Mathias,
Yes, this is a bug. I had written some code that didn't work with windows
pathnames. I fixed it in JIBX-429.
To fix your project, just use the snapshot code for the jibx-maven-plugin. To
do this, change your jibx-maven-plug version to 1.2.4-SNAPSHOT. Also, add these
lines to your pom.xml file:
<pluginRepositories>
<pluginRepository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
I've included a sample project in case this doesn't work.
Thanks for sticking with this!
Close this bug if this works for you.
Don
> default target directory for generated code, target directory doesn't work
> --------------------------------------------------------------------------
>
> Key: JIBX-457
> URL: https://jira.codehaus.org/browse/JIBX-457
> Project: JiBX
> Issue Type: Bug
> Components: maven plugin
> Affects Versions: JiBX 1.2.3
> Environment: Maven 2.2.1, JDK 5 Update 22
> Reporter: Mathias Wiegard
> Assignee: Don Corley
> Fix For: JiBX 1.2.3
>
> Attachments: test.zip
>
>
> the default target directoy for the generated source ist
> target/generated-sources. This isn't conform to the Maven default convention.
> This causes problems e.g. in my Intellij Editor. Could you please change the
> folder to target/generated-sources/jibx, please?
> I also tried a workaround to manually set the target directory by hand:
> <execution>
> <id>generate-java-code-from-schema</id>
> <goals>
> <goal>schema-codegen</goal>
> </goals>
> <configuration>
>
> <targetDirectory>${project.build.directory}/generated-sources/jibx</targetDirectory>
> <options>
>
> <package>com.bmw.swll6.business.vkc.kv.integration.transfer</package>
> </options>
> </configuration>
> </execution>
> This also doesn't work (Jibx says that this folder is not writeable).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs