incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Strässer (JIRA) <j...@apache.org>
Subject [jira] Created: (CLEREZZA-89) org.apache.clerezza.maven-ontologies-plugin problems with java folder on windows
Date Tue, 26 Jan 2010 09:00:35 GMT
org.apache.clerezza.maven-ontologies-plugin problems with java folder on windows
--------------------------------------------------------------------------------

                 Key: CLEREZZA-89
                 URL: https://issues.apache.org/jira/browse/CLEREZZA-89
             Project: Clerezza
          Issue Type: Bug
            Reporter: Oliver Strässer


The maven plugin linked the generated source to the parent folder of the java folder
example: 
my rdf file is located in fthe folder: src\main\resources\net\getunik\app\gpn\ontologies
and the generated class is in the folder: target\generated-sources\main\java\net\getunik\app\gpn\ontologies

the linked package in netbeans is named: java.net.getunik.app.gpn.ontologies , and that causes
a problem of the package declaration in the java class

my plugin configuration: 


            <plugin>
                <groupId>org.apache.clerezza</groupId>
                <artifactId>org.apache.clerezza.maven-ontologies-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>generate-sources</phase>
                        <configuration>
                            <resourcePath>${basedir}/src/main/resources</resourcePath>
                            <sources>
                                <source>${basedir}/target/generated-sources/main/java/</source>
                            </sources>
                        </configuration>
                        <goals>
                            <goal>generate</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>


i tried 
<source>${basedir}/target/generated-sources/main/java</source>

and 

<source>${basedir}/target/generated-sources/main/</source>

too


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message