[ 
https://jira.codehaus.org/browse/MJS-6?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christopher Hunt updated MJS-6:
-------------------------------

        Fix Version/s:     (was: Short Term)
                       1.0
             Assignee: Tim Astle
    Affects Version/s: 1.0
    
> Package phase includes old package artifact for javascript-type projects
> ------------------------------------------------------------------------
>
>                 Key: MJS-6
>                 URL: https://jira.codehaus.org/browse/MJS-6
>             Project: Maven Javascript Tools
>          Issue Type: Bug
>    Affects Versions: 1.0
>         Environment: Maven 2.0.7 on Windows XP
>            Reporter: Joshua Suereth
>            Assignee: Tim Astle
>             Fix For: 1.0
>
>
> I've created a new maven project with the type "javascript".   This project 
> has a src/main/javascript folder and a src/test/javascript folder containing 
> javascript source code.   When building, if a clean is not performed, the 
> package phase attempts to include the already existing javascript jar file.  
> (i.e. run mvn package && mvn package)
> Here's my pom.xml
> ------------------------------
> <project xmlns="http://maven.apache.org/POM/4.0.0";
>       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
> http://maven.apache.org/maven-v4_0_0.xsd";>
>       <modelVersion>4.0.0</modelVersion>
>       <groupId>test</groupId>
>       <artifactId>test</artifactId>
>       <packaging>javascript</packaging>
>       <version>1.0</version>
>       <name>Testing JS Package</name>
>       <description>
>                Making sure things work correctly.
>       </description>
>    <build>     
>       <plugins>
>          <plugin>
>             <groupId>org.codehaus.mojo</groupId>
>             <artifactId>javascript-maven-plugin</artifactId>
>             <version>1.0-alpha-1-SNAPSHOT</version>
>             <extensions>true</extensions>
>             <configuration>
>                <sourceDirectoy>src/main/javascript</sourceDirectoy>
>                <testSourceDirectory>src/test/javascript</testSourceDirectory>
>                <outputDirectory>target/scripts</outputDirectory>
>                <testOutputDirectory>target/test-scripts</testOutputDirectory>
>             </configuration>
>          </plugin>
>       </plugins>
>    </build>
>    <!-- Internal Repository Settings -->
>    <repositories>
>       <repository>
>          <id>Codehaus Snapshots</id>
>          <url>http://snapshots.repository.codehaus.org/</url>
>          <snapshots>
>             <enabled>true</enabled>
>          </snapshots>
>          <releases>
>             <enabled>false</enabled>
>          </releases>
>       </repository>
>    </repositories>
>    <pluginRepositories>
>       <!-- Javascript plugin is not released yet... -->
>       <pluginRepository>
>          <id>Codehaus Snapshots</id>
>          <url>http://snapshots.repository.codehaus.org/</url>
>          <snapshots>
>             <enabled>true</enabled>
>          </snapshots>
>          <releases>
>             <enabled>false</enabled>
>          </releases>
>       </pluginRepository>
>       <pluginRepository>
>          <id>Codehaus Snapshots</id>
>          <url>http://repository.codehaus.org/</url>
>          <snapshots>
>             <enabled>false</enabled>
>          </snapshots>
>          <releases>
>             <enabled>true</enabled>
>          </releases>
>       </pluginRepository>
>    </pluginRepositories>      
> </project>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to