Mojo
  1. Mojo
  2. MOJO-1738

native2ascii copies the resources in all parent directories

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: native2ascii-1.0-beta-1
    • Component/s: native2ascii
    • Labels:
      None
    • Environment:
      windows Xp pro 32bit, maven bundled with netbeans 7.0.1, native2ascii-maven-plugin 1.0-alpha-1
    • Complexity:
      Intermediate
    • Number of attachments :
      0

      Description

      I'm building a maven project with some localization files.
      I've placed them in src/main/resources/native2ascii/configuration/countries/
      I have configured native2ascii to use that source, and use src/main/resources/configuration/countries/ as dest

      So this is the portion of my pom.xml

      <plugin>
      <groupId>org.codehaus.mojo</groupId>
      <artifactId>native2ascii-maven-plugin</artifactId>
      <version>1.0-alpha-1</version>
      <executions>
      <execution>
      <id>1</id>
      <goals>
      <goal>native2ascii</goal>
      </goals>
      <configuration>
      <encoding>ISO-8859-1</encoding>
      <src>$

      {basedir}/src/main/resources/native2ascii/configuration/countries/</src>
      <dest>${basedir}

      /src/main/resources/configuration/countries/</dest>
      </configuration>
      </execution>
      </executions>
      </plugin>

      In my result .war package, the .properties files that native2ascii handles, are correctly placed in: /WEB-INF/classes/configuration/countries/
      But, they are copied also in other directories: /WEB-INF/classes/countries/ and /WEB-INF/classes/

      This actually should'n happen

        Issue Links

          Activity

          Hide
          Evgeny Mandrikov added a comment -

          Fixed as part of MOJO-1768

          Show
          Evgeny Mandrikov added a comment - Fixed as part of MOJO-1768

            People

            • Assignee:
              Unassigned
              Reporter:
              Nicolò Chieffo
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: